Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Media.Examples.WaterDerivativeCheck.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.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00366/0.003666, allocations: 358 kB / 16.58 MB, free: 5.57 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.401/1.401, allocations: 165.8 MB / 183.1 MB, free: 5.504 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.654/3.654, allocations: 410.7 MB / 0.6001 GB, free: 15.1 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: 205.7 kB / 0.6668 GB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004568/0.0004574, allocations: 12 kB / 0.7429 GB, free: 8.984 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3911, allocations: 67.43 MB / 0.8087 GB, free: 28.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8922/1.283, allocations: 327.3 MB / 1.128 GB, free: 2.668 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003879/1.284, allocations: 68.59 kB / 1.128 GB, free: 2.633 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.05481/1.339, allocations: 13.03 MB / 1.141 GB, free: 8.332 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.565e-06/1.339, allocations: 4 kB / 1.141 GB, free: 8.328 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.601e-06/1.339, allocations: 0 / 1.141 GB, free: 8.328 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003975/1.339, allocations: 342.9 kB / 1.142 GB, free: 7.949 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/1.339, allocations: 12.03 kB / 1.142 GB, free: 7.938 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/1.339, allocations: 7.906 kB / 1.142 GB, free: 7.93 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/1.339, allocations: 163 kB / 1.142 GB, free: 7.73 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/1.339, allocations: 3.5 kB / 1.142 GB, free: 7.73 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/1.339, allocations: 4 kB / 1.142 GB, free: 7.727 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/1.34, allocations: 65.22 kB / 1.142 GB, free: 7.664 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/1.34, allocations: 3.953 kB / 1.142 GB, free: 7.66 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/1.34, allocations: 0 / 1.142 GB, free: 7.66 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/1.34, allocations: 4 kB / 1.142 GB, free: 7.656 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.038e-05/1.34, allocations: 19.09 kB / 1.142 GB, free: 7.641 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000203/1.34, allocations: 161 kB / 1.142 GB, free: 7.441 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/1.34, allocations: 58 kB / 1.142 GB, free: 7.383 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.238e-05/1.34, allocations: 24.22 kB / 1.142 GB, free: 7.359 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009315/1.341, allocations: 0.597 MB / 1.143 GB, free: 6.668 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/1.341, allocations: 38.48 kB / 1.143 GB, free: 6.621 MB / 0.573 GB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/1.341, allocations: 0 / 1.143 GB, free: 6.621 MB / 0.573 GB Notification: Performance of matching and sorting (n=7): time 0.0006961/1.342, allocations: 299.4 kB / 1.143 GB, free: 6.301 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/1.342, allocations: 51.41 kB / 1.143 GB, free: 6.238 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.751e-05/1.342, allocations: 97.73 kB / 1.143 GB, free: 6.137 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/1.342, allocations: 29.7 kB / 1.143 GB, free: 6.102 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 5.157e-05/1.342, allocations: 91.91 kB / 1.143 GB, free: 6.012 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/1.342, allocations: 27.31 kB / 1.143 GB, free: 5.988 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-06/1.342, allocations: 0 / 1.143 GB, free: 5.988 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001248/1.342, allocations: 321.9 kB / 1.144 GB, free: 5.668 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.171e-05/1.342, allocations: 15.06 kB / 1.144 GB, free: 5.656 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.186e-05/1.342, allocations: 52.39 kB / 1.144 GB, free: 5.59 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.969e-05/1.343, allocations: 19 kB / 1.144 GB, free: 5.578 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.343, allocations: 0 / 1.144 GB, free: 5.578 MB / 0.573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001972/1.343, allocations: 95.42 kB / 1.144 GB, free: 5.492 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/1.343, allocations: 4 kB / 1.144 GB, free: 5.488 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/1.343, allocations: 4 kB / 1.144 GB, free: 5.484 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/1.343, allocations: 0 / 1.144 GB, free: 5.484 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/1.343, allocations: 24.2 kB / 1.144 GB, free: 5.461 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/1.343, allocations: 4 kB / 1.144 GB, free: 5.457 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.754e-05/1.343, allocations: 3.812 kB / 1.144 GB, free: 5.457 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/1.343, allocations: 7.938 kB / 1.144 GB, free: 5.449 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 9.989e-05/1.343, allocations: 121.9 kB / 1.144 GB, free: 5.324 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/1.343, allocations: 7.906 kB / 1.144 GB, free: 5.316 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.113e-05/1.343, allocations: 15.81 kB / 1.144 GB, free: 5.301 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/1.343, allocations: 0 / 1.144 GB, free: 5.301 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/1.343, allocations: 0 / 1.144 GB, free: 5.301 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/1.343, allocations: 4 kB / 1.144 GB, free: 5.297 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003602/1.344, allocations: 176.3 kB / 1.144 GB, free: 5.082 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/1.344, allocations: 4 kB / 1.144 GB, free: 5.078 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/1.344, allocations: 15.94 kB / 1.144 GB, free: 5.062 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/1.344, allocations: 0 / 1.144 GB, free: 5.062 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/1.344, allocations: 4 kB / 1.144 GB, free: 5.059 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/1.344, allocations: 0 / 1.144 GB, free: 5.059 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/1.344, allocations: 8.422 kB / 1.144 GB, free: 5.051 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/1.344, allocations: 161.7 kB / 1.144 GB, free: 4.891 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.098e-05/1.344, allocations: 89 kB / 1.144 GB, free: 4.785 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/1.344, allocations: 4 kB / 1.144 GB, free: 4.781 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/1.344, allocations: 4 kB / 1.144 GB, free: 4.777 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/1.344, allocations: 15.55 kB / 1.144 GB, free: 4.766 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/1.344, allocations: 4 kB / 1.144 GB, free: 4.762 MB / 0.573 GB Notification: Performance of sorting global known variables: time 4.496e-05/1.345, allocations: 79.28 kB / 1.144 GB, free: 4.684 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.312e-05/1.345, allocations: 0 / 1.144 GB, free: 4.684 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003153/1.345, allocations: 19.31 kB / 1.144 GB, free: 4.668 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001918/1.345, allocations: 118.6 kB / 1.145 GB, free: 4.547 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001421/1.345, allocations: 43.17 kB / 1.145 GB, free: 4.512 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.345, allocations: 0 / 1.145 GB, free: 4.512 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 3.82e-05/1.345, allocations: 12.16 kB / 1.145 GB, free: 4.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/1.346, allocations: 14.42 kB / 1.145 GB, free: 4.492 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008411/1.346, allocations: 394.2 kB / 1.145 GB, free: 4.086 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/1.347, allocations: 0.6887 MB / 1.146 GB, free: 3.371 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 8.701e-05/1.347, allocations: 7.938 kB / 1.146 GB, free: 3.363 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/1.347, allocations: 11.44 kB / 1.146 GB, free: 3.352 MB / 0.573 GB Notification: Performance of SimCode: time 8.11e-07/1.347, allocations: 4 kB / 1.146 GB, free: 3.348 MB / 0.573 GB Notification: Performance of Templates: time 0.004155/1.351, allocations: 0.8455 MB / 1.147 GB, free: 2.512 MB / 0.573 GB