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.001356/0.001356, allocations: 183 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7341/0.7341, allocations: 82.93 MB / 99.42 MB, free: 3.27 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.298/2.298, allocations: 205.4 MB / 325.4 MB, free: 3.324 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 99.03 kB / 393.6 MB, free: 15.1 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004709/0.0004711, allocations: 15.98 kB / 471.5 MB, free: 66.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0983/0.09879, allocations: 67.44 MB / 0.5263 GB, free: 15.06 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003942/0.1028, allocations: 2.461 MB / 0.5287 GB, free: 12.58 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004997/0.1033, allocations: 327.3 kB / 0.5291 GB, free: 12.26 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.989e-05/0.1034, allocations: 4 kB / 0.5291 GB, free: 12.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.098e-05/0.1035, allocations: 7.938 kB / 0.5291 GB, free: 12.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.7e-05/0.1035, allocations: 7.969 kB / 0.5291 GB, free: 12.24 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000502/0.104, allocations: 139.6 kB / 0.5292 GB, free: 12.1 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.435e-05/0.1041, allocations: 15.97 kB / 0.5292 GB, free: 12.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.554e-05/0.1041, allocations: 0 / 0.5292 GB, free: 12.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.703e-05/0.1042, allocations: 11.98 kB / 0.5292 GB, free: 12.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.403e-05/0.1042, allocations: 15.92 kB / 0.5293 GB, free: 12.06 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.1043, allocations: 0 / 0.5293 GB, free: 12.06 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003277/0.1046, allocations: 95.81 kB / 0.5293 GB, free: 11.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.436e-05/0.1047, allocations: 11.98 kB / 0.5294 GB, free: 11.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.1047, allocations: 33.7 kB / 0.5294 GB, free: 11.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.1049, allocations: 56.17 kB / 0.5294 GB, free: 11.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.629e-06/0.1049, allocations: 0 / 0.5294 GB, free: 11.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.822e-06/0.1049, allocations: 0 / 0.5294 GB, free: 11.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.78e-06/0.1049, allocations: 0 / 0.5294 GB, free: 11.86 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.000424/0.1054, allocations: 339.2 kB / 0.5298 GB, free: 11.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1054, allocations: 8.031 kB / 0.5298 GB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.1055, allocations: 4 kB / 0.5298 GB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.1056, allocations: 167 kB / 0.5299 GB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.819e-05/0.1057, allocations: 37.66 kB / 0.53 GB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.1057, allocations: 0 / 0.53 GB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.1059, allocations: 37.69 kB / 0.53 GB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1059, allocations: 0 / 0.53 GB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.1059, allocations: 3.984 kB / 0.53 GB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.106, allocations: 4 kB / 0.53 GB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.053e-05/0.106, allocations: 12 kB / 0.53 GB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007278/0.1068, allocations: 0.5794 MB / 0.5306 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.607e-05/0.1068, allocations: 22.52 kB / 0.5306 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003046/0.1072, allocations: 332.5 kB / 0.5309 GB, free: 10.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.1072, allocations: 38.5 kB / 0.531 GB, free: 9.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.217e-06/0.1072, allocations: 0 / 0.531 GB, free: 9.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001569/0.1074, allocations: 37.64 kB / 0.531 GB, free: 9.938 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.1074, allocations: 55.47 kB / 0.5311 GB, free: 9.871 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.1076, allocations: 106 kB / 0.5312 GB, free: 9.758 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.1076, allocations: 25.7 kB / 0.5312 GB, free: 9.727 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.265e-05/0.1077, allocations: 88.05 kB / 0.5313 GB, free: 9.637 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.063e-05/0.1077, allocations: 3.906 kB / 0.5313 GB, free: 9.633 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.1077, allocations: 0 / 0.5313 GB, free: 9.633 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1079, allocations: 318.8 kB / 0.5316 GB, free: 9.312 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.094e-05/0.1079, allocations: 7.984 kB / 0.5316 GB, free: 9.305 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.425e-05/0.1079, allocations: 21.75 kB / 0.5316 GB, free: 9.277 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.927e-05/0.108, allocations: 8 kB / 0.5316 GB, free: 9.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.095e-06/0.108, allocations: 0 / 0.5316 GB, free: 9.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001095/0.1081, allocations: 45.62 kB / 0.5317 GB, free: 9.219 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1081, allocations: 4 kB / 0.5317 GB, free: 9.215 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.4e-06/0.1082, allocations: 4 kB / 0.5317 GB, free: 9.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1082, allocations: 0 / 0.5317 GB, free: 9.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.389e-05/0.1082, allocations: 4 kB / 0.5317 GB, free: 9.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.1083, allocations: 8.031 kB / 0.5317 GB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.951e-05/0.1083, allocations: 11.94 kB / 0.5317 GB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.1083, allocations: 4 kB / 0.5317 GB, free: 9.184 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 0.0001072/0.1085, allocations: 109.8 kB / 0.5318 GB, free: 9.066 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.1085, allocations: 4 kB / 0.5318 GB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.1087, allocations: 123.8 kB / 0.5319 GB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.878e-05/0.1088, allocations: 180.3 kB / 0.5321 GB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.181e-05/0.1089, allocations: 184.2 kB / 0.5323 GB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.035e-05/0.109, allocations: 176.3 kB / 0.5324 GB, free: 8.383 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.1093, allocations: 409.2 kB / 0.5328 GB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.379e-05/0.1094, allocations: 104.9 kB / 0.5329 GB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-05/0.1094, allocations: 105 kB / 0.533 GB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.702e-05/0.1095, allocations: 188.2 kB / 0.5332 GB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.874e-05/0.1096, allocations: 176.3 kB / 0.5334 GB, free: 7.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.256e-05/0.1097, allocations: 176.3 kB / 0.5335 GB, free: 7.156 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.789e-05/0.1098, allocations: 192.2 kB / 0.5337 GB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.1101, allocations: 311.7 kB / 0.534 GB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.1102, allocations: 190 kB / 0.5342 GB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.1103, allocations: 176.3 kB / 0.5344 GB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.1105, allocations: 116.9 kB / 0.5345 GB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.167e-05/0.1106, allocations: 180.3 kB / 0.5347 GB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.9e-05/0.1107, allocations: 105.2 kB / 0.5348 GB, free: 5.828 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.462e-05/0.1108, allocations: 91.27 kB / 0.5348 GB, free: 5.738 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.65e-07/0.1108, allocations: 0 / 0.5348 GB, free: 5.738 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003728/0.1112, allocations: 32 kB / 0.5349 GB, free: 5.707 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003163/0.1115, allocations: 234.4 kB / 0.5351 GB, free: 5.469 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.03e-05/0.1116, allocations: 8 kB / 0.5351 GB, free: 5.461 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1116, allocations: 0 / 0.5351 GB, free: 5.461 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.485e-06/0.1116, allocations: 3.938 kB / 0.5351 GB, free: 5.457 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.1121, allocations: 0.5303 MB / 0.5356 GB, free: 4.922 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.1124, allocations: 183.5 kB / 0.5358 GB, free: 4.719 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.1128, allocations: 0.6731 MB / 0.5365 GB, free: 4.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.388e-05/0.1128, allocations: 7.984 kB / 0.5365 GB, free: 4.012 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.1129, allocations: 11.44 kB / 0.5365 GB, free: 4 MB / 378.7 MB Notification: Performance of SimCode: time 3.622e-06/0.1129, allocations: 4 kB / 0.5365 GB, free: 3.996 MB / 378.7 MB Notification: Performance of Templates: time 0.004218/0.1171, allocations: 1.081 MB / 0.5375 GB, free: 2.953 MB / 378.7 MB