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.002398/0.002397, allocations: 354.4 kB / 15.94 MB, free: 6.211 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.437/1.437, allocations: 165.8 MB / 182.5 MB, free: 5.473 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.84/3.84, allocations: 410.8 MB / 0.5995 GB, free: 15.18 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.001705/0.001705, allocations: 198.6 kB / 0.6662 GB, free: 6.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009575/0.0009578, allocations: 12 kB / 0.7423 GB, free: 9.004 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3417, allocations: 67.44 MB / 0.8081 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.004434/0.3462, allocations: 4.181 MB / 0.8122 GB, free: 24.6 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002857/0.3491, allocations: 2.447 MB / 0.8146 GB, free: 22.15 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.3492, allocations: 4 kB / 0.8146 GB, free: 22.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.3495, allocations: 27.81 kB / 0.8146 GB, free: 22.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002367/0.3497, allocations: 87.42 kB / 0.8147 GB, free: 22.03 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.3508, allocations: 395.6 kB / 0.8151 GB, free: 21.65 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000231/0.3511, allocations: 259.9 kB / 0.8153 GB, free: 21.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/0.3511, allocations: 13.55 kB / 0.8154 GB, free: 21.38 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.3513, allocations: 103.6 kB / 0.8155 GB, free: 21.28 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.3515, allocations: 87.66 kB / 0.8155 GB, free: 21.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.3515, allocations: 8 kB / 0.8155 GB, free: 21.19 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005991/0.3521, allocations: 243.3 kB / 0.8158 GB, free: 20.95 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.415e-05/0.3522, allocations: 39.83 kB / 0.8158 GB, free: 20.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.148e-05/0.3522, allocations: 57.64 kB / 0.8159 GB, free: 20.85 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.3526, allocations: 209.6 kB / 0.8161 GB, free: 20.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.766e-06/0.3526, allocations: 7.938 kB / 0.8161 GB, free: 20.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.729e-06/0.3526, allocations: 0 / 0.8161 GB, free: 20.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.3526, allocations: 0 / 0.8161 GB, free: 20.64 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.0006017/0.3532, allocations: 471 kB / 0.8165 GB, free: 20.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.3533, allocations: 12.03 kB / 0.8165 GB, free: 20.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.3535, allocations: 19.89 kB / 0.8166 GB, free: 20.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.3537, allocations: 206.8 kB / 0.8168 GB, free: 19.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.3537, allocations: 28.28 kB / 0.8168 GB, free: 19.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.3537, allocations: 12 kB / 0.8168 GB, free: 19.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/0.3541, allocations: 240.1 kB / 0.817 GB, free: 19.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3542, allocations: 3.938 kB / 0.817 GB, free: 19.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/0.3542, allocations: 15.97 kB / 0.817 GB, free: 19.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/0.3542, allocations: 4 kB / 0.817 GB, free: 19.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005001/0.3547, allocations: 431.3 kB / 0.8175 GB, free: 19.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.3558, allocations: 0.941 MB / 0.8184 GB, free: 18.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.3561, allocations: 159.2 kB / 0.8185 GB, free: 17.92 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.3563, allocations: 64.81 kB / 0.8186 GB, free: 17.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/0.3574, allocations: 1.829 MB / 0.8204 GB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.3574, allocations: 42.56 kB / 0.8204 GB, free: 15.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 2.599e-06/0.3574, allocations: 0 / 0.8204 GB, free: 15.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003622/0.3578, allocations: 141.4 kB / 0.8206 GB, free: 15.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/0.3579, allocations: 55.34 kB / 0.8206 GB, free: 15.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.358, allocations: 169.1 kB / 0.8208 GB, free: 15.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.358, allocations: 37.69 kB / 0.8208 GB, free: 15.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.296e-05/0.3581, allocations: 139.8 kB / 0.8209 GB, free: 15.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/0.3582, allocations: 47.27 kB / 0.821 GB, free: 15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.102e-05/0.3582, allocations: 12 kB / 0.821 GB, free: 14.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.48e-05/0.3582, allocations: 322.8 kB / 0.8213 GB, free: 14.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.137e-05/0.3583, allocations: 35.97 kB / 0.8213 GB, free: 14.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.3585, allocations: 141.7 kB / 0.8215 GB, free: 14.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.3586, allocations: 59.92 kB / 0.8215 GB, free: 14.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.338e-06/0.3586, allocations: 0 / 0.8215 GB, free: 14.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003709/0.359, allocations: 212.7 kB / 0.8217 GB, free: 14.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.359, allocations: 10.66 kB / 0.8217 GB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.359, allocations: 4 kB / 0.8217 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.3591, allocations: 4 kB / 0.8217 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.3593, allocations: 63.78 kB / 0.8218 GB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/0.3594, allocations: 4 kB / 0.8218 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.3595, allocations: 31.64 kB / 0.8218 GB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/0.3596, allocations: 16 kB / 0.8219 GB, free: 14.05 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.000138/0.3597, allocations: 133.9 kB / 0.822 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.737e-05/0.3598, allocations: 11.91 kB / 0.822 GB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003228/0.3601, allocations: 158.9 kB / 0.8221 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.3602, allocations: 7.938 kB / 0.8222 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.445e-06/0.3602, allocations: 0 / 0.8222 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.223e-06/0.3602, allocations: 0 / 0.8222 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.3605, allocations: 217.5 kB / 0.8224 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.131e-06/0.3605, allocations: 0 / 0.8224 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.3606, allocations: 24 kB / 0.8224 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.266e-06/0.3606, allocations: 4 kB / 0.8224 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.3607, allocations: 11.97 kB / 0.8224 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.703e-06/0.3607, allocations: 0 / 0.8224 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.921e-06/0.3607, allocations: 0 / 0.8224 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.3609, allocations: 219.3 kB / 0.8226 GB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.973e-05/0.361, allocations: 108.8 kB / 0.8227 GB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.3611, allocations: 7.984 kB / 0.8227 GB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.3613, allocations: 16 kB / 0.8227 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.3614, allocations: 7.984 kB / 0.8227 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.3614, allocations: 15.98 kB / 0.8228 GB, free: 13.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.975e-05/0.3615, allocations: 120.9 kB / 0.8229 GB, free: 12.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.3615, allocations: 0 / 0.8229 GB, free: 12.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005143/0.362, allocations: 72 kB / 0.8229 GB, free: 12.84 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 (15): * Single equations (assignments): 14 * 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 Backend phase and start with SimCode phase: time 0.0002544/0.3623, allocations: 159.2 kB / 0.8231 GB, free: 12.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002665/0.3626, allocations: 119.7 kB / 0.8232 GB, free: 12.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3626, allocations: 0 / 0.8232 GB, free: 12.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.911e-05/0.3627, allocations: 49.03 kB / 0.8233 GB, free: 12.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005783/0.3633, allocations: 56.8 kB / 0.8233 GB, free: 12.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000729/0.364, allocations: 431.3 kB / 0.8237 GB, free: 12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.3642, allocations: 0.7211 MB / 0.8244 GB, free: 11.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002341/0.3645, allocations: 45.89 kB / 0.8245 GB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.804e-05/0.3645, allocations: 27.44 kB / 0.8245 GB, free: 11.19 MB / 378.7 MB Notification: Performance of SimCode: time 1.47e-06/0.3645, allocations: 0 / 0.8245 GB, free: 11.19 MB / 378.7 MB Notification: Performance of Templates: time 0.007927/0.3725, allocations: 3.138 MB / 0.8276 GB, free: 8.086 MB / 378.7 MB