Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",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.00118/0.00118, allocations: 99.16 kB / 16.4 MB, free: 6.445 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.001087/0.001087, allocations: 195.9 kB / 17.34 MB, free: 5.707 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6917/0.6917, allocations: 115.3 MB / 406.5 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 62.47 kB / 0.5572 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.147, allocations: 76.18 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5009/0.6479, allocations: 148.3 MB / 0.7764 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001485/0.6481, allocations: 51.42 kB / 0.7764 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.464e-05/0.6481, allocations: 0.8438 kB / 0.7764 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.6483, allocations: 5.812 kB / 0.7764 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.332e-05/0.6484, allocations: 14.86 kB / 0.7764 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007157/0.6492, allocations: 208.6 kB / 0.7766 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.096e-05/0.6493, allocations: 36.03 kB / 0.7767 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.108e-05/0.6493, allocations: 1.656 kB / 0.7767 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.33e-05/0.6494, allocations: 17.19 kB / 0.7767 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.896e-05/0.6494, allocations: 14.05 kB / 0.7767 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.6495, allocations: 0.6562 kB / 0.7767 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004914/0.65, allocations: 201.3 kB / 0.7769 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.65, allocations: 7.125 kB / 0.7769 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.562e-05/0.6501, allocations: 16.12 kB / 0.7769 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003065/0.6504, allocations: 112.8 kB / 0.777 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.6504, allocations: 4.125 kB / 0.777 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6504, allocations: 0.5625 kB / 0.777 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.6504, allocations: 0 / 0.777 GB, free: 14.16 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004692/0.6509, allocations: 341.5 kB / 0.7773 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.6509, allocations: 9.719 kB / 0.7774 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.754e-05/0.651, allocations: 31.81 kB / 0.7774 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003456/0.6513, allocations: 32.22 kB / 0.7774 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.6515, allocations: 166.6 kB / 0.7776 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.081e-05/0.6515, allocations: 33.22 kB / 0.7776 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.6516, allocations: 4.734 kB / 0.7776 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.6517, allocations: 44.97 kB / 0.7776 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.6517, allocations: 0 / 0.7776 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.6518, allocations: 0.5312 kB / 0.7776 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.6518, allocations: 4.609 kB / 0.7777 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.351e-05/0.6519, allocations: 19.39 kB / 0.7777 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.6523, allocations: 265.3 kB / 0.7779 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 6.002e-05/0.6523, allocations: 20.17 kB / 0.7779 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.822e-05/0.6524, allocations: 13.75 kB / 0.778 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00016/0.6525, allocations: 89.75 kB / 0.778 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.6526, allocations: 38.2 kB / 0.7781 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.6526, allocations: 0 / 0.7781 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0002411/0.6528, allocations: 49 kB / 0.7781 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.6529, allocations: 56.97 kB / 0.7782 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.916e-05/0.653, allocations: 113.6 kB / 0.7783 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.653, allocations: 25.7 kB / 0.7783 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.6531, allocations: 92.83 kB / 0.7784 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.203e-05/0.6531, allocations: 5.156 kB / 0.7784 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.6531, allocations: 19.45 kB / 0.7784 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.6532, allocations: 313.3 kB / 0.7787 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/0.6532, allocations: 4.891 kB / 0.7787 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.946e-05/0.6533, allocations: 23.02 kB / 0.7788 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.537e-05/0.6533, allocations: 37.05 kB / 0.7788 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6533, allocations: 2.5 kB / 0.7788 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.01e-05/0.6534, allocations: 57.08 kB / 0.7788 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.6534, allocations: 6.594 kB / 0.7788 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.6535, allocations: 0 / 0.7788 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.6535, allocations: 1.281 kB / 0.7789 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.764e-05/0.6535, allocations: 6.094 kB / 0.7789 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.6535, allocations: 10.52 kB / 0.7789 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.823e-05/0.6536, allocations: 5.031 kB / 0.7789 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.6536, allocations: 3.219 kB / 0.7789 GB, free: 12.29 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 8.419e-05/0.6537, allocations: 109.9 kB / 0.779 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.6537, allocations: 1.594 kB / 0.779 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.46e-05/0.6537, allocations: 7.938 kB / 0.779 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.6537, allocations: 5.219 kB / 0.779 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6538, allocations: 3.938 kB / 0.779 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.6538, allocations: 2.297 kB / 0.779 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.654, allocations: 358.6 kB / 0.7793 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6541, allocations: 1.312 kB / 0.7793 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.78e-05/0.6541, allocations: 7.391 kB / 0.7793 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.6541, allocations: 5.156 kB / 0.7794 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.6541, allocations: 1.25 kB / 0.7794 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.6541, allocations: 0 / 0.7794 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6541, allocations: 1.156 kB / 0.7794 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.831e-05/0.6542, allocations: 74.92 kB / 0.7794 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.6542, allocations: 84.72 kB / 0.7795 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.6543, allocations: 4.938 kB / 0.7795 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.994e-05/0.6544, allocations: 2.5 kB / 0.7795 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.6544, allocations: 6.906 kB / 0.7795 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.6544, allocations: 1.344 kB / 0.7795 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.479e-05/0.6544, allocations: 86.64 kB / 0.7796 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6544, allocations: 3.938 kB / 0.7796 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002035/0.6547, allocations: 10.72 kB / 0.7796 GB, free: 11.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0003388/0.655, allocations: 0.6085 MB / 0.7802 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.465e-05/0.6551, allocations: 17.25 kB / 0.7802 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6551, allocations: 1.062 kB / 0.7802 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-05/0.6551, allocations: 5.875 kB / 0.7802 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.6553, allocations: 10.66 kB / 0.7802 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.6557, allocations: 154 kB / 0.7804 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.6559, allocations: 0.6766 MB / 0.7811 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.805e-05/0.656, allocations: 11.89 kB / 0.7811 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.656, allocations: 9.812 kB / 0.7811 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of SimCode: time 2.1e-07/0.656, allocations: 0 / 0.7811 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01822/0.6743, allocations: 1.463 MB / 0.7825 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.094/7.768, allocations: 8.781 kB / 0.7825 GB, free: 9.641 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)