Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.007325/0.007325, allocations: 102.1 kB / 15.73 MB, free: 6.062 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.001694/0.001695, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.58/1.58, 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.9167/0.9167, allocations: 143.3 MB / 433.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 71.8 kB / 0.5953 GB, free: 12.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1637, allocations: 82.04 MB / 0.6754 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005721/0.1694, allocations: 3.728 MB / 0.679 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002135/0.1697, allocations: 151.5 kB / 0.6792 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.002e-05/0.1697, allocations: 0 / 0.6792 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.096e-05/0.1698, allocations: 3.938 kB / 0.6792 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.841e-05/0.1699, allocations: 11.92 kB / 0.6792 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.1703, allocations: 87.75 kB / 0.6793 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.1704, allocations: 31.84 kB / 0.6793 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.228e-05/0.1704, allocations: 7.938 kB / 0.6793 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.396e-05/0.1705, allocations: 23.91 kB / 0.6793 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.331e-05/0.1705, allocations: 7.984 kB / 0.6793 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.1706, allocations: 4 kB / 0.6794 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005568/0.1711, allocations: 187.4 kB / 0.6795 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.468e-05/0.1712, allocations: 11.98 kB / 0.6795 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.409e-05/0.1712, allocations: 11.94 kB / 0.6796 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.1714, allocations: 44.11 kB / 0.6796 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1714, allocations: 4 kB / 0.6796 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1714, allocations: 0 / 0.6796 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.1714, allocations: 0 / 0.6796 GB, free: 6.293 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.000399/0.1718, allocations: 335.4 kB / 0.6799 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.1718, allocations: 8.031 kB / 0.6799 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.761e-05/0.1719, allocations: 30.75 kB / 0.68 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.1719, allocations: 4.938 kB / 0.68 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.1721, allocations: 172.4 kB / 0.6801 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-05/0.1721, allocations: 26.27 kB / 0.6802 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.1721, allocations: 8.125 kB / 0.6802 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.1723, allocations: 41.69 kB / 0.6802 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1723, allocations: 3.938 kB / 0.6802 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.1723, allocations: 0 / 0.6802 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.1723, allocations: 0 / 0.6802 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.648e-05/0.1724, allocations: 19.98 kB / 0.6802 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004486/0.1728, allocations: 345.9 kB / 0.6806 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.533e-05/0.1729, allocations: 14.58 kB / 0.6806 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.433e-05/0.1729, allocations: 4.859 kB / 0.6806 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.603e-05/0.173, allocations: 89.16 kB / 0.6807 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.1731, allocations: 34.5 kB / 0.6807 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.1731, allocations: 0 / 0.6807 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001411/0.1732, allocations: 45.66 kB / 0.6807 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.1733, allocations: 51.41 kB / 0.6808 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.277e-05/0.1733, allocations: 101.8 kB / 0.6809 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1734, allocations: 25.7 kB / 0.6809 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/0.1734, allocations: 88.09 kB / 0.681 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.698e-06/0.1734, allocations: 0 / 0.681 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.1735, allocations: 21.7 kB / 0.681 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1736, allocations: 318.9 kB / 0.6813 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.559e-05/0.1736, allocations: 4 kB / 0.6813 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.9e-05/0.1737, allocations: 17.66 kB / 0.6813 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.677e-05/0.1737, allocations: 25.64 kB / 0.6814 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1737, allocations: 0 / 0.6814 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.859e-05/0.1738, allocations: 53.59 kB / 0.6814 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1738, allocations: 12.05 kB / 0.6814 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1738, allocations: 3.938 kB / 0.6814 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.1739, allocations: 4 kB / 0.6814 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.407e-05/0.1739, allocations: 8 kB / 0.6814 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1739, allocations: 0 / 0.6814 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.785e-05/0.1739, allocations: 0 / 0.6814 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.174, allocations: 0 / 0.6814 GB, free: 4.129 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 7.241e-05/0.174, allocations: 113.8 kB / 0.6815 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.1741, allocations: 0 / 0.6815 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.1742, allocations: 135.9 kB / 0.6817 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.37e-05/0.1743, allocations: 176.3 kB / 0.6818 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.371e-05/0.1744, allocations: 184.2 kB / 0.682 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.18e-05/0.1744, allocations: 176.3 kB / 0.6822 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.1747, allocations: 409.2 kB / 0.6826 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-05/0.1748, allocations: 112.9 kB / 0.6827 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.659e-05/0.1748, allocations: 101 kB / 0.6828 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-05/0.1749, allocations: 184.2 kB / 0.683 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.3e-05/0.175, allocations: 180.5 kB / 0.6831 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.187e-05/0.175, allocations: 176.3 kB / 0.6833 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-05/0.1751, allocations: 188.2 kB / 0.6835 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.1753, allocations: 307.7 kB / 0.6838 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.1754, allocations: 182.1 kB / 0.6839 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.105e-05/0.1755, allocations: 188.2 kB / 0.6841 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.1757, allocations: 108.9 kB / 0.6842 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.965e-05/0.1757, allocations: 184.3 kB / 0.6844 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.928e-05/0.1758, allocations: 108.9 kB / 0.6845 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.354e-05/0.1759, allocations: 83.27 kB / 0.6846 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1759, allocations: 0 / 0.6846 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002513/0.1761, allocations: 19.88 kB / 0.6846 GB, free: 0.6641 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 (0): * Single equations (assignments): 0 * 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.0005727/0.1767, allocations: 0.8282 MB / 0.6854 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.66e-05/0.1768, allocations: 19.92 kB / 0.6854 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1768, allocations: 3.938 kB / 0.6854 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.1768, allocations: 0 / 0.6854 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.1772, allocations: 459.8 kB / 0.6859 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.1783, allocations: 1.321 MB / 0.6872 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.1786, allocations: 0.6768 MB / 0.6878 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.24e-05/0.1786, allocations: 11.86 kB / 0.6878 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.1786, allocations: 15.38 kB / 0.6878 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of SimCode: time 2.4e-07/0.1787, allocations: 3.938 kB / 0.6879 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.2006, allocations: 1.53 MB / 0.6893 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.687/7.887, allocations: 9.172 kB / 0.6894 GB, free: 11.81 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)