Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003539/0.003539, allocations: 356.5 kB / 16.59 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.521/1.521, allocations: 165.8 MB / 183.1 MB, free: 5.438 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.699/3.699, allocations: 410.8 MB / 0.6001 GB, free: 15.06 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001754/0.001754, allocations: 186.1 kB / 0.6668 GB, free: 6.902 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004469/0.0004471, allocations: 16 kB / 0.7429 GB, free: 8.93 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3931, allocations: 67.43 MB / 0.8087 GB, free: 28.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003436/0.3966, allocations: 2.551 MB / 0.8112 GB, free: 26.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004313/0.3971, allocations: 375.1 kB / 0.8116 GB, free: 25.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.739e-05/0.3971, allocations: 0 / 0.8116 GB, free: 25.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.166e-05/0.3972, allocations: 0 / 0.8116 GB, free: 25.83 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.955e-05/0.3973, allocations: 15.91 kB / 0.8116 GB, free: 25.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004689/0.3978, allocations: 128.7 kB / 0.8117 GB, free: 25.69 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 7.701e-05/0.3979, allocations: 51.81 kB / 0.8118 GB, free: 25.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.528e-05/0.3979, allocations: 0 / 0.8118 GB, free: 25.64 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.683e-05/0.398, allocations: 15.98 kB / 0.8118 GB, free: 25.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.489e-05/0.3981, allocations: 15.92 kB / 0.8118 GB, free: 25.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.3981, allocations: 0 / 0.8118 GB, free: 25.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003033/0.3984, allocations: 87.67 kB / 0.8119 GB, free: 25.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.125e-05/0.3984, allocations: 8 kB / 0.8119 GB, free: 25.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.882e-05/0.3985, allocations: 25.7 kB / 0.8119 GB, free: 25.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.3986, allocations: 65.98 kB / 0.812 GB, free: 25.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.3987, allocations: 4 kB / 0.812 GB, free: 25.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3987, allocations: 0 / 0.812 GB, free: 25.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.3987, allocations: 0 / 0.812 GB, free: 25.42 MB / 378.7 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.0003239/0.399, allocations: 331.3 kB / 0.8123 GB, free: 25.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.3991, allocations: 8.031 kB / 0.8123 GB, free: 25.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.3991, allocations: 11.84 kB / 0.8123 GB, free: 25.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.546e-05/0.3992, allocations: 163.1 kB / 0.8125 GB, free: 24.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.461e-05/0.3993, allocations: 41.64 kB / 0.8125 GB, free: 24.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.3993, allocations: 3.984 kB / 0.8125 GB, free: 24.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.3995, allocations: 41.69 kB / 0.8126 GB, free: 24.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3995, allocations: 0 / 0.8126 GB, free: 24.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.3995, allocations: 4 kB / 0.8126 GB, free: 24.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.3995, allocations: 7.938 kB / 0.8126 GB, free: 24.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.187e-05/0.3996, allocations: 15.98 kB / 0.8126 GB, free: 24.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006649/0.4003, allocations: 0.5832 MB / 0.8132 GB, free: 24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.341e-05/0.4003, allocations: 26.58 kB / 0.8132 GB, free: 23.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.901e-05/0.4004, allocations: 4.859 kB / 0.8132 GB, free: 23.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002879/0.4007, allocations: 340.5 kB / 0.8135 GB, free: 23.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.4007, allocations: 38.55 kB / 0.8135 GB, free: 23.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.693e-06/0.4007, allocations: 0 / 0.8135 GB, free: 23.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001425/0.4009, allocations: 37.64 kB / 0.8136 GB, free: 23.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.636e-05/0.4009, allocations: 51.41 kB / 0.8136 GB, free: 23.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.379e-05/0.401, allocations: 110 kB / 0.8137 GB, free: 23.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.401, allocations: 25.7 kB / 0.8138 GB, free: 23.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.162e-05/0.401, allocations: 84.05 kB / 0.8138 GB, free: 23.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.083e-06/0.401, allocations: 7.906 kB / 0.8138 GB, free: 23.15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-06/0.4011, allocations: 0 / 0.8138 GB, free: 23.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.594e-05/0.4011, allocations: 314.8 kB / 0.8141 GB, free: 22.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.007e-05/0.4011, allocations: 11.98 kB / 0.8142 GB, free: 22.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.465e-05/0.4012, allocations: 9.719 kB / 0.8142 GB, free: 22.81 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.199e-05/0.4012, allocations: 8 kB / 0.8142 GB, free: 22.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.4012, allocations: 4 kB / 0.8142 GB, free: 22.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.736e-05/0.4013, allocations: 49.62 kB / 0.8142 GB, free: 22.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.4014, allocations: 6.812 kB / 0.8142 GB, free: 22.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4014, allocations: 0 / 0.8142 GB, free: 22.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.4014, allocations: 0 / 0.8142 GB, free: 22.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.655e-05/0.4015, allocations: 8 kB / 0.8142 GB, free: 22.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.4015, allocations: 0 / 0.8142 GB, free: 22.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.647e-05/0.4015, allocations: 4.062 kB / 0.8142 GB, free: 22.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.4015, allocations: 7.984 kB / 0.8143 GB, free: 22.72 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.991e-05/0.4016, allocations: 114.9 kB / 0.8144 GB, free: 22.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.4017, allocations: 3.938 kB / 0.8144 GB, free: 22.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.728e-05/0.4018, allocations: 120.8 kB / 0.8145 GB, free: 22.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.124e-05/0.4018, allocations: 180.2 kB / 0.8147 GB, free: 22.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.966e-05/0.4018, allocations: 116.9 kB / 0.8148 GB, free: 22.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.4019, allocations: 178.1 kB / 0.8149 GB, free: 21.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.224e-05/0.4019, allocations: 184.2 kB / 0.8151 GB, free: 21.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.4021, allocations: 105 kB / 0.8152 GB, free: 21.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.4022, allocations: 180.3 kB / 0.8154 GB, free: 21.48 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.655e-05/0.4022, allocations: 267.4 kB / 0.8156 GB, free: 21.21 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001045/0.4024, allocations: 382.9 kB / 0.816 GB, free: 20.81 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.676e-05/0.4024, allocations: 109.3 kB / 0.8161 GB, free: 20.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.718e-05/0.4024, allocations: 87.27 kB / 0.8162 GB, free: 20.61 MB / 378.7 MB Notification: Performance of Backend: time 6.21e-07/0.4024, allocations: 0 / 0.8162 GB, free: 20.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005168/0.403, allocations: 150.2 kB / 0.8163 GB, free: 20.46 MB / 378.7 MB Notification: Performance of SimCode: time 0.0004238/0.4034, allocations: 0.9281 MB / 0.8172 GB, free: 19.48 MB / 378.7 MB Notification: Performance of Templates: time 0.004067/0.4075, allocations: 1.059 MB / 0.8183 GB, free: 18.47 MB / 378.7 MB