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.0007605/0.0007645, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.0008971/0.0008972, allocations: 168.7 kB / 15.95 MB, free: 204 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.341/1.341, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.005/1.005, allocations: 143.4 MB / 434.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.0003211, allocations: 8 kB / 0.5161 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1564, allocations: 83.41 MB / 0.5975 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003068/0.1595, allocations: 2.891 MB / 0.6004 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 7.958e-05/0.1596, allocations: 51.88 kB / 0.6004 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.923e-05/0.1596, allocations: 0 / 0.6004 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.336e-05/0.1597, allocations: 0 / 0.6004 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.245e-05/0.1598, allocations: 19.91 kB / 0.6004 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.1601, allocations: 139.3 kB / 0.6006 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.139e-05/0.1602, allocations: 43.84 kB / 0.6006 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.842e-05/0.1603, allocations: 3.984 kB / 0.6006 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.099e-05/0.1603, allocations: 11.98 kB / 0.6006 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.747e-05/0.1604, allocations: 19.92 kB / 0.6006 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.1604, allocations: 0 / 0.6006 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002251/0.1606, allocations: 91.73 kB / 0.6007 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.291e-05/0.1606, allocations: 3.984 kB / 0.6007 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.1607, allocations: 33.7 kB / 0.6008 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.1608, allocations: 60.16 kB / 0.6008 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1608, allocations: 4 kB / 0.6008 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1608, allocations: 0 / 0.6008 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.1609, allocations: 0 / 0.6008 GB, free: 4.324 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.0003983/0.1613, allocations: 339.3 kB / 0.6011 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1613, allocations: 8.031 kB / 0.6012 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.113e-05/0.1614, allocations: 34.5 kB / 0.6012 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.1614, allocations: 11.86 kB / 0.6012 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.1615, allocations: 163.1 kB / 0.6014 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.658e-05/0.1616, allocations: 29.7 kB / 0.6014 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.1616, allocations: 4 kB / 0.6014 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.1617, allocations: 41.67 kB / 0.6014 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.1618, allocations: 0 / 0.6014 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1618, allocations: 3.984 kB / 0.6014 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/0.1618, allocations: 0 / 0.6014 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.645e-05/0.1618, allocations: 23.94 kB / 0.6015 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006538/0.1625, allocations: 0.5872 MB / 0.602 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.868e-05/0.1626, allocations: 18.58 kB / 0.602 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.343e-05/0.1626, allocations: 4.859 kB / 0.602 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002509/0.1628, allocations: 340.5 kB / 0.6024 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.1629, allocations: 38.56 kB / 0.6024 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1629, allocations: 0 / 0.6024 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001347/0.163, allocations: 49.52 kB / 0.6025 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.1631, allocations: 51.41 kB / 0.6025 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.719e-05/0.1631, allocations: 101.9 kB / 0.6026 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.1632, allocations: 25.7 kB / 0.6026 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.253e-05/0.1632, allocations: 88.03 kB / 0.6027 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.801e-06/0.1632, allocations: 3.906 kB / 0.6027 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-06/0.1632, allocations: 0 / 0.6027 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.066e-05/0.1633, allocations: 318.8 kB / 0.603 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.1633, allocations: 4.125 kB / 0.603 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.202e-05/0.1634, allocations: 21.64 kB / 0.603 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.962e-05/0.1634, allocations: 8 kB / 0.603 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1634, allocations: 0 / 0.603 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.793e-05/0.1635, allocations: 49.62 kB / 0.6031 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.1635, allocations: 6.188 kB / 0.6031 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1635, allocations: 0 / 0.6031 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1635, allocations: 3.953 kB / 0.6031 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.843e-05/0.1636, allocations: 8.062 kB / 0.6031 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1636, allocations: 4 kB / 0.6031 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.003e-05/0.1636, allocations: 7.938 kB / 0.6031 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.1636, allocations: 3.984 kB / 0.6031 GB, free: 1.574 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.894e-05/0.1637, allocations: 109.8 kB / 0.6032 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.1637, allocations: 7.922 kB / 0.6032 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.751e-05/0.1638, allocations: 117 kB / 0.6034 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.8e-05/0.1639, allocations: 184.2 kB / 0.6035 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.484e-05/0.1639, allocations: 188.2 kB / 0.6037 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.985e-05/0.164, allocations: 180.3 kB / 0.6039 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.1642, allocations: 409.2 kB / 0.6043 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.814e-05/0.1642, allocations: 105 kB / 0.6044 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.082e-05/0.1642, allocations: 105.1 kB / 0.6045 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2944/0.4587, allocations: 184.4 kB / 0.6046 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/0.4588, allocations: 176.8 kB / 0.6048 GB, free: 41.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.827e-05/0.4588, allocations: 183.6 kB / 0.605 GB, free: 40.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-05/0.4588, allocations: 180.2 kB / 0.6052 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.459, allocations: 313.3 kB / 0.6055 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/0.459, allocations: 183.7 kB / 0.6056 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/0.4591, allocations: 180.7 kB / 0.6058 GB, free: 39.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.4593, allocations: 109.2 kB / 0.6059 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.4593, allocations: 182.4 kB / 0.6061 GB, free: 39.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.4593, allocations: 104.9 kB / 0.6062 GB, free: 39.58 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.458e-05/0.4594, allocations: 85.41 kB / 0.6063 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4594, allocations: 0 / 0.6063 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003801/0.4598, allocations: 26.95 kB / 0.6063 GB, free: 39.5 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.0004338/0.4602, allocations: 0.8656 MB / 0.6071 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.102e-05/0.4603, allocations: 11.83 kB / 0.6072 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4603, allocations: 3.391 kB / 0.6072 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.4603, allocations: 0.75 kB / 0.6072 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.4607, allocations: 0.523 MB / 0.6077 GB, free: 38.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003921/0.4611, allocations: 235.5 kB / 0.6079 GB, free: 37.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.4613, allocations: 0.6765 MB / 0.6086 GB, free: 37.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.457e-05/0.4613, allocations: 9.922 kB / 0.6086 GB, free: 37.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.574e-05/0.4614, allocations: 9.844 kB / 0.6086 GB, free: 37.27 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.4614, allocations: 0.9688 kB / 0.6086 GB, free: 37.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01221/0.4736, allocations: 1.96 MB / 0.6105 GB, free: 37.08 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/0.4738, allocations: 254.8 kB / 0.6107 GB, free: 36.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/2.156, allocations: 192 / 0.6107 GB, free: 36.75 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: