Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001391/0.001391, allocations: 186.4 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.7074/0.7074, allocations: 82.93 MB / 99.42 MB, free: 3.152 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.356/2.356, allocations: 205.4 MB / 325.4 MB, free: 3.336 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.001013/0.001013, allocations: 94.91 kB / 393.6 MB, free: 15.09 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006785/0.0006788, allocations: 12 kB / 471.5 MB, free: 66.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09129/0.092, allocations: 67.45 MB / 0.5263 GB, free: 15.06 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005173/0.09722, allocations: 3.375 MB / 0.5296 GB, free: 11.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002271/0.09749, allocations: 127.7 kB / 0.5298 GB, free: 11.53 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.656e-05/0.09752, allocations: 0 / 0.5298 GB, free: 11.53 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.635e-05/0.09762, allocations: 3.938 kB / 0.5298 GB, free: 11.53 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.05e-05/0.09767, allocations: 11.97 kB / 0.5298 GB, free: 11.52 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.09797, allocations: 48.53 kB / 0.5298 GB, free: 11.47 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.143e-05/0.09804, allocations: 27.95 kB / 0.5298 GB, free: 11.44 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.609e-05/0.09809, allocations: 0 / 0.5298 GB, free: 11.44 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.505e-05/0.09814, allocations: 11.94 kB / 0.5299 GB, free: 11.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.368e-05/0.09821, allocations: 11.98 kB / 0.5299 GB, free: 11.42 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.09823, allocations: 0 / 0.5299 GB, free: 11.42 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.09842, allocations: 39.84 kB / 0.5299 GB, free: 11.38 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.626e-05/0.09846, allocations: 0 / 0.5299 GB, free: 11.38 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.09851, allocations: 29.7 kB / 0.5299 GB, free: 11.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.09863, allocations: 36.19 kB / 0.53 GB, free: 11.31 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.967e-06/0.09864, allocations: 0 / 0.53 GB, free: 11.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.078e-06/0.09866, allocations: 4 kB / 0.53 GB, free: 11.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.964e-06/0.09867, allocations: 0 / 0.53 GB, free: 11.3 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.0004367/0.09911, allocations: 332.1 kB / 0.5303 GB, free: 10.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.09917, allocations: 8.031 kB / 0.5303 GB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/0.09922, allocations: 4 kB / 0.5303 GB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.09937, allocations: 159.1 kB / 0.5304 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.65e-05/0.09946, allocations: 37.64 kB / 0.5305 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.041e-06/0.09948, allocations: 0 / 0.5305 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.09964, allocations: 45.62 kB / 0.5305 GB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.923e-06/0.09967, allocations: 4 kB / 0.5305 GB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.09969, allocations: 0 / 0.5305 GB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.09971, allocations: 0 / 0.5305 GB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.065e-05/0.09978, allocations: 15.98 kB / 0.5305 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005112/0.1003, allocations: 334 kB / 0.5309 GB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.432e-05/0.1004, allocations: 18.58 kB / 0.5309 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.1005, allocations: 85.17 kB / 0.531 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.1005, allocations: 34.5 kB / 0.531 GB, free: 10.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.058e-06/0.1006, allocations: 0 / 0.531 GB, free: 10.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001698/0.1007, allocations: 45.67 kB / 0.531 GB, free: 9.996 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.1008, allocations: 51.41 kB / 0.5311 GB, free: 9.934 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.1009, allocations: 105.8 kB / 0.5312 GB, free: 9.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.1009, allocations: 25.7 kB / 0.5312 GB, free: 9.789 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.101, allocations: 92.17 kB / 0.5313 GB, free: 9.695 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.129e-05/0.101, allocations: 7.906 kB / 0.5313 GB, free: 9.688 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-06/0.1011, allocations: 0 / 0.5313 GB, free: 9.688 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1012, allocations: 318.8 kB / 0.5316 GB, free: 9.367 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.1013, allocations: 4 kB / 0.5316 GB, free: 9.363 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.466e-05/0.1013, allocations: 21.64 kB / 0.5316 GB, free: 9.336 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.537e-05/0.1013, allocations: 4 kB / 0.5316 GB, free: 9.332 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1014, allocations: 4 kB / 0.5316 GB, free: 9.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001204/0.1015, allocations: 49.69 kB / 0.5317 GB, free: 9.273 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1015, allocations: 8.562 kB / 0.5317 GB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.145e-06/0.1015, allocations: 4 kB / 0.5317 GB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1015, allocations: 3.938 kB / 0.5317 GB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.414e-05/0.1016, allocations: 4 kB / 0.5317 GB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.787e-06/0.1016, allocations: 0 / 0.5317 GB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.571e-05/0.1017, allocations: 0 / 0.5317 GB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.1017, allocations: 7.938 kB / 0.5317 GB, free: 9.246 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.0001009/0.1018, allocations: 121.8 kB / 0.5318 GB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.1019, allocations: 4 kB / 0.5318 GB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.102, allocations: 116.9 kB / 0.532 GB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.737e-05/0.1021, allocations: 184.2 kB / 0.5321 GB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-05/0.1022, allocations: 180.3 kB / 0.5323 GB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.477e-05/0.1023, allocations: 188.2 kB / 0.5325 GB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003187/0.1026, allocations: 409.2 kB / 0.5329 GB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.474e-05/0.1027, allocations: 101 kB / 0.533 GB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.974e-05/0.1028, allocations: 108.9 kB / 0.5331 GB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.581e-05/0.1029, allocations: 176.3 kB / 0.5332 GB, free: 7.574 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.342e-05/0.103, allocations: 180.2 kB / 0.5334 GB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.964e-05/0.1031, allocations: 184.2 kB / 0.5336 GB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.479e-05/0.1032, allocations: 184.2 kB / 0.5338 GB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.1034, allocations: 299.8 kB / 0.534 GB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.1035, allocations: 190 kB / 0.5342 GB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.1036, allocations: 184.3 kB / 0.5344 GB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.1039, allocations: 112.9 kB / 0.5345 GB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.623e-05/0.104, allocations: 180.3 kB / 0.5347 GB, free: 6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.155e-05/0.104, allocations: 101 kB / 0.5348 GB, free: 5.895 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.728e-05/0.1041, allocations: 83.28 kB / 0.5349 GB, free: 5.812 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.85e-07/0.1041, allocations: 0 / 0.5349 GB, free: 5.812 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003327/0.1045, allocations: 19.92 kB / 0.5349 GB, free: 5.793 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.0002098/0.1047, allocations: 194.5 kB / 0.5351 GB, free: 5.594 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.258e-05/0.1048, allocations: 8 kB / 0.5351 GB, free: 5.586 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.038e-06/0.1048, allocations: 0 / 0.5351 GB, free: 5.586 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.367e-06/0.1048, allocations: 0 / 0.5351 GB, free: 5.586 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.1053, allocations: 0.5303 MB / 0.5356 GB, free: 5.051 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/0.1056, allocations: 191.8 kB / 0.5358 GB, free: 4.836 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.106, allocations: 0.677 MB / 0.5364 GB, free: 4.133 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.226e-05/0.106, allocations: 7.938 kB / 0.5364 GB, free: 4.125 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.409e-05/0.1061, allocations: 15.44 kB / 0.5365 GB, free: 4.109 MB / 378.7 MB Notification: Performance of SimCode: time 1.314e-06/0.1061, allocations: 0 / 0.5365 GB, free: 4.109 MB / 378.7 MB Notification: Performance of Templates: time 0.00298/0.1091, allocations: 0.5028 MB / 0.5369 GB, free: 3.609 MB / 378.7 MB