Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Media.Examples.WaterProperties.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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Media.Examples.WaterProperties") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003827/0.003832, allocations: 359.9 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.443/1.443, allocations: 165.8 MB / 183.1 MB, free: 5.441 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.765/3.765, 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.001782/0.001782, allocations: 198 kB / 0.6668 GB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006631/0.0006631, allocations: 16 kB / 0.7429 GB, free: 8.949 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.49/0.4906, allocations: 67.43 MB / 0.8087 GB, free: 28.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.005105/0.4958, allocations: 4.193 MB / 0.8128 GB, free: 24.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003115/0.499, allocations: 2.443 MB / 0.8152 GB, free: 22.1 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.4991, allocations: 0 / 0.8152 GB, free: 22.1 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.4994, allocations: 31.81 kB / 0.8152 GB, free: 22.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003238/0.4998, allocations: 91.34 kB / 0.8153 GB, free: 21.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.5014, allocations: 394.4 kB / 0.8157 GB, free: 21.6 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000354/0.5017, allocations: 247.9 kB / 0.8159 GB, free: 21.36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.109e-05/0.5018, allocations: 13.55 kB / 0.8159 GB, free: 21.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.502, allocations: 107.6 kB / 0.816 GB, free: 21.24 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.5022, allocations: 87.66 kB / 0.8161 GB, free: 21.15 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.5022, allocations: 8 kB / 0.8161 GB, free: 21.14 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008648/0.5031, allocations: 247.3 kB / 0.8164 GB, free: 20.9 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.37e-05/0.5032, allocations: 39.83 kB / 0.8164 GB, free: 20.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.148e-05/0.5032, allocations: 53.64 kB / 0.8165 GB, free: 20.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003981/0.5037, allocations: 209.6 kB / 0.8167 GB, free: 20.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.5037, allocations: 4 kB / 0.8167 GB, free: 20.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5037, allocations: 0 / 0.8167 GB, free: 20.6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.5037, allocations: 0 / 0.8167 GB, free: 20.6 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006942/0.5044, allocations: 479 kB / 0.8171 GB, free: 20.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.5045, allocations: 8.031 kB / 0.8171 GB, free: 20.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.5047, allocations: 15.91 kB / 0.8171 GB, free: 20.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.5049, allocations: 206.8 kB / 0.8173 GB, free: 19.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.5049, allocations: 20.31 kB / 0.8174 GB, free: 19.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.5049, allocations: 15.95 kB / 0.8174 GB, free: 19.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004529/0.5054, allocations: 248 kB / 0.8176 GB, free: 19.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.5054, allocations: 0 / 0.8176 GB, free: 19.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.5055, allocations: 15.94 kB / 0.8176 GB, free: 19.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.963e-05/0.5055, allocations: 11.98 kB / 0.8176 GB, free: 19.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005808/0.5061, allocations: 427.3 kB / 0.8181 GB, free: 19.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.5074, allocations: 0.941 MB / 0.819 GB, free: 18.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.5077, allocations: 162.4 kB / 0.8191 GB, free: 17.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.5079, allocations: 64.88 kB / 0.8192 GB, free: 17.81 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/0.5091, allocations: 1.825 MB / 0.821 GB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.5092, allocations: 38.56 kB / 0.821 GB, free: 15.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 2.174e-06/0.5092, allocations: 0 / 0.821 GB, free: 15.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003993/0.5096, allocations: 147.6 kB / 0.8211 GB, free: 15.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.012e-05/0.5096, allocations: 55.41 kB / 0.8212 GB, free: 15.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.5098, allocations: 169.2 kB / 0.8214 GB, free: 15.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.5098, allocations: 25.7 kB / 0.8214 GB, free: 15.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.73e-05/0.5099, allocations: 143.8 kB / 0.8215 GB, free: 15.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.51, allocations: 51.27 kB / 0.8216 GB, free: 14.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.222e-05/0.51, allocations: 4 kB / 0.8216 GB, free: 14.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.007e-05/0.5101, allocations: 326.8 kB / 0.8219 GB, free: 14.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.673e-05/0.5102, allocations: 35.97 kB / 0.8219 GB, free: 14.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.5103, allocations: 145.7 kB / 0.8221 GB, free: 14.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.5105, allocations: 51.94 kB / 0.8221 GB, free: 14.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.5105, allocations: 4 kB / 0.8221 GB, free: 14.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004128/0.5109, allocations: 217.8 kB / 0.8223 GB, free: 14.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.5109, allocations: 4 kB / 0.8223 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.5109, allocations: 4 kB / 0.8223 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.511, allocations: 8 kB / 0.8223 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.5113, allocations: 52.39 kB / 0.8224 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.5113, allocations: 7.984 kB / 0.8224 GB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.5115, allocations: 35.69 kB / 0.8224 GB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.5115, allocations: 12 kB / 0.8224 GB, free: 14.01 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001081/0.5116, allocations: 133.7 kB / 0.8226 GB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.424e-05/0.5117, allocations: 15.91 kB / 0.8226 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003901/0.5121, allocations: 166.2 kB / 0.8227 GB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.5121, allocations: 3.938 kB / 0.8227 GB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5121, allocations: 4 kB / 0.8227 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.828e-05/0.5122, allocations: 104.9 kB / 0.8228 GB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.5123, allocations: 8 kB / 0.8229 GB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.5126, allocations: 15.94 kB / 0.8229 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.5126, allocations: 11.98 kB / 0.8229 GB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002783/0.5129, allocations: 192.9 kB / 0.8231 GB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002964/0.5132, allocations: 294.6 kB / 0.8233 GB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.42e-05/0.5133, allocations: 39.97 kB / 0.8234 GB, free: 12.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.54e-05/0.5134, allocations: 124.9 kB / 0.8235 GB, free: 12.87 MB / 378.7 MB Notification: Performance of Backend: time 4.41e-07/0.5134, allocations: 0 / 0.8235 GB, free: 12.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009118/0.5144, allocations: 311 kB / 0.8238 GB, free: 12.56 MB / 378.7 MB Notification: Performance of SimCode: time 0.0008871/0.5153, allocations: 0.8803 MB / 0.8247 GB, free: 11.63 MB / 378.7 MB Notification: Performance of Templates: time 0.01156/0.5268, allocations: 4.394 MB / 0.829 GB, free: 7.27 MB / 378.7 MB