Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001795/0.001795, allocations: 193.5 kB / 16.14 MB, free: 6.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.404/1.404, allocations: 222.9 MB / 239.8 MB, free: 4.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001951/0.001951, allocations: 294.8 kB / 290.2 MB, free: 2.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9681/0.9681, allocations: 169.2 MB / 0.4977 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001672, allocations: 93.77 kB / 0.5945 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1776, allocations: 86.98 MB / 0.6794 GB, free: 1.215 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4508/0.6285, allocations: 146 MB / 0.822 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001769/0.6287, allocations: 57.17 kB / 0.8221 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.487e-05/0.6287, allocations: 1.406 kB / 0.8221 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.6289, allocations: 6.141 kB / 0.8221 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.056e-05/0.629, allocations: 14.81 kB / 0.8221 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006775/0.6297, allocations: 197.4 kB / 0.8223 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.526e-05/0.6298, allocations: 60.39 kB / 0.8223 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.727e-05/0.6298, allocations: 6.438 kB / 0.8223 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.508e-05/0.6299, allocations: 18.44 kB / 0.8223 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.697e-05/0.6299, allocations: 16.95 kB / 0.8224 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.63, allocations: 0.6562 kB / 0.8224 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004043/0.6304, allocations: 228.8 kB / 0.8226 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.221e-05/0.6304, allocations: 9.125 kB / 0.8226 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.073e-05/0.6305, allocations: 14.62 kB / 0.8226 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.6307, allocations: 125.9 kB / 0.8227 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.6307, allocations: 0 / 0.8227 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.72e-07/0.6307, allocations: 0 / 0.8227 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.6307, allocations: 0 / 0.8227 GB, free: 1.109 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.0004075/0.6312, allocations: 343.1 kB / 0.823 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.6312, allocations: 9.219 kB / 0.8231 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003106/0.6315, allocations: 28.08 kB / 0.8231 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.715e-05/0.6316, allocations: 165.2 kB / 0.8232 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.142e-05/0.6317, allocations: 30.89 kB / 0.8233 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.6317, allocations: 5.062 kB / 0.8233 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.6318, allocations: 50.86 kB / 0.8233 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.6319, allocations: 0 / 0.8233 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.6319, allocations: 4 kB / 0.8233 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.6319, allocations: 5.344 kB / 0.8233 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.43e-05/0.6319, allocations: 18.92 kB / 0.8234 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.6323, allocations: 263.4 kB / 0.8236 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.293e-05/0.6323, allocations: 23.67 kB / 0.8236 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.924e-05/0.6323, allocations: 14.95 kB / 0.8236 GB, free: 16.17 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/0.6325, allocations: 95.38 kB / 0.8237 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.6325, allocations: 31.78 kB / 0.8238 GB, free: 16.03 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.6325, allocations: 0 / 0.8238 GB, free: 16.03 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0002295/0.6328, allocations: 45.58 kB / 0.8238 GB, free: 16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.6328, allocations: 55.31 kB / 0.8239 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.84e-05/0.6329, allocations: 119.1 kB / 0.824 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.6329, allocations: 25.7 kB / 0.824 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.872e-05/0.633, allocations: 91.34 kB / 0.8241 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.406e-06/0.633, allocations: 5.031 kB / 0.8241 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.633, allocations: 18.42 kB / 0.8241 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.024e-05/0.6331, allocations: 312.4 kB / 0.8244 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.036e-05/0.6331, allocations: 7.406 kB / 0.8244 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.639e-05/0.6332, allocations: 27.92 kB / 0.8244 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.272e-05/0.6332, allocations: 32.23 kB / 0.8245 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6332, allocations: 0.5 kB / 0.8245 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.976e-05/0.6333, allocations: 51.17 kB / 0.8245 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.6333, allocations: 7.688 kB / 0.8245 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.6333, allocations: 4.875 kB / 0.8245 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.6334, allocations: 3.5 kB / 0.8245 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.807e-05/0.6334, allocations: 5.625 kB / 0.8245 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.6334, allocations: 1.188 kB / 0.8245 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.994e-05/0.6335, allocations: 8.688 kB / 0.8245 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.6335, allocations: 1.562 kB / 0.8245 GB, free: 15.28 MB / 0.5762 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 7.623e-05/0.6336, allocations: 113.1 kB / 0.8247 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.6336, allocations: 5.438 kB / 0.8247 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.141e-05/0.6336, allocations: 7.5 kB / 0.8247 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.6336, allocations: 4.625 kB / 0.8247 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6336, allocations: 0.5312 kB / 0.8247 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.6336, allocations: 4.562 kB / 0.8247 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.6339, allocations: 363.2 kB / 0.825 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.6339, allocations: 2.156 kB / 0.825 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.722e-05/0.634, allocations: 2.844 kB / 0.825 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.634, allocations: 5 kB / 0.825 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.634, allocations: 7.625 kB / 0.825 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.634, allocations: 0.5 kB / 0.825 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.634, allocations: 4.438 kB / 0.825 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.076e-05/0.6341, allocations: 69.28 kB / 0.8251 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.6341, allocations: 82.23 kB / 0.8252 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.6341, allocations: 5.719 kB / 0.8252 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.634e-05/0.6342, allocations: 9.109 kB / 0.8252 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.204e-05/0.6342, allocations: 1.156 kB / 0.8252 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.6343, allocations: 7.297 kB / 0.8252 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.744e-05/0.6343, allocations: 81.59 kB / 0.8253 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6343, allocations: 0.5312 kB / 0.8253 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001989/0.6345, allocations: 10.22 kB / 0.8253 GB, free: 14.49 MB / 0.5762 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.0001152/0.6346, allocations: 102.6 kB / 0.8254 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.44e-05/0.6347, allocations: 23.44 kB / 0.8254 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6347, allocations: 0.5 kB / 0.8254 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.436e-05/0.6347, allocations: 4.188 kB / 0.8254 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.635, allocations: 7.578 kB / 0.8254 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000271/0.6353, allocations: 133.5 kB / 0.8256 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.6355, allocations: 0.678 MB / 0.8262 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.242e-05/0.6356, allocations: 4.25 kB / 0.8262 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.873e-05/0.6356, allocations: 9.375 kB / 0.8262 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.6356, allocations: 0 / 0.8262 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of Templates: time 0.002586/0.6382, allocations: 0.5627 MB / 0.8268 GB, free: 13.5 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)