Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008653/0.0008653, allocations: 88.67 kB / 16.66 MB, free: 6.598 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.001015/0.001015, allocations: 178.5 kB / 17.58 MB, free: 6.184 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.318/1.318, allocations: 223.3 MB / 241.6 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7618/0.7618, allocations: 115.5 MB / 408.2 MB, free: 7.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003638, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3967, allocations: 77.51 MB / 0.5606 GB, free: 36.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003392/0.4001, allocations: 2.981 MB / 0.5635 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 9.103e-05/0.4002, allocations: 49.23 kB / 0.5635 GB, free: 34.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.612e-05/0.4003, allocations: 2 kB / 0.5635 GB, free: 34.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.4004, allocations: 5.625 kB / 0.5635 GB, free: 34.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.629e-05/0.4005, allocations: 14.45 kB / 0.5636 GB, free: 34.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005441/0.401, allocations: 166.6 kB / 0.5637 GB, free: 34.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.4011, allocations: 63.3 kB / 0.5638 GB, free: 34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.4012, allocations: 6 kB / 0.5638 GB, free: 34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.793e-05/0.4012, allocations: 19.17 kB / 0.5638 GB, free: 33.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.132e-05/0.4013, allocations: 10.7 kB / 0.5638 GB, free: 33.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.4013, allocations: 1.594 kB / 0.5638 GB, free: 33.99 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000354/0.4017, allocations: 172.3 kB / 0.564 GB, free: 33.92 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.932e-05/0.4017, allocations: 8.594 kB / 0.564 GB, free: 33.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.571e-05/0.4018, allocations: 40.22 kB / 0.564 GB, free: 33.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.402, allocations: 90.62 kB / 0.5641 GB, free: 33.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.402, allocations: 1.281 kB / 0.5641 GB, free: 33.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.402, allocations: 0.5312 kB / 0.5641 GB, free: 33.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.402, allocations: 1.844 kB / 0.5641 GB, free: 33.86 MB / 446.1 MB 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.0003396/0.4024, allocations: 335.9 kB / 0.5644 GB, free: 33.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.4024, allocations: 13.5 kB / 0.5644 GB, free: 33.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.4025, allocations: 3.156 kB / 0.5644 GB, free: 33.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.057e-05/0.4026, allocations: 166.4 kB / 0.5646 GB, free: 33.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.247e-05/0.4026, allocations: 30.45 kB / 0.5646 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.4026, allocations: 5.438 kB / 0.5646 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.4028, allocations: 42.98 kB / 0.5647 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.4028, allocations: 2.031 kB / 0.5647 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.4028, allocations: 3.938 kB / 0.5647 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.4028, allocations: 7.469 kB / 0.5647 GB, free: 33.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.673e-05/0.4029, allocations: 12.25 kB / 0.5647 GB, free: 33.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005594/0.4035, allocations: 0.5856 MB / 0.5653 GB, free: 32.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.794e-05/0.4035, allocations: 25.23 kB / 0.5653 GB, free: 32.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.39e-05/0.4036, allocations: 7.297 kB / 0.5653 GB, free: 32.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001774/0.4037, allocations: 343.6 kB / 0.5656 GB, free: 32.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.4038, allocations: 37.55 kB / 0.5657 GB, free: 32.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.303e-06/0.4038, allocations: 0 / 0.5657 GB, free: 32.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001307/0.4039, allocations: 36 kB / 0.5657 GB, free: 32.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.404, allocations: 53.16 kB / 0.5658 GB, free: 32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.246e-05/0.404, allocations: 110.6 kB / 0.5659 GB, free: 31.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.404, allocations: 25.7 kB / 0.5659 GB, free: 31.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.021e-05/0.4041, allocations: 90.14 kB / 0.566 GB, free: 31.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.46e-06/0.4041, allocations: 2.453 kB / 0.566 GB, free: 31.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.967e-05/0.4041, allocations: 10.78 kB / 0.566 GB, free: 31.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.972e-05/0.4042, allocations: 322.9 kB / 0.5663 GB, free: 31.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/0.4042, allocations: 2.172 kB / 0.5663 GB, free: 31.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.973e-05/0.4042, allocations: 16.88 kB / 0.5663 GB, free: 31.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.846e-05/0.4042, allocations: 21.86 kB / 0.5663 GB, free: 31.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.4043, allocations: 0.5312 kB / 0.5663 GB, free: 31.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.663e-05/0.4043, allocations: 54.42 kB / 0.5664 GB, free: 31.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.4043, allocations: 8.656 kB / 0.5664 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.4044, allocations: 1.641 kB / 0.5664 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.4044, allocations: 0.9688 kB / 0.5664 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.464e-05/0.4044, allocations: 6.375 kB / 0.5664 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.4044, allocations: 1 kB / 0.5664 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.847e-05/0.4045, allocations: 1.719 kB / 0.5664 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.4045, allocations: 2.828 kB / 0.5664 GB, free: 31.36 MB / 446.1 MB 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 5.288e-05/0.4045, allocations: 118.6 kB / 0.5665 GB, free: 31.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.4046, allocations: 5.859 kB / 0.5665 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.607e-05/0.4047, allocations: 121.9 kB / 0.5666 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.16e-05/0.4047, allocations: 179 kB / 0.5668 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.202e-05/0.4047, allocations: 181.8 kB / 0.567 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.704e-05/0.4048, allocations: 179.7 kB / 0.5672 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.4049, allocations: 416.6 kB / 0.5676 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/0.4049, allocations: 103.6 kB / 0.5677 GB, free: 30.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.654e-05/0.405, allocations: 102.6 kB / 0.5678 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.904e-05/0.405, allocations: 187.4 kB / 0.5679 GB, free: 29.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.405, allocations: 178.2 kB / 0.5681 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.389e-05/0.4051, allocations: 182.9 kB / 0.5683 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.279e-05/0.4051, allocations: 184 kB / 0.5685 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.05e-05/0.4052, allocations: 310.2 kB / 0.5687 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.4052, allocations: 187.8 kB / 0.5689 GB, free: 28.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.4053, allocations: 182.6 kB / 0.5691 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.4054, allocations: 107 kB / 0.5692 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.4054, allocations: 190.6 kB / 0.5694 GB, free: 28.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.4055, allocations: 103.5 kB / 0.5695 GB, free: 28.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.257e-05/0.4055, allocations: 86.33 kB / 0.5696 GB, free: 27.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4055, allocations: 1.969 kB / 0.5696 GB, free: 27.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003092/0.4058, allocations: 37.2 kB / 0.5696 GB, free: 27.97 MB / 446.1 MB 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.0002539/0.4061, allocations: 233.5 kB / 0.5698 GB, free: 27.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.57e-05/0.4062, allocations: 11 kB / 0.5698 GB, free: 27.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4062, allocations: 1.344 kB / 0.5698 GB, free: 27.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.4062, allocations: 0.75 kB / 0.5698 GB, free: 27.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.4065, allocations: 0.5244 MB / 0.5703 GB, free: 27.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002402/0.4068, allocations: 221.5 kB / 0.5706 GB, free: 27.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.4069, allocations: 0.6749 MB / 0.5712 GB, free: 26.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.966e-05/0.4069, allocations: 10.75 kB / 0.5712 GB, free: 26.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4069, allocations: 0 / 0.5712 GB, free: 26.34 MB / 446.1 MB Notification: Performance of Templates: time 0.003041/0.41, allocations: 1.176 MB / 0.5724 GB, free: 26.23 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)