Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.489/2.489, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 189.5 kB / 499.1 MB, free: 4.676 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 222.9 MB / 0.7948 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 113.6 kB / 0.9329 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 52.72 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3379, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1422/0.4802, allocations: 133.3 MB / 1.348 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0002046/0.4804, allocations: 51.88 kB / 1.348 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.353e-05/0.4805, allocations: 0 / 1.348 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.4807, allocations: 11.92 kB / 1.348 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.756e-05/0.4808, allocations: 7.984 kB / 1.348 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009813/0.4818, allocations: 231.1 kB / 1.349 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.4819, allocations: 63.81 kB / 1.349 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.4819, allocations: 0 / 1.349 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.215e-05/0.482, allocations: 19.83 kB / 1.349 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.837e-05/0.4821, allocations: 11.97 kB / 1.349 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.4821, allocations: 4 kB / 1.349 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004752/0.4826, allocations: 239.3 kB / 1.349 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.117e-05/0.4827, allocations: 11.92 kB / 1.349 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.78e-05/0.4827, allocations: 11.94 kB / 1.349 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.4831, allocations: 201.7 kB / 1.349 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4831, allocations: 0 / 1.349 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4831, allocations: 4 kB / 1.349 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.4831, allocations: 0 / 1.349 GB, free: 14.55 MB / 0.8542 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.0005913/0.4837, allocations: 359.4 kB / 1.349 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.4838, allocations: 11.98 kB / 1.349 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.231e-05/0.4839, allocations: 4.938 kB / 1.349 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.484, allocations: 164.4 kB / 1.35 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.418e-05/0.4841, allocations: 26.27 kB / 1.35 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.4841, allocations: 11.88 kB / 1.35 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.4843, allocations: 49.67 kB / 1.35 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.4843, allocations: 0 / 1.35 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.4844, allocations: 0 / 1.35 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/0.4844, allocations: 4 kB / 1.35 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.123e-05/0.4845, allocations: 11.98 kB / 1.35 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.4855, allocations: 0.595 MB / 1.35 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.849e-05/0.4855, allocations: 26.52 kB / 1.35 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.084e-05/0.4856, allocations: 8.844 kB / 1.35 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002395/0.4858, allocations: 328.5 kB / 1.351 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.4859, allocations: 38.55 kB / 1.351 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 3.226e-06/0.4859, allocations: 0 / 1.351 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.00018/0.4861, allocations: 37.64 kB / 1.351 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.4861, allocations: 51.53 kB / 1.351 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.722e-05/0.4862, allocations: 113.8 kB / 1.351 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.4862, allocations: 25.7 kB / 1.351 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.373e-05/0.4863, allocations: 84.05 kB / 1.351 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.928e-06/0.4863, allocations: 11.84 kB / 1.351 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.4864, allocations: 17.72 kB / 1.351 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.4865, allocations: 318.8 kB / 1.351 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.406e-05/0.4865, allocations: 0 / 1.351 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.498e-05/0.4865, allocations: 17.72 kB / 1.351 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.568e-05/0.4866, allocations: 25.7 kB / 1.351 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4866, allocations: 0 / 1.351 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.449e-05/0.4867, allocations: 45.64 kB / 1.351 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.4867, allocations: 8 kB / 1.351 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.4867, allocations: 4 kB / 1.351 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.4867, allocations: 3.984 kB / 1.351 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.985e-05/0.4868, allocations: 8.062 kB / 1.351 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.4868, allocations: 0 / 1.351 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.804e-05/0.4868, allocations: 4 kB / 1.351 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.4868, allocations: 7.875 kB / 1.351 GB, free: 11.78 MB / 0.8542 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.264e-05/0.4869, allocations: 114.4 kB / 1.352 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.487, allocations: 4 kB / 1.352 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.4871, allocations: 120.9 kB / 1.352 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.976e-05/0.4872, allocations: 180.3 kB / 1.352 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.691e-05/0.4872, allocations: 180.2 kB / 1.352 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.737e-05/0.4873, allocations: 184.3 kB / 1.352 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.4875, allocations: 405.1 kB / 1.353 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-05/0.4876, allocations: 109 kB / 1.353 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.859e-05/0.4876, allocations: 105 kB / 1.353 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.498e-05/0.4877, allocations: 184.2 kB / 1.353 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.629e-05/0.4878, allocations: 176.3 kB / 1.353 GB, free: 9.926 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.894e-05/0.4878, allocations: 184.2 kB / 1.353 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.827e-05/0.4879, allocations: 176.3 kB / 1.353 GB, free: 9.559 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000393/0.4883, allocations: 0.857 MB / 1.354 GB, free: 8.637 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.246e-05/0.4884, allocations: 178.1 kB / 1.354 GB, free: 8.438 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.786e-05/0.4885, allocations: 184.5 kB / 1.355 GB, free: 8.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.4887, allocations: 112.8 kB / 1.355 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.187e-05/0.4888, allocations: 184.3 kB / 1.355 GB, free: 7.945 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.775e-05/0.4888, allocations: 104.9 kB / 1.355 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.946e-05/0.4888, allocations: 87.27 kB / 1.355 GB, free: 7.75 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4889, allocations: 0 / 1.355 GB, free: 7.75 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004456/0.4893, allocations: 59.94 kB / 1.355 GB, free: 7.691 MB / 0.8542 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.0003798/0.4897, allocations: 262.5 kB / 1.355 GB, free: 7.426 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.568e-05/0.4898, allocations: 12 kB / 1.355 GB, free: 7.414 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4898, allocations: 0 / 1.355 GB, free: 7.414 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.4898, allocations: 0 / 1.355 GB, free: 7.414 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.4903, allocations: 0.5303 MB / 1.356 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002953/0.4906, allocations: 179.7 kB / 1.356 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.4908, allocations: 0.677 MB / 1.357 GB, free: 5.977 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.112e-05/0.4909, allocations: 8 kB / 1.357 GB, free: 5.969 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.556e-05/0.4909, allocations: 11.44 kB / 1.357 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of SimCode: time 2.21e-07/0.4909, allocations: 0 / 1.357 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of Templates: time 0.003671/0.4946, allocations: 1.274 MB / 1.358 GB, free: 4.691 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)