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.0009446/0.0009447, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.008646/0.008647, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.316/1.316, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001706/0.001706, allocations: 255.2 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9287/0.9287, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004404/0.0004405, allocations: 12.39 kB / 0.5987 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1665, allocations: 88.55 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5126/0.6791, allocations: 143.7 MB / 0.8255 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000111/0.6792, allocations: 45.25 kB / 0.8255 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.678e-05/0.6792, allocations: 0 / 0.8255 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.307e-05/0.6793, allocations: 3.625 kB / 0.8255 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.995e-05/0.6794, allocations: 13.88 kB / 0.8255 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.6798, allocations: 99.11 kB / 0.8256 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.21e-05/0.6799, allocations: 65.34 kB / 0.8257 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.459e-05/0.6799, allocations: 1.531 kB / 0.8257 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.741e-05/0.68, allocations: 14.69 kB / 0.8257 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.974e-05/0.6801, allocations: 10.73 kB / 0.8257 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.6801, allocations: 1.188 kB / 0.8257 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002251/0.6803, allocations: 87.56 kB / 0.8258 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.312e-05/0.6804, allocations: 15.39 kB / 0.8258 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.6804, allocations: 34.7 kB / 0.8258 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.6806, allocations: 73.72 kB / 0.8259 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.6806, allocations: 0 / 0.8259 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6806, allocations: 0 / 0.8259 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.6806, allocations: 0 / 0.8259 GB, free: 15.78 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.0003233/0.6809, allocations: 331.8 kB / 0.8262 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.681, allocations: 9.969 kB / 0.8262 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002084/0.6812, allocations: 16.64 kB / 0.8263 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.467e-05/0.6813, allocations: 174 kB / 0.8264 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.095e-05/0.6814, allocations: 31.42 kB / 0.8265 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.6814, allocations: 1.75 kB / 0.8265 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.6815, allocations: 48.02 kB / 0.8265 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.6815, allocations: 0 / 0.8265 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.6815, allocations: 1 kB / 0.8265 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.6815, allocations: 1.188 kB / 0.8265 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.887e-05/0.6816, allocations: 18.8 kB / 0.8265 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/0.682, allocations: 264.1 kB / 0.8268 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.286e-05/0.682, allocations: 23.58 kB / 0.8268 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.421e-05/0.682, allocations: 6.734 kB / 0.8268 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-06/0.682, allocations: 0 / 0.8268 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.6821, allocations: 35.41 kB / 0.8268 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.6821, allocations: 9 kB / 0.8268 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001191/0.6822, allocations: 34.45 kB / 0.8269 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.6822, allocations: 52.5 kB / 0.8269 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.217e-05/0.6823, allocations: 108.7 kB / 0.827 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.6823, allocations: 26.8 kB / 0.8271 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.6824, allocations: 98.69 kB / 0.8271 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.412e-06/0.6824, allocations: 4.875 kB / 0.8272 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.069e-05/0.6824, allocations: 10.84 kB / 0.8272 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.489e-05/0.6825, allocations: 319.7 kB / 0.8275 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.434e-05/0.6825, allocations: 3.094 kB / 0.8275 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.062e-05/0.6826, allocations: 23.72 kB / 0.8275 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.845e-05/0.6826, allocations: 30.83 kB / 0.8275 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6826, allocations: 0 / 0.8275 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.897e-05/0.6827, allocations: 60.38 kB / 0.8276 GB, free: 14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.6827, allocations: 5.562 kB / 0.8276 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.6827, allocations: 1.344 kB / 0.8276 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.6827, allocations: 1.406 kB / 0.8276 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.139e-05/0.6828, allocations: 4.875 kB / 0.8276 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.6828, allocations: 5.031 kB / 0.8276 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.673e-05/0.6828, allocations: 1.969 kB / 0.8276 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.6829, allocations: 6.391 kB / 0.8276 GB, free: 14 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.653e-05/0.6829, allocations: 113.3 kB / 0.8277 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.683, allocations: 5.156 kB / 0.8277 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.95e-05/0.683, allocations: 12.02 kB / 0.8277 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.683, allocations: 0.875 kB / 0.8277 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.683, allocations: 3.938 kB / 0.8277 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.683, allocations: 3.438 kB / 0.8277 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.6832, allocations: 346.4 kB / 0.8281 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6833, allocations: 4.031 kB / 0.8281 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.374e-05/0.6833, allocations: 2.312 kB / 0.8281 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.6833, allocations: 3.938 kB / 0.8281 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.6833, allocations: 0 / 0.8281 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.6833, allocations: 1.219 kB / 0.8281 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.6833, allocations: 0 / 0.8281 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.894e-05/0.6834, allocations: 59.05 kB / 0.8281 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.6834, allocations: 86.41 kB / 0.8282 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.6834, allocations: 9.281 kB / 0.8282 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.064e-05/0.6835, allocations: 2.656 kB / 0.8282 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.298e-05/0.6835, allocations: 5.062 kB / 0.8282 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.6835, allocations: 0 / 0.8282 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.041e-05/0.6836, allocations: 93.23 kB / 0.8283 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6836, allocations: 0 / 0.8283 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001858/0.6838, allocations: 6.312 kB / 0.8283 GB, free: 13.21 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.158e-05/0.6839, allocations: 96.78 kB / 0.8284 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.477e-05/0.6839, allocations: 20.66 kB / 0.8284 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.684, allocations: 0 / 0.8284 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.949e-06/0.684, allocations: 2.031 kB / 0.8284 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.6842, allocations: 8.781 kB / 0.8285 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000216/0.6844, allocations: 122.2 kB / 0.8286 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.6846, allocations: 0.6767 MB / 0.8292 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.158e-05/0.6847, allocations: 8.328 kB / 0.8292 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.763e-05/0.6847, allocations: 8.594 kB / 0.8292 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.6847, allocations: 1.312 kB / 0.8292 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of Templates: time 0.00243/0.6871, allocations: 495.1 kB / 0.8297 GB, free: 12.07 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)