Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001964/0.001964, allocations: 195.5 kB / 16.25 MB, free: 6.625 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.489/1.489, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002572/0.002572, allocations: 287 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.076/1.076, allocations: 178.6 MB / 0.5069 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002844/0.002844, allocations: 99.89 kB / 0.6059 GB, free: 24.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.165, allocations: 89.16 MB / 0.693 GB, free: 4.758 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4303/0.5954, allocations: 133.5 MB / 0.8233 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001578/0.5956, allocations: 55.17 kB / 0.8233 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.816e-05/0.5956, allocations: 0 / 0.8233 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.896e-05/0.5957, allocations: 5.062 kB / 0.8233 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.676e-05/0.5958, allocations: 8.656 kB / 0.8234 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007695/0.5966, allocations: 229.3 kB / 0.8236 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.678e-05/0.5967, allocations: 31.45 kB / 0.8236 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.032e-05/0.5967, allocations: 4.562 kB / 0.8236 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.408e-05/0.5968, allocations: 11.81 kB / 0.8236 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.905e-05/0.5968, allocations: 20.67 kB / 0.8236 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.5969, allocations: 5.219 kB / 0.8236 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004279/0.5973, allocations: 246.3 kB / 0.8239 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.877e-05/0.5973, allocations: 8.406 kB / 0.8239 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.5974, allocations: 11.62 kB / 0.8239 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.5977, allocations: 186.4 kB / 0.8241 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.5977, allocations: 0 / 0.8241 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.442e-06/0.5977, allocations: 0 / 0.8241 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.5977, allocations: 2 kB / 0.8241 GB, free: 8.508 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.0004249/0.5981, allocations: 357.9 kB / 0.8244 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.5982, allocations: 9.312 kB / 0.8244 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.5982, allocations: 15.53 kB / 0.8244 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.5983, allocations: 168.3 kB / 0.8246 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.846e-05/0.5984, allocations: 27.36 kB / 0.8246 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.5984, allocations: 4.906 kB / 0.8246 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.5986, allocations: 45.61 kB / 0.8247 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.5986, allocations: 1.188 kB / 0.8247 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.5986, allocations: 0 / 0.8247 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.5986, allocations: 2.688 kB / 0.8247 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.25e-05/0.5987, allocations: 19.81 kB / 0.8247 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008236/0.5995, allocations: 0.5927 MB / 0.8253 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.679e-05/0.5996, allocations: 26.02 kB / 0.8253 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.52e-05/0.5996, allocations: 6.016 kB / 0.8253 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002367/0.5998, allocations: 333.8 kB / 0.8256 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.5999, allocations: 35.56 kB / 0.8257 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.5999, allocations: 0 / 0.8257 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001358/0.6, allocations: 35.28 kB / 0.8257 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.6, allocations: 51.41 kB / 0.8257 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.737e-05/0.6001, allocations: 107 kB / 0.8258 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.6002, allocations: 25.7 kB / 0.8259 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.6002, allocations: 93.2 kB / 0.826 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.197e-05/0.6002, allocations: 9.219 kB / 0.826 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.6003, allocations: 19.84 kB / 0.826 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.6004, allocations: 319.9 kB / 0.8263 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.422e-05/0.6004, allocations: 4.844 kB / 0.8263 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.746e-05/0.6005, allocations: 12.88 kB / 0.8263 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.649e-05/0.6005, allocations: 29.95 kB / 0.8263 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6005, allocations: 4 kB / 0.8263 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.33e-05/0.6006, allocations: 52.23 kB / 0.8264 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.6006, allocations: 7.25 kB / 0.8264 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.6006, allocations: 1.062 kB / 0.8264 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.6007, allocations: 1 kB / 0.8264 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.132e-05/0.6007, allocations: 6.531 kB / 0.8264 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.6007, allocations: 0.8438 kB / 0.8264 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.624e-05/0.6007, allocations: 1.156 kB / 0.8264 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.6008, allocations: 2.406 kB / 0.8264 GB, free: 5.977 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 8.764e-05/0.6008, allocations: 117.8 kB / 0.8265 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.6009, allocations: 2.156 kB / 0.8265 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.601, allocations: 121.6 kB / 0.8266 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-05/0.6011, allocations: 177.4 kB / 0.8268 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.07e-05/0.6012, allocations: 181.3 kB / 0.827 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.039e-05/0.6012, allocations: 181.5 kB / 0.8272 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.6015, allocations: 413.4 kB / 0.8275 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.446e-05/0.6016, allocations: 102.2 kB / 0.8276 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.995e-05/0.6016, allocations: 105.4 kB / 0.8277 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.708e-05/0.6017, allocations: 181.3 kB / 0.8279 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.6018, allocations: 177.4 kB / 0.8281 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001174/0.6019, allocations: 189.3 kB / 0.8283 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.301e-05/0.602, allocations: 183.4 kB / 0.8284 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.6022, allocations: 311 kB / 0.8287 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.6023, allocations: 183.2 kB / 0.8289 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.993e-05/0.6024, allocations: 185.4 kB / 0.8291 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.6026, allocations: 106.9 kB / 0.8292 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.6027, allocations: 177.4 kB / 0.8294 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/0.6028, allocations: 108 kB / 0.8295 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001165/0.6029, allocations: 88.25 kB / 0.8296 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6029, allocations: 0 / 0.8296 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003142/0.6032, allocations: 64.41 kB / 0.8296 GB, free: 2.574 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.0003433/0.6036, allocations: 251.9 kB / 0.8299 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.697e-05/0.6037, allocations: 8.594 kB / 0.8299 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6037, allocations: 8.062 kB / 0.8299 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.6037, allocations: 1.188 kB / 0.8299 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.6041, allocations: 459.2 kB / 0.8303 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002596/0.6044, allocations: 185.3 kB / 0.8305 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.6047, allocations: 0.6773 MB / 0.8311 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.191e-05/0.6047, allocations: 8.312 kB / 0.8312 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.071e-05/0.6048, allocations: 9.656 kB / 0.8312 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.6048, allocations: 0 / 0.8312 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of Templates: time 0.003872/0.6087, allocations: 1.303 MB / 0.8324 GB, free: 0.8242 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)