Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001181/0.001181, 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.001378/0.001379, allocations: 199.2 kB / 16.14 MB, free: 6.688 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.432/1.432, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.811/2.811, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001279, allocations: 56.72 kB / 0.9113 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4138/0.4151, allocations: 159.9 MB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1665/0.5816, allocations: 133.3 MB / 1.198 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0002044/0.5819, allocations: 51.8 kB / 1.198 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.013e-05/0.5819, allocations: 0 / 1.198 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.5821, allocations: 4 kB / 1.198 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.734e-05/0.5822, allocations: 15.91 kB / 1.198 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009634/0.5832, allocations: 215.2 kB / 1.198 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.5833, allocations: 55.83 kB / 1.198 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.239e-05/0.5834, allocations: 4 kB / 1.198 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.303e-05/0.5834, allocations: 11.98 kB / 1.198 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.223e-05/0.5835, allocations: 15.81 kB / 1.198 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.5835, allocations: 0 / 1.198 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006151/0.5841, allocations: 251.3 kB / 1.198 GB, free: 4.43 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.773e-05/0.5842, allocations: 7.984 kB / 1.198 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.158e-05/0.5843, allocations: 11.94 kB / 1.198 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004996/0.5848, allocations: 187.9 kB / 1.198 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5848, allocations: 0 / 1.198 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.62e-07/0.5848, allocations: 0 / 1.198 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.5848, allocations: 0 / 1.198 GB, free: 4.227 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.0004879/0.5853, allocations: 359.5 kB / 1.199 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.5853, allocations: 12.03 kB / 1.199 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/0.5854, allocations: 4.844 kB / 1.199 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.5855, allocations: 168.3 kB / 1.199 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.531e-05/0.5856, allocations: 30.27 kB / 1.199 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.5856, allocations: 3.938 kB / 1.199 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.5858, allocations: 41.69 kB / 1.199 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.5858, allocations: 3.938 kB / 1.199 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.5858, allocations: 4 kB / 1.199 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.542e-05/0.5859, allocations: 7.984 kB / 1.199 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.93e-05/0.5859, allocations: 12 kB / 1.199 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008644/0.5868, allocations: 0.6028 MB / 1.2 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.459e-05/0.5868, allocations: 18.58 kB / 1.2 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.951e-05/0.5869, allocations: 4.859 kB / 1.2 GB, free: 2.734 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002125/0.5871, allocations: 344.5 kB / 1.2 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.5871, allocations: 38.5 kB / 1.2 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.5871, allocations: 0 / 1.2 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001667/0.5873, allocations: 33.7 kB / 1.2 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.5873, allocations: 51.41 kB / 1.2 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.029e-05/0.5874, allocations: 101.8 kB / 1.2 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.5875, allocations: 25.7 kB / 1.2 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.164e-05/0.5875, allocations: 88.05 kB / 1.2 GB, free: 1.945 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.304e-06/0.5875, allocations: 3.906 kB / 1.2 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.5876, allocations: 29.77 kB / 1.2 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.532e-05/0.5877, allocations: 314.8 kB / 1.201 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.5877, allocations: 4 kB / 1.201 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.738e-05/0.5877, allocations: 21.66 kB / 1.201 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.468e-05/0.5878, allocations: 17.7 kB / 1.201 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5878, allocations: 0 / 1.201 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.253e-05/0.5879, allocations: 57.62 kB / 1.201 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.5879, allocations: 5.25 kB / 1.201 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5879, allocations: 3.938 kB / 1.201 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.5879, allocations: 0 / 1.201 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.42e-05/0.588, allocations: 8 kB / 1.201 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.588, allocations: 0 / 1.201 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.877e-05/0.588, allocations: 0 / 1.201 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.588, allocations: 7.938 kB / 1.201 GB, free: 1.449 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 7.601e-05/0.5881, allocations: 109.9 kB / 1.201 GB, free: 1.332 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.5882, allocations: 4 kB / 1.201 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.5883, allocations: 120.9 kB / 1.201 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.662e-05/0.5883, allocations: 180.3 kB / 1.201 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.254e-05/0.5884, allocations: 184.2 kB / 1.201 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.96e-05/0.5885, allocations: 180.2 kB / 1.202 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.5887, allocations: 417.2 kB / 1.202 GB, free: 188 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.333e-05/0.5888, allocations: 104.9 kB / 1.202 GB, free: 76 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.886e-05/0.5888, allocations: 101 kB / 1.202 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.063e-05/0.5889, allocations: 180.2 kB / 1.202 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.879e-05/0.5889, allocations: 180.3 kB / 1.202 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.333e-05/0.589, allocations: 176.3 kB / 1.203 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.908e-05/0.5891, allocations: 188.2 kB / 1.203 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.5892, allocations: 311.6 kB / 1.203 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.255e-05/0.5893, allocations: 178.1 kB / 1.203 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.102e-05/0.5894, allocations: 184.2 kB / 1.203 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.5895, allocations: 120.9 kB / 1.204 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.731e-05/0.5896, allocations: 176.3 kB / 1.204 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.5896, allocations: 104.9 kB / 1.204 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.183e-05/0.5897, allocations: 91.2 kB / 1.204 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5897, allocations: 0 / 1.204 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000308/0.59, allocations: 55.92 kB / 1.204 GB, free: 13.96 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.000344/0.5904, allocations: 250.4 kB / 1.204 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.346e-05/0.5905, allocations: 11.92 kB / 1.204 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5905, allocations: 0 / 1.204 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.5905, allocations: 128 / 1.204 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.5909, allocations: 0.5378 MB / 1.205 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002962/0.5912, allocations: 183.6 kB / 1.205 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.5915, allocations: 0.6732 MB / 1.206 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.762e-05/0.5915, allocations: 12.27 kB / 1.206 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.285e-05/0.5916, allocations: 7.438 kB / 1.206 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.5916, allocations: 0 / 1.206 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of Templates: time 0.004016/0.5956, allocations: 1.281 MB / 1.207 GB, free: 10.95 MB / 0.9669 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_3.0.0_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)