Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001575, 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.001209/0.001209, allocations: 197.9 kB / 16.14 MB, free: 6.695 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.396/1.396, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.871/2.871, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 65.16 kB / 0.9113 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4158, allocations: 159.9 MB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1756/0.5915, allocations: 133.3 MB / 1.198 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001938/0.5917, allocations: 51.86 kB / 1.198 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.156e-05/0.5918, allocations: 0 / 1.198 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.5919, allocations: 7.922 kB / 1.198 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.377e-05/0.592, allocations: 4 kB / 1.198 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009009/0.5929, allocations: 222.6 kB / 1.198 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.768e-05/0.593, allocations: 63.86 kB / 1.198 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.547e-05/0.5931, allocations: 0 / 1.198 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.822e-05/0.5931, allocations: 11.94 kB / 1.198 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.613e-05/0.5932, allocations: 23.92 kB / 1.198 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.5932, allocations: 0 / 1.198 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004683/0.5937, allocations: 239.4 kB / 1.198 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.101e-05/0.5938, allocations: 15.97 kB / 1.198 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.5938, allocations: 7.938 kB / 1.198 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003565/0.5942, allocations: 187.9 kB / 1.198 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5942, allocations: 0 / 1.198 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5942, allocations: 3.938 kB / 1.198 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.5942, allocations: 0 / 1.198 GB, free: 4.246 MB / 0.9512 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.0004961/0.5947, allocations: 364.8 kB / 1.199 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.5948, allocations: 8.031 kB / 1.199 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.5948, allocations: 4.844 kB / 1.199 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.595, allocations: 172.3 kB / 1.199 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.533e-05/0.595, allocations: 30.27 kB / 1.199 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.595, allocations: 3.938 kB / 1.199 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.5952, allocations: 41.69 kB / 1.199 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.5952, allocations: 0 / 1.199 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.5952, allocations: 0 / 1.199 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.5953, allocations: 7.984 kB / 1.199 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.132e-05/0.5953, allocations: 19.94 kB / 1.199 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009125/0.5962, allocations: 0.5911 MB / 1.2 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.22e-05/0.5963, allocations: 18.56 kB / 1.2 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.2e-05/0.5963, allocations: 12.92 kB / 1.2 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002244/0.5966, allocations: 344.3 kB / 1.2 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.5966, allocations: 30.56 kB / 1.2 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.5966, allocations: 0 / 1.2 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001556/0.5968, allocations: 37.64 kB / 1.2 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.5968, allocations: 51.41 kB / 1.2 GB, free: 2.199 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.693e-05/0.5969, allocations: 105.8 kB / 1.2 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.5969, allocations: 25.7 kB / 1.2 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.21e-05/0.597, allocations: 92.17 kB / 1.2 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.094e-06/0.597, allocations: 3.906 kB / 1.2 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.597, allocations: 17.7 kB / 1.2 GB, free: 1.934 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.5972, allocations: 314.8 kB / 1.201 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.024e-05/0.5972, allocations: 8 kB / 1.201 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.477e-05/0.5972, allocations: 13.72 kB / 1.201 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.331e-05/0.5973, allocations: 33.64 kB / 1.201 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5973, allocations: 0 / 1.201 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.575e-05/0.5974, allocations: 45.69 kB / 1.201 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.5974, allocations: 4 kB / 1.201 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.5974, allocations: 3.938 kB / 1.201 GB, free: 1.492 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.5974, allocations: 4 kB / 1.201 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.823e-05/0.5975, allocations: 7.938 kB / 1.201 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.5975, allocations: 0 / 1.201 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.705e-05/0.5975, allocations: 0 / 1.201 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.5975, allocations: 12 kB / 1.201 GB, free: 1.469 MB / 0.9512 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.756e-05/0.5976, allocations: 105.8 kB / 1.201 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.5976, allocations: 8 kB / 1.201 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.5978, allocations: 117 kB / 1.201 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.355e-05/0.5978, allocations: 184.2 kB / 1.201 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.241e-05/0.5979, allocations: 176.3 kB / 1.201 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.425e-05/0.598, allocations: 188.2 kB / 1.202 GB, free: 0.668 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.5983, allocations: 413.2 kB / 1.202 GB, free: 212 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.641e-05/0.5983, allocations: 101 kB / 1.202 GB, free: 104 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.887e-05/0.5984, allocations: 104.9 kB / 1.202 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.456e-05/0.5984, allocations: 180.3 kB / 1.202 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.341e-05/0.5985, allocations: 184.2 kB / 1.202 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.527e-05/0.5986, allocations: 176.3 kB / 1.203 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.434e-05/0.5987, allocations: 188.2 kB / 1.203 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.5988, allocations: 307.7 kB / 1.203 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.691e-05/0.5989, allocations: 186 kB / 1.203 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.961e-05/0.599, allocations: 184.2 kB / 1.203 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.5992, allocations: 105 kB / 1.204 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.895e-05/0.5993, allocations: 180.2 kB / 1.204 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.5993, allocations: 101 kB / 1.204 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.892e-05/0.5993, allocations: 99.14 kB / 1.204 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5994, allocations: 0 / 1.204 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003148/0.5997, allocations: 55.92 kB / 1.204 GB, free: 13.98 MB / 0.9669 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.0003489/0.6, allocations: 250.4 kB / 1.204 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.897e-05/0.6001, allocations: 23.86 kB / 1.204 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6001, allocations: 0 / 1.204 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.6001, allocations: 0 / 1.204 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.6006, allocations: 0.5224 MB / 1.205 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.6009, allocations: 183.7 kB / 1.205 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.6012, allocations: 0.6732 MB / 1.206 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.452e-05/0.6012, allocations: 8.266 kB / 1.206 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.831e-05/0.6012, allocations: 7.438 kB / 1.206 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of SimCode: time 2.41e-07/0.6012, allocations: 4 kB / 1.206 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of Templates: time 0.003605/0.6049, allocations: 1.274 MB / 1.207 GB, free: 10.98 MB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)