Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009178/0.009178, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.002117/0.002117, allocations: 192.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.1 MB / 222.6 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.604/1.604, allocations: 251.7 MB / 0.5094 GB, free: 2.992 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 71.89 kB / 0.7258 GB, free: 9.082 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2619, allocations: 104.7 MB / 0.828 GB, free: 288 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.006612/0.2686, allocations: 3.298 MB / 0.8313 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001467/0.2688, allocations: 51.84 kB / 0.8313 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.539e-05/0.2688, allocations: 4 kB / 0.8313 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.269, allocations: 3.938 kB / 0.8313 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.603e-05/0.2691, allocations: 11.92 kB / 0.8313 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007492/0.2699, allocations: 167.3 kB / 0.8315 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.27, allocations: 35.84 kB / 0.8315 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.275e-05/0.2701, allocations: 4 kB / 0.8315 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.608e-05/0.2701, allocations: 8 kB / 0.8315 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.588e-05/0.2702, allocations: 23.91 kB / 0.8316 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.2703, allocations: 7.938 kB / 0.8316 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004538/0.2707, allocations: 171.6 kB / 0.8317 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.368e-05/0.2708, allocations: 0 / 0.8317 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.256e-05/0.2708, allocations: 11.92 kB / 0.8317 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004099/0.2713, allocations: 134.6 kB / 0.8319 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2713, allocations: 4 kB / 0.8319 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.815e-06/0.2713, allocations: 0 / 0.8319 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.2713, allocations: 0 / 0.8319 GB, free: 12.34 MB / 0.6544 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.0006107/0.2719, allocations: 351.3 kB / 0.8322 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.272, allocations: 8.031 kB / 0.8322 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.556e-05/0.272, allocations: 4.938 kB / 0.8322 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.2722, allocations: 168.3 kB / 0.8324 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.515e-05/0.2723, allocations: 34.19 kB / 0.8324 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.2723, allocations: 4.375 kB / 0.8324 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.2725, allocations: 45.62 kB / 0.8325 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2725, allocations: 0 / 0.8325 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.2725, allocations: 0 / 0.8325 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.2725, allocations: 4 kB / 0.8325 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.684e-05/0.2726, allocations: 15.98 kB / 0.8325 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008016/0.2734, allocations: 0.5794 MB / 0.833 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.443e-05/0.2735, allocations: 22.56 kB / 0.8331 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.862e-05/0.2735, allocations: 8.859 kB / 0.8331 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002747/0.2738, allocations: 344.4 kB / 0.8334 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.2738, allocations: 30.56 kB / 0.8334 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.303e-06/0.2738, allocations: 4 kB / 0.8334 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.000168/0.274, allocations: 37.62 kB / 0.8335 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.2741, allocations: 51.41 kB / 0.8335 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.2742, allocations: 101.9 kB / 0.8336 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.2742, allocations: 29.69 kB / 0.8336 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.22e-05/0.2743, allocations: 84.22 kB / 0.8337 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.21e-05/0.2743, allocations: 19.81 kB / 0.8337 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.093e-05/0.2744, allocations: 17.72 kB / 0.8338 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.2745, allocations: 318.8 kB / 0.8341 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.858e-05/0.2745, allocations: 3.984 kB / 0.8341 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.082e-05/0.2746, allocations: 17.72 kB / 0.8341 GB, free: 9.691 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.343e-05/0.2746, allocations: 21.72 kB / 0.8341 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.2746, allocations: 0 / 0.8341 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001222/0.2748, allocations: 49.62 kB / 0.8342 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.2748, allocations: 4 kB / 0.8342 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2748, allocations: 4 kB / 0.8342 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.2748, allocations: 0 / 0.8342 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.337e-05/0.2749, allocations: 7.984 kB / 0.8342 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.2749, allocations: 3.938 kB / 0.8342 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.592e-05/0.2749, allocations: 4 kB / 0.8342 GB, free: 9.586 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.275, allocations: 3.938 kB / 0.8342 GB, free: 9.582 MB / 0.6544 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 9.445e-05/0.2751, allocations: 117.8 kB / 0.8343 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.2751, allocations: 4 kB / 0.8343 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.2753, allocations: 123.9 kB / 0.8344 GB, free: 9.32 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.515e-05/0.2754, allocations: 184.2 kB / 0.8346 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.974e-05/0.2754, allocations: 180.3 kB / 0.8348 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.266e-05/0.2755, allocations: 180.3 kB / 0.8349 GB, free: 8.766 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.2758, allocations: 417 kB / 0.8353 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.785e-05/0.2759, allocations: 105.1 kB / 0.8354 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-05/0.2759, allocations: 108.9 kB / 0.8355 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.539e-05/0.276, allocations: 180.2 kB / 0.8357 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.09e-05/0.2761, allocations: 180.3 kB / 0.8359 GB, free: 7.711 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.212e-05/0.2762, allocations: 180.2 kB / 0.8361 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.37e-05/0.2763, allocations: 180.3 kB / 0.8362 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.2764, allocations: 311.7 kB / 0.8365 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.969e-05/0.2765, allocations: 178.1 kB / 0.8367 GB, free: 6.816 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.122e-05/0.2766, allocations: 184.2 kB / 0.8369 GB, free: 6.629 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.2768, allocations: 113 kB / 0.837 GB, free: 6.512 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.252e-05/0.2769, allocations: 184.2 kB / 0.8372 GB, free: 6.324 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.784e-05/0.2769, allocations: 105 kB / 0.8373 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.5e-05/0.277, allocations: 87.27 kB / 0.8373 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.277, allocations: 0 / 0.8373 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003159/0.2773, allocations: 35.88 kB / 0.8374 GB, free: 6.094 MB / 0.6544 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.0003313/0.2777, allocations: 230.3 kB / 0.8376 GB, free: 5.855 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.773e-05/0.2778, allocations: 11.94 kB / 0.8376 GB, free: 5.844 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2778, allocations: 0 / 0.8376 GB, free: 5.844 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.978e-06/0.2778, allocations: 3.984 kB / 0.8376 GB, free: 5.84 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000495/0.2783, allocations: 466.4 kB / 0.838 GB, free: 5.383 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.2786, allocations: 197.8 kB / 0.8382 GB, free: 5.164 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.2789, allocations: 0.6729 MB / 0.8389 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.378e-05/0.2789, allocations: 8.219 kB / 0.8389 GB, free: 4.457 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.279, allocations: 11.42 kB / 0.8389 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.279, allocations: 0 / 0.8389 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of Templates: time 0.004303/0.2833, allocations: 1.167 MB / 0.8401 GB, free: 3.332 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)