Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.000966/0.000966, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.00105/0.00105, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.035/1.035, allocations: 143.3 MB / 434.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003214/0.0003214, allocations: 12 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1626, allocations: 83.42 MB / 0.5974 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.002933/0.1655, allocations: 2.458 MB / 0.5998 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003311/0.1659, allocations: 335.2 kB / 0.6001 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.007e-05/0.1659, allocations: 4 kB / 0.6001 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.881e-05/0.166, allocations: 3.938 kB / 0.6001 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.519e-05/0.1661, allocations: 3.984 kB / 0.6001 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/0.1665, allocations: 147.5 kB / 0.6002 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.329e-05/0.1665, allocations: 19.97 kB / 0.6002 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.625e-05/0.1666, allocations: 8 kB / 0.6003 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.233e-05/0.1666, allocations: 11.98 kB / 0.6003 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.757e-05/0.1667, allocations: 15.92 kB / 0.6003 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.1667, allocations: 0 / 0.6003 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002544/0.167, allocations: 95.81 kB / 0.6004 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.376e-05/0.167, allocations: 11.98 kB / 0.6004 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.167, allocations: 25.7 kB / 0.6004 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.1672, allocations: 64.16 kB / 0.6005 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1672, allocations: 0 / 0.6005 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.774e-06/0.1672, allocations: 4 kB / 0.6005 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.1672, allocations: 0 / 0.6005 GB, free: 4.578 MB / 0.4981 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.0003182/0.1676, allocations: 331.4 kB / 0.6008 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.1676, allocations: 8.031 kB / 0.6008 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.053e-05/0.1676, allocations: 42.56 kB / 0.6008 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.1677, allocations: 7.859 kB / 0.6008 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.1678, allocations: 167 kB / 0.601 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.198e-05/0.1678, allocations: 29.7 kB / 0.601 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.1679, allocations: 0 / 0.601 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.168, allocations: 45.67 kB / 0.6011 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.168, allocations: 0 / 0.6011 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.168, allocations: 3.938 kB / 0.6011 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/0.168, allocations: 15.94 kB / 0.6011 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.903e-05/0.1681, allocations: 8 kB / 0.6011 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005449/0.1686, allocations: 0.5677 MB / 0.6017 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.773e-05/0.1687, allocations: 26.52 kB / 0.6017 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001935/0.1689, allocations: 340.4 kB / 0.602 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.1689, allocations: 30.56 kB / 0.602 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1689, allocations: 0 / 0.602 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001333/0.1691, allocations: 37.66 kB / 0.6021 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.1691, allocations: 55.34 kB / 0.6021 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.107e-05/0.1692, allocations: 101.8 kB / 0.6022 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1692, allocations: 29.7 kB / 0.6023 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.1693, allocations: 88.17 kB / 0.6023 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.145e-06/0.1693, allocations: 7.906 kB / 0.6023 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.1693, allocations: 0 / 0.6023 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.929e-05/0.1694, allocations: 314.8 kB / 0.6026 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/0.1694, allocations: 4 kB / 0.6026 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.108e-05/0.1694, allocations: 13.72 kB / 0.6027 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.931e-05/0.1694, allocations: 8 kB / 0.6027 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1695, allocations: 4 kB / 0.6027 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.249e-05/0.1695, allocations: 49.62 kB / 0.6027 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1696, allocations: 4 kB / 0.6027 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1696, allocations: 4 kB / 0.6027 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1696, allocations: 3.953 kB / 0.6027 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.498e-05/0.1696, allocations: 7.984 kB / 0.6027 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.1696, allocations: 0 / 0.6027 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.226e-05/0.1697, allocations: 7.938 kB / 0.6027 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.1697, allocations: 0 / 0.6027 GB, free: 1.867 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.321e-05/0.1698, allocations: 109.9 kB / 0.6029 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.1698, allocations: 4 kB / 0.6029 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.1699, allocations: 124.9 kB / 0.603 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.398e-05/0.17, allocations: 184.2 kB / 0.6032 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.041e-05/0.17, allocations: 180.2 kB / 0.6033 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.101e-05/0.1701, allocations: 180.3 kB / 0.6035 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.1703, allocations: 405.2 kB / 0.6039 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.271e-05/0.1703, allocations: 104.9 kB / 0.604 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.266e-05/0.1703, allocations: 112.9 kB / 0.6041 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.474e-05/0.1704, allocations: 180.2 kB / 0.6043 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.196e-05/0.1705, allocations: 176.3 kB / 0.6044 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3166/0.487, allocations: 181.3 kB / 0.6046 GB, free: 41.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.022e-05/0.4872, allocations: 183.8 kB / 0.6048 GB, free: 41.03 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.4873, allocations: 307.6 kB / 0.6051 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.522e-05/0.4874, allocations: 184.4 kB / 0.6052 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.571e-05/0.4875, allocations: 183.5 kB / 0.6054 GB, free: 40.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.4877, allocations: 111 kB / 0.6055 GB, free: 40.24 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.4877, allocations: 186 kB / 0.6057 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.4878, allocations: 103.9 kB / 0.6058 GB, free: 39.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.07e-05/0.4879, allocations: 85.75 kB / 0.6059 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4879, allocations: 0 / 0.6059 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003877/0.4883, allocations: 31.48 kB / 0.6059 GB, free: 39.88 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004812/0.4887, allocations: 0.8685 MB / 0.6068 GB, free: 39.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.951e-05/0.4888, allocations: 11.64 kB / 0.6068 GB, free: 39.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4889, allocations: 1.062 kB / 0.6068 GB, free: 39.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.4889, allocations: 0 / 0.6068 GB, free: 39.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.4892, allocations: 0.525 MB / 0.6073 GB, free: 38.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00043/0.4896, allocations: 232.5 kB / 0.6075 GB, free: 38.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.4898, allocations: 0.6804 MB / 0.6082 GB, free: 37.65 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.696e-05/0.4898, allocations: 10.22 kB / 0.6082 GB, free: 37.65 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.4899, allocations: 10.84 kB / 0.6082 GB, free: 37.64 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.4899, allocations: 0 / 0.6082 GB, free: 37.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01287/0.5028, allocations: 1.936 MB / 0.6101 GB, free: 37.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/0.503, allocations: 241.7 kB / 0.6103 GB, free: 37.22 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.191, allocations: 2.75 kB / 0.6103 GB, free: 37.22 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: