Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_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.004704/0.004704, allocations: 102.7 kB / 15.73 MB, free: 6.492 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.001089/0.001089, allocations: 190.4 kB / 16.67 MB, free: 6.379 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002089/0.002089, allocations: 274.5 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9208/0.9208, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 91.84 kB / 0.6809 GB, free: 28 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1575, allocations: 86.98 MB / 0.7659 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005475/0.163, allocations: 3.736 MB / 0.7695 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002065/0.1633, allocations: 159.5 kB / 0.7697 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.426e-05/0.1633, allocations: 0 / 0.7697 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.1634, allocations: 3.938 kB / 0.7697 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.766e-05/0.1635, allocations: 15.91 kB / 0.7697 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.1639, allocations: 89.5 kB / 0.7698 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.477e-05/0.164, allocations: 31.86 kB / 0.7698 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.1641, allocations: 0 / 0.7698 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.438e-05/0.1641, allocations: 19.97 kB / 0.7698 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.408e-05/0.1642, allocations: 11.94 kB / 0.7698 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.1642, allocations: 0 / 0.7698 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005787/0.1648, allocations: 191.6 kB / 0.77 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.945e-05/0.1649, allocations: 8 kB / 0.77 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.1649, allocations: 15.92 kB / 0.77 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.165, allocations: 39.95 kB / 0.7701 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.165, allocations: 0 / 0.7701 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1651, allocations: 0 / 0.7701 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.1651, allocations: 0 / 0.7701 GB, free: 4.641 MB / 0.5606 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.0003864/0.1655, allocations: 335.5 kB / 0.7704 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.1655, allocations: 12.03 kB / 0.7704 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.252e-05/0.1655, allocations: 34.69 kB / 0.7705 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.1656, allocations: 0.9375 kB / 0.7705 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.1657, allocations: 168.4 kB / 0.7706 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.741e-05/0.1658, allocations: 30.25 kB / 0.7706 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.1658, allocations: 4.125 kB / 0.7706 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.1659, allocations: 45.67 kB / 0.7707 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.1659, allocations: 4 kB / 0.7707 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1659, allocations: 0 / 0.7707 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.1659, allocations: 3.938 kB / 0.7707 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.764e-05/0.166, allocations: 19.92 kB / 0.7707 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.1664, allocations: 341.9 kB / 0.771 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.07e-05/0.1665, allocations: 18.58 kB / 0.7711 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.575e-05/0.1665, allocations: 4.859 kB / 0.7711 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.223e-05/0.1666, allocations: 81.17 kB / 0.7711 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.1666, allocations: 30.56 kB / 0.7712 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.1667, allocations: 4 kB / 0.7712 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001375/0.1668, allocations: 45.62 kB / 0.7712 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.1668, allocations: 51.41 kB / 0.7713 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.166e-05/0.1669, allocations: 101.8 kB / 0.7714 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.1669, allocations: 25.7 kB / 0.7714 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.808e-05/0.167, allocations: 88.05 kB / 0.7715 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-06/0.167, allocations: 0 / 0.7715 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.167, allocations: 13.72 kB / 0.7715 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1672, allocations: 326.9 kB / 0.7718 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.307e-05/0.1672, allocations: 4 kB / 0.7718 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.066e-05/0.1672, allocations: 13.72 kB / 0.7718 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.375e-05/0.1673, allocations: 29.59 kB / 0.7718 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1673, allocations: 0 / 0.7718 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.457e-05/0.1674, allocations: 49.59 kB / 0.7719 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1674, allocations: 4.062 kB / 0.7719 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1674, allocations: 8 kB / 0.7719 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1674, allocations: 0 / 0.7719 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.74e-05/0.1675, allocations: 11.92 kB / 0.7719 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1675, allocations: 0 / 0.7719 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.069e-05/0.1675, allocations: 7.938 kB / 0.7719 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.1675, allocations: 0 / 0.7719 GB, free: 2.477 MB / 0.5606 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.513e-05/0.1676, allocations: 110.4 kB / 0.772 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.1676, allocations: 4.281 kB / 0.772 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.1677, allocations: 129 kB / 0.7722 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-05/0.1678, allocations: 184.2 kB / 0.7723 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.558e-05/0.1679, allocations: 176.3 kB / 0.7725 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-05/0.1679, allocations: 180.2 kB / 0.7727 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.1681, allocations: 409.2 kB / 0.7731 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.07e-05/0.1682, allocations: 105 kB / 0.7732 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.649e-05/0.1682, allocations: 116.8 kB / 0.7733 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.534e-05/0.1683, allocations: 176.3 kB / 0.7734 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.376e-05/0.1684, allocations: 184.2 kB / 0.7736 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.276e-05/0.1684, allocations: 176.3 kB / 0.7738 GB, free: 448 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.945e-05/0.1685, allocations: 184.3 kB / 0.774 GB, free: 256 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3492/0.5177, allocations: 312.2 kB / 0.7743 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.5178, allocations: 182.3 kB / 0.7744 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.744e-05/0.5179, allocations: 180.8 kB / 0.7746 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.518, allocations: 107.8 kB / 0.7747 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.5181, allocations: 178.1 kB / 0.7749 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.5181, allocations: 107.1 kB / 0.775 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.922e-05/0.5182, allocations: 82.41 kB / 0.7751 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.41e-07/0.5182, allocations: 0 / 0.7751 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003599/0.5185, allocations: 20.16 kB / 0.7751 GB, free: 14.62 MB / 0.5606 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.0004504/0.519, allocations: 0.8319 MB / 0.7759 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.97e-05/0.5191, allocations: 12.38 kB / 0.7759 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5191, allocations: 0 / 0.7759 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.334e-06/0.5191, allocations: 1.281 kB / 0.7759 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.5194, allocations: 462.4 kB / 0.7763 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007138/0.5201, allocations: 1.326 MB / 0.7776 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.385e-05/0.5202, allocations: 0.673 MB / 0.7783 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.038e-05/0.5203, allocations: 10.38 kB / 0.7783 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.244e-05/0.5203, allocations: 13.52 kB / 0.7783 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of SimCode: time 3.5e-07/0.5203, allocations: 0 / 0.7783 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0167/0.537, allocations: 1.555 MB / 0.7798 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.066/7.603, allocations: 9.812 kB / 0.7798 GB, free: 11.09 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)