Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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: translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 84.38 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.001319/0.001319, 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.334/1.334, allocations: 223.3 MB / 240 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00182/0.00182, allocations: 263.2 kB / 291.4 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9556/0.9556, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.0003961, allocations: 11.03 kB / 0.598 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1366, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4072/0.5438, allocations: 134 MB / 0.8154 GB, free: 1.727 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001101/0.5439, allocations: 49.39 kB / 0.8154 GB, free: 1.723 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.53e-05/0.544, allocations: 4.969 kB / 0.8154 GB, free: 1.719 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.446e-05/0.5441, allocations: 0 / 0.8154 GB, free: 1.719 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.521e-05/0.5441, allocations: 12.75 kB / 0.8154 GB, free: 1.715 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.5445, allocations: 86.69 kB / 0.8155 GB, free: 1.699 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.929e-05/0.5446, allocations: 48.62 kB / 0.8156 GB, free: 1.691 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.751e-05/0.5446, allocations: 0.875 kB / 0.8156 GB, free: 1.691 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.601e-05/0.5447, allocations: 15.14 kB / 0.8156 GB, free: 1.691 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.169e-05/0.5447, allocations: 15.73 kB / 0.8156 GB, free: 1.688 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.5447, allocations: 1.219 kB / 0.8156 GB, free: 1.688 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.5449, allocations: 46.62 kB / 0.8156 GB, free: 1.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.103e-05/0.545, allocations: 13.69 kB / 0.8157 GB, free: 1.676 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.717e-05/0.5451, allocations: 27.64 kB / 0.8157 GB, free: 17.64 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.903e-05/0.5452, allocations: 36.22 kB / 0.8157 GB, free: 17.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5452, allocations: 1.219 kB / 0.8157 GB, free: 17.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5452, allocations: 0 / 0.8157 GB, free: 17.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.5452, allocations: 0 / 0.8157 GB, free: 17.64 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003002/0.5455, allocations: 333.5 kB / 0.816 GB, free: 17.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.5455, allocations: 8.406 kB / 0.816 GB, free: 17.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002172/0.5458, allocations: 26.56 kB / 0.8161 GB, free: 17.28 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.649e-05/0.5459, allocations: 160.2 kB / 0.8162 GB, free: 17.08 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.198e-05/0.5459, allocations: 27.14 kB / 0.8162 GB, free: 17.05 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.5459, allocations: 5.75 kB / 0.8163 GB, free: 17.05 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.5461, allocations: 49.27 kB / 0.8163 GB, free: 17.01 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-06/0.5461, allocations: 0 / 0.8163 GB, free: 17.01 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.5461, allocations: 4.562 kB / 0.8163 GB, free: 17.01 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.5461, allocations: 7.469 kB / 0.8163 GB, free: 17.01 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.155e-05/0.5462, allocations: 22.3 kB / 0.8163 GB, free: 17 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.5465, allocations: 260 kB / 0.8166 GB, free: 16.74 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 2.522e-05/0.5466, allocations: 25.2 kB / 0.8166 GB, free: 16.71 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.344e-05/0.5466, allocations: 6.109 kB / 0.8166 GB, free: 16.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-06/0.5466, allocations: 3.953 kB / 0.8166 GB, free: 16.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.5466, allocations: 35.72 kB / 0.8166 GB, free: 16.65 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.5466, allocations: 0 / 0.8166 GB, free: 16.65 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001255/0.5468, allocations: 37.23 kB / 0.8167 GB, free: 16.62 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.5468, allocations: 52.78 kB / 0.8167 GB, free: 16.56 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.442e-05/0.5469, allocations: 109 kB / 0.8168 GB, free: 16.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.5469, allocations: 25.7 kB / 0.8169 GB, free: 16.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.5469, allocations: 90.36 kB / 0.8169 GB, free: 16.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.731e-06/0.5469, allocations: 6.969 kB / 0.817 GB, free: 16.33 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-06/0.547, allocations: 5.094 kB / 0.817 GB, free: 16.33 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.213e-05/0.5471, allocations: 314.4 kB / 0.8173 GB, free: 16.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.528e-05/0.5471, allocations: 6.031 kB / 0.8173 GB, free: 16.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.372e-05/0.5471, allocations: 21.92 kB / 0.8173 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.307e-05/0.5471, allocations: 8.062 kB / 0.8173 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5471, allocations: 1.062 kB / 0.8173 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.013e-05/0.5472, allocations: 56.31 kB / 0.8173 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.5472, allocations: 10.92 kB / 0.8174 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5473, allocations: 1.562 kB / 0.8174 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.5473, allocations: 0 / 0.8174 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.64e-05/0.5473, allocations: 8.125 kB / 0.8174 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.5473, allocations: 7.609 kB / 0.8174 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.48e-05/0.5474, allocations: 1.281 kB / 0.8174 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.5474, allocations: 2.25 kB / 0.8174 GB, free: 15.95 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.586e-05/0.5475, allocations: 119.8 kB / 0.8175 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.5475, allocations: 5.906 kB / 0.8175 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.591e-05/0.5475, allocations: 8.078 kB / 0.8175 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5475, allocations: 2.438 kB / 0.8175 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.5475, allocations: 3.375 kB / 0.8175 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-06/0.5475, allocations: 0 / 0.8175 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.5478, allocations: 341.2 kB / 0.8178 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5478, allocations: 4.922 kB / 0.8178 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.372e-05/0.5478, allocations: 5.062 kB / 0.8178 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.5478, allocations: 3.484 kB / 0.8179 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-06/0.5478, allocations: 0 / 0.8179 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.5478, allocations: 0.9688 kB / 0.8179 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5478, allocations: 3.938 kB / 0.8179 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.359e-05/0.5479, allocations: 57.11 kB / 0.8179 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/0.5479, allocations: 82.09 kB / 0.818 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.548, allocations: 5.062 kB / 0.818 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.818e-05/0.548, allocations: 6.094 kB / 0.818 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.5481, allocations: 3.938 kB / 0.818 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.5481, allocations: 1.156 kB / 0.818 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.404e-05/0.5481, allocations: 87.17 kB / 0.8181 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5481, allocations: 1.031 kB / 0.8181 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001984/0.5483, allocations: 5.562 kB / 0.8181 GB, free: 15.18 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 (1): * Single equations (assignments): 1 * 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 8.681e-05/0.5484, allocations: 96.91 kB / 0.8182 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.715e-05/0.5485, allocations: 21.61 kB / 0.8182 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5485, allocations: 0 / 0.8182 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.17e-06/0.5485, allocations: 2.219 kB / 0.8182 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.5487, allocations: 4.75 kB / 0.8182 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002038/0.5489, allocations: 130 kB / 0.8183 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.5491, allocations: 0.6789 MB / 0.819 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.824e-05/0.5492, allocations: 10.11 kB / 0.819 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.77e-05/0.5492, allocations: 9.438 kB / 0.819 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.5492, allocations: 0 / 0.819 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of Templates: time 0.002232/0.5515, allocations: 478 kB / 0.8195 GB, free: 14.23 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)