Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",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.0008155/0.0008155, allocations: 86.72 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.0009873/0.0009875, 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.347/1.347, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9963/0.9963, allocations: 143.4 MB / 434.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003608, allocations: 8 kB / 0.5161 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.163, allocations: 83.42 MB / 0.5975 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004117/0.1672, allocations: 3.563 MB / 0.601 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002028/0.1674, allocations: 151.6 kB / 0.6011 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.513e-05/0.1675, allocations: 0 / 0.6011 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.1676, allocations: 3.938 kB / 0.6012 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.068e-05/0.1677, allocations: 15.97 kB / 0.6012 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.168, allocations: 59.78 kB / 0.6012 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.583e-05/0.1681, allocations: 43.83 kB / 0.6013 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.944e-05/0.1681, allocations: 0 / 0.6013 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.569e-05/0.1682, allocations: 15.98 kB / 0.6013 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.232e-05/0.1683, allocations: 19.86 kB / 0.6013 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.1683, allocations: 0 / 0.6013 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.1685, allocations: 39.91 kB / 0.6013 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.865e-05/0.1685, allocations: 3.984 kB / 0.6013 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.1685, allocations: 33.64 kB / 0.6014 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.648e-05/0.1686, allocations: 28.25 kB / 0.6014 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1687, allocations: 0 / 0.6014 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.685e-06/0.1687, allocations: 0 / 0.6014 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.1687, allocations: 0 / 0.6014 GB, free: 3.719 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.000402/0.1691, allocations: 331.3 kB / 0.6017 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.1691, allocations: 8.031 kB / 0.6017 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.225e-05/0.1692, allocations: 38.56 kB / 0.6018 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.1692, allocations: 7.953 kB / 0.6018 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.1694, allocations: 159.1 kB / 0.6019 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-05/0.1694, allocations: 29.7 kB / 0.6019 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.1694, allocations: 4 kB / 0.602 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.1696, allocations: 41.69 kB / 0.602 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1696, allocations: 0 / 0.602 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1696, allocations: 3.938 kB / 0.602 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/0.1696, allocations: 3.984 kB / 0.602 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.41e-05/0.1697, allocations: 19.95 kB / 0.602 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004757/0.1702, allocations: 326.1 kB / 0.6023 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.937e-05/0.1702, allocations: 18.58 kB / 0.6023 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.674e-05/0.1703, allocations: 12.8 kB / 0.6024 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.313e-05/0.1704, allocations: 85.16 kB / 0.6024 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.1704, allocations: 42.5 kB / 0.6025 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/0.1704, allocations: 0 / 0.6025 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001544/0.1706, allocations: 33.66 kB / 0.6025 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.1706, allocations: 55.39 kB / 0.6026 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.835e-05/0.1707, allocations: 101.9 kB / 0.6027 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.1707, allocations: 25.7 kB / 0.6027 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.915e-05/0.1708, allocations: 87.98 kB / 0.6028 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.338e-05/0.1708, allocations: 15.89 kB / 0.6028 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.1708, allocations: 4.125 kB / 0.6028 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1709, allocations: 310.8 kB / 0.6031 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/0.171, allocations: 4 kB / 0.6031 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.316e-05/0.171, allocations: 17.66 kB / 0.6031 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.15e-05/0.171, allocations: 7.984 kB / 0.6031 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.171, allocations: 4 kB / 0.6031 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.596e-05/0.1711, allocations: 41.77 kB / 0.6032 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1711, allocations: 11.98 kB / 0.6032 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1711, allocations: 0 / 0.6032 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1712, allocations: 7.891 kB / 0.6032 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.489e-05/0.1712, allocations: 11.94 kB / 0.6032 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1712, allocations: 0 / 0.6032 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.1712, allocations: 0 / 0.6032 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.1713, allocations: 4 kB / 0.6032 GB, free: 1.605 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 7.423e-05/0.1713, allocations: 105.8 kB / 0.6033 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.1714, allocations: 0 / 0.6033 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.1715, allocations: 128.9 kB / 0.6034 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.619e-05/0.1716, allocations: 188.2 kB / 0.6036 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.526e-05/0.1716, allocations: 180.3 kB / 0.6038 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.016e-05/0.1717, allocations: 180.5 kB / 0.6039 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.1719, allocations: 409.2 kB / 0.6043 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.205e-05/0.1719, allocations: 105 kB / 0.6044 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.719e-05/0.172, allocations: 104.9 kB / 0.6045 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.271/0.4429, allocations: 181.4 kB / 0.6047 GB, free: 41.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.443, allocations: 178 kB / 0.6049 GB, free: 41.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.441e-05/0.443, allocations: 187.4 kB / 0.6051 GB, free: 40.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.162e-05/0.4431, allocations: 182.3 kB / 0.6052 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.079e-05/0.4432, allocations: 306.2 kB / 0.6055 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.4432, allocations: 186.8 kB / 0.6057 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.4433, allocations: 182 kB / 0.6059 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.4434, allocations: 107.6 kB / 0.606 GB, free: 39.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.4435, allocations: 188.4 kB / 0.6062 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.4435, allocations: 106.2 kB / 0.6063 GB, free: 39.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.475e-05/0.4435, allocations: 82.56 kB / 0.6063 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4435, allocations: 0 / 0.6063 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002602/0.4438, allocations: 19.89 kB / 0.6064 GB, free: 39.57 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.0002505/0.4441, allocations: 0.8275 MB / 0.6072 GB, free: 38.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.641e-05/0.4441, allocations: 5.703 kB / 0.6072 GB, free: 38.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4441, allocations: 0.6562 kB / 0.6072 GB, free: 38.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.385e-06/0.4442, allocations: 1.875 kB / 0.6072 GB, free: 38.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.4445, allocations: 0.527 MB / 0.6077 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003489/0.4448, allocations: 231.2 kB / 0.6079 GB, free: 38.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.845e-05/0.4449, allocations: 0.6722 MB / 0.6086 GB, free: 37.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.921e-05/0.445, allocations: 6.672 kB / 0.6086 GB, free: 37.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.445, allocations: 9.969 kB / 0.6086 GB, free: 37.33 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.445, allocations: 1.422 kB / 0.6086 GB, free: 37.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01084/0.4559, allocations: 1.256 MB / 0.6098 GB, free: 37.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/0.4561, allocations: 197.2 kB / 0.61 GB, free: 37.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/2.109, allocations: 0 / 0.61 GB, free: 37.02 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: