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.000827/0.000827, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005534/0.005534, allocations: 170.7 kB / 16.27 MB, free: 6.656 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.46/1.46, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.055/3.055, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003841, allocations: 6.906 kB / 0.9157 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4087, allocations: 162.2 MB / 1.074 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1785/0.5873, allocations: 131.6 MB / 1.203 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0002103/0.5876, allocations: 47.86 kB / 1.203 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.863e-05/0.5876, allocations: 0 / 1.203 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.5878, allocations: 11.83 kB / 1.203 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.5879, allocations: 15.91 kB / 1.203 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.5895, allocations: 218.5 kB / 1.203 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.5896, allocations: 55.83 kB / 1.203 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 6.938e-05/0.5897, allocations: 4 kB / 1.203 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.911e-05/0.5898, allocations: 19.97 kB / 1.203 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.5899, allocations: 11.88 kB / 1.203 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.59, allocations: 4 kB / 1.203 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007573/0.5907, allocations: 239.4 kB / 1.203 GB, free: 2.922 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.822e-05/0.5909, allocations: 15.92 kB / 1.203 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.242e-05/0.591, allocations: 29.7 kB / 1.203 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005594/0.5915, allocations: 195.9 kB / 1.203 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5916, allocations: 0 / 1.203 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.415e-06/0.5916, allocations: 4 kB / 1.203 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.5916, allocations: 0 / 1.203 GB, free: 2.676 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.0006394/0.5923, allocations: 351.5 kB / 1.204 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.5923, allocations: 8.031 kB / 1.204 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.77e-05/0.5924, allocations: 4.938 kB / 1.204 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.5926, allocations: 168.2 kB / 1.204 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.56e-05/0.5927, allocations: 26.27 kB / 1.204 GB, free: 2.039 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.5927, allocations: 7.875 kB / 1.204 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.5929, allocations: 45.69 kB / 1.204 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.5929, allocations: 0 / 1.204 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.5929, allocations: 3.938 kB / 1.204 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.474e-05/0.593, allocations: 4 kB / 1.204 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.178e-05/0.5931, allocations: 15.98 kB / 1.204 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.5941, allocations: 0.5989 MB / 1.205 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.522e-05/0.5942, allocations: 34.5 kB / 1.205 GB, free: 1.191 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.193e-05/0.5942, allocations: 4.859 kB / 1.205 GB, free: 1.184 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003219/0.5946, allocations: 336.5 kB / 1.205 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.5946, allocations: 30.56 kB / 1.205 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.563e-06/0.5946, allocations: 0 / 1.205 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001968/0.5948, allocations: 33.7 kB / 1.205 GB, free: 0.7031 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.5949, allocations: 55.53 kB / 1.205 GB, free: 0.6367 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.5951, allocations: 105.8 kB / 1.205 GB, free: 0.5234 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.5951, allocations: 25.7 kB / 1.205 GB, free: 0.4922 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.821e-05/0.5952, allocations: 92.05 kB / 1.205 GB, free: 408 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.135e-05/0.5952, allocations: 3.906 kB / 1.205 GB, free: 404 kB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.5952, allocations: 9.719 kB / 1.205 GB, free: 388 kB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000238/0.5955, allocations: 318.8 kB / 1.206 GB, free: 60 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.456e-05/0.5955, allocations: 8 kB / 1.206 GB, free: 52 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.296e-05/0.5956, allocations: 17.72 kB / 1.206 GB, free: 28 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.238e-05/0.5956, allocations: 21.72 kB / 1.206 GB, free: 0 / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.5956, allocations: 0 / 1.206 GB, free: 0 / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001314/0.5958, allocations: 45.73 kB / 1.206 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.5958, allocations: 4 kB / 1.206 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.5958, allocations: 0 / 1.206 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.5958, allocations: 4 kB / 1.206 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.59e-05/0.5959, allocations: 12.05 kB / 1.206 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.5959, allocations: 0 / 1.206 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.901e-05/0.596, allocations: 4 kB / 1.206 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.596, allocations: 11.88 kB / 1.206 GB, free: 15.91 MB / 0.9669 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 0.0001191/0.5961, allocations: 105.8 kB / 1.206 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.167e-05/0.5962, allocations: 4 kB / 1.206 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001519/0.5963, allocations: 120.9 kB / 1.206 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001655/0.5965, allocations: 184.3 kB / 1.206 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.789e-05/0.5966, allocations: 184 kB / 1.206 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.356e-05/0.5967, allocations: 176.3 kB / 1.206 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000323/0.597, allocations: 413.1 kB / 1.207 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.619e-05/0.5971, allocations: 105 kB / 1.207 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.657e-05/0.5972, allocations: 105 kB / 1.207 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.435e-05/0.5973, allocations: 188.2 kB / 1.207 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.842e-05/0.5974, allocations: 176.3 kB / 1.207 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.969e-05/0.5975, allocations: 184.2 kB / 1.208 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-05/0.5976, allocations: 180.3 kB / 1.208 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.5978, allocations: 311.7 kB / 1.208 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.5979, allocations: 190 kB / 1.208 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.756e-05/0.5981, allocations: 184.2 kB / 1.208 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.5983, allocations: 105 kB / 1.209 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-05/0.5984, allocations: 180.2 kB / 1.209 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.911e-05/0.5985, allocations: 109 kB / 1.209 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.898e-05/0.5985, allocations: 91.2 kB / 1.209 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5985, allocations: 0 / 1.209 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005096/0.5991, allocations: 47.94 kB / 1.209 GB, free: 12.43 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.0004813/0.5996, allocations: 254.7 kB / 1.209 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001012/0.5997, allocations: 15.92 kB / 1.209 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5997, allocations: 0 / 1.209 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.5997, allocations: 0 / 1.209 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007248/0.6004, allocations: 0.5265 MB / 1.21 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.6008, allocations: 183.8 kB / 1.21 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.6012, allocations: 0.677 MB / 1.211 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.755e-05/0.6013, allocations: 11.92 kB / 1.211 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.6013, allocations: 11.44 kB / 1.211 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of SimCode: time 5.01e-07/0.6014, allocations: 4 kB / 1.211 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of Templates: time 0.006765/0.6081, allocations: 1.262 MB / 1.212 GB, free: 9.422 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)