Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005198/0.005198, allocations: 101 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 193.9 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9148/0.9148, allocations: 143.3 MB / 433.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002535/0.002535, allocations: 64.22 kB / 0.5953 GB, free: 12.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1726, allocations: 82.04 MB / 0.6754 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.002531/0.1751, allocations: 1.433 MB / 0.6768 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002846/0.1755, allocations: 96.58 kB / 0.6769 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.442e-05/0.1755, allocations: 0 / 0.6769 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.96e-05/0.1755, allocations: 0 / 0.6769 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.131e-05/0.1756, allocations: 3.938 kB / 0.6769 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.1758, allocations: 27.91 kB / 0.6769 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.782e-05/0.1759, allocations: 27.92 kB / 0.677 GB, free: 9 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.771e-05/0.176, allocations: 4 kB / 0.677 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.642e-05/0.1761, allocations: 7.984 kB / 0.677 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.361e-05/0.1761, allocations: 11.92 kB / 0.677 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.1761, allocations: 7.938 kB / 0.677 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.833e-05/0.1762, allocations: 12 kB / 0.677 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.1762, allocations: 7.984 kB / 0.677 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.1763, allocations: 11.94 kB / 0.677 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.1764, allocations: 40.09 kB / 0.6771 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1764, allocations: 4 kB / 0.6771 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1764, allocations: 0 / 0.6771 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.1764, allocations: 0 / 0.6771 GB, free: 8.895 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004783/0.1769, allocations: 343.4 kB / 0.6774 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.1769, allocations: 8.031 kB / 0.6774 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.954e-05/0.177, allocations: 34.75 kB / 0.6774 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.1771, allocations: 12.88 kB / 0.6775 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.1773, allocations: 176.3 kB / 0.6776 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.1773, allocations: 4.375 kB / 0.6776 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.1773, allocations: 384 / 0.6776 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.1775, allocations: 62.22 kB / 0.6777 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1775, allocations: 7.875 kB / 0.6777 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.1776, allocations: 3.938 kB / 0.6777 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1776, allocations: 4 kB / 0.6777 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002269/0.1778, allocations: 47.94 kB / 0.6777 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000394/0.1782, allocations: 261 kB / 0.678 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.1784, allocations: 50.48 kB / 0.678 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.1785, allocations: 28.89 kB / 0.6781 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.1785, allocations: 4 kB / 0.6781 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.1786, allocations: 38.5 kB / 0.6781 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1786, allocations: 0 / 0.6781 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0004319/0.179, allocations: 101.6 kB / 0.6782 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.1791, allocations: 55.41 kB / 0.6783 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.934e-05/0.1792, allocations: 106 kB / 0.6784 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.1792, allocations: 29.7 kB / 0.6784 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/0.1793, allocations: 84.14 kB / 0.6785 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.1793, allocations: 7.938 kB / 0.6785 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.1793, allocations: 13.72 kB / 0.6785 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1795, allocations: 314.8 kB / 0.6788 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.1796, allocations: 23.97 kB / 0.6788 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.1797, allocations: 23.98 kB / 0.6788 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.1799, allocations: 52.75 kB / 0.6789 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1799, allocations: 3.938 kB / 0.6789 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000254/0.1802, allocations: 85.7 kB / 0.679 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1802, allocations: 6.188 kB / 0.679 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1802, allocations: 0 / 0.679 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1802, allocations: 0 / 0.679 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.1804, allocations: 11.98 kB / 0.679 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.299e-06/0.1804, allocations: 0 / 0.679 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.915e-05/0.1804, allocations: 15.92 kB / 0.679 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.1805, allocations: 0 / 0.679 GB, free: 6.68 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.287e-05/0.1805, allocations: 117.8 kB / 0.6791 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.1806, allocations: 7.953 kB / 0.6791 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.1806, allocations: 7.469 kB / 0.6791 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1806, allocations: 0 / 0.6791 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1806, allocations: 0 / 0.6791 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.974e-06/0.1806, allocations: 3.984 kB / 0.6791 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.1808, allocations: 173.5 kB / 0.6793 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.1808, allocations: 0 / 0.6793 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.989e-05/0.1809, allocations: 15.92 kB / 0.6793 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1809, allocations: 256 / 0.6793 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.1809, allocations: 4 kB / 0.6793 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.1809, allocations: 4 kB / 0.6793 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.181, allocations: 0 / 0.6793 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.1813, allocations: 175.4 kB / 0.6795 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.1813, allocations: 77.11 kB / 0.6796 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.1813, allocations: 8.031 kB / 0.6796 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.18e-05/0.1814, allocations: 7.984 kB / 0.6796 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.1815, allocations: 4 kB / 0.6796 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.1815, allocations: 0 / 0.6796 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.406e-05/0.1816, allocations: 87.22 kB / 0.6797 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1816, allocations: 0 / 0.6797 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002162/0.1818, allocations: 4 kB / 0.6797 GB, free: 5.902 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006377/0.1824, allocations: 0.7124 MB / 0.6804 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002761/0.1827, allocations: 51.94 kB / 0.6804 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1827, allocations: 4.094 kB / 0.6804 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.1828, allocations: 27.92 kB / 0.6805 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.1831, allocations: 7.984 kB / 0.6805 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004959/0.1836, allocations: 151.1 kB / 0.6806 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.184, allocations: 0.6807 MB / 0.6813 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.323e-05/0.184, allocations: 4.062 kB / 0.6813 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/0.1841, allocations: 7.438 kB / 0.6813 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1841, allocations: 0 / 0.6813 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.2065, allocations: 1.461 MB / 0.6827 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.065/8.271, allocations: 12.06 kB / 0.6827 GB, free: 2.789 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)