Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.176/2.176, allocations: 253.2 MB / 260.6 MB, free: 7.453 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001505/0.001504, allocations: 180.9 kB / 319.9 MB, free: 3.074 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.6 MB / 0.5708 GB, free: 15.27 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 102.7 kB / 0.6751 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.117e-05/2.104e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.193, allocations: 106.2 MB / 0.8887 GB, free: 11.9 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.245/1.438, allocations: 359.5 MB / 1.24 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/1.439, allocations: 69.59 kB / 1.24 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.6113/2.05, allocations: 12.66 MB / 1.252 GB, free: 311.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.144e-06/2.05, allocations: 2.062 kB / 1.252 GB, free: 311.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.115e-05/2.05, allocations: 0 / 1.252 GB, free: 311.8 MB / 0.8542 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.0003912/2.051, allocations: 337.9 kB / 1.252 GB, free: 311.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/2.051, allocations: 15.05 kB / 1.252 GB, free: 311.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/2.051, allocations: 8.234 kB / 1.252 GB, free: 311.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.016e-05/2.051, allocations: 161.8 kB / 1.253 GB, free: 311.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/2.051, allocations: 1.531 kB / 1.253 GB, free: 311.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/2.051, allocations: 4.641 kB / 1.253 GB, free: 311.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001069/2.051, allocations: 19.19 kB / 1.253 GB, free: 311.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/2.051, allocations: 49.59 kB / 1.253 GB, free: 311.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/2.051, allocations: 0 / 1.253 GB, free: 311.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/2.051, allocations: 0.5625 kB / 1.253 GB, free: 311.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/2.051, allocations: 1.734 kB / 1.253 GB, free: 311.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/2.051, allocations: 144.6 kB / 1.253 GB, free: 311 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/2.052, allocations: 44.08 kB / 1.253 GB, free: 311 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.172e-05/2.052, allocations: 15.81 kB / 1.253 GB, free: 311 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009305/2.053, allocations: 0.6085 MB / 1.254 GB, free: 310.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/2.053, allocations: 36.2 kB / 1.254 GB, free: 310.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 3.397e-06/2.053, allocations: 0 / 1.254 GB, free: 310.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0006704/2.053, allocations: 284.4 kB / 1.254 GB, free: 310.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/2.053, allocations: 53.09 kB / 1.254 GB, free: 310 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.903e-05/2.053, allocations: 96.62 kB / 1.254 GB, free: 309.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/2.053, allocations: 25.7 kB / 1.254 GB, free: 309.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/2.053, allocations: 86.62 kB / 1.254 GB, free: 309.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/2.054, allocations: 27.84 kB / 1.254 GB, free: 309.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/2.054, allocations: 0.5938 kB / 1.254 GB, free: 309.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.345e-05/2.054, allocations: 315.8 kB / 1.254 GB, free: 309.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.048e-05/2.054, allocations: 9.531 kB / 1.254 GB, free: 309.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.259e-05/2.054, allocations: 49.61 kB / 1.254 GB, free: 309.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.659e-05/2.054, allocations: 19.7 kB / 1.254 GB, free: 309.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/2.054, allocations: 3.094 kB / 1.254 GB, free: 309.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002068/2.054, allocations: 81.11 kB / 1.255 GB, free: 309.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.47e-05/2.054, allocations: 6.812 kB / 1.255 GB, free: 309.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/2.054, allocations: 5.188 kB / 1.255 GB, free: 309.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/2.054, allocations: 4.75 kB / 1.255 GB, free: 309.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/2.054, allocations: 25.52 kB / 1.255 GB, free: 309.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/2.054, allocations: 2.531 kB / 1.255 GB, free: 309.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.153e-05/2.054, allocations: 1.188 kB / 1.255 GB, free: 309.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/2.054, allocations: 5.844 kB / 1.255 GB, free: 309.4 MB / 0.8542 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 () * 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 7.414e-05/2.055, allocations: 109.4 kB / 1.255 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/2.055, allocations: 6.688 kB / 1.255 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.441e-05/2.055, allocations: 9.984 kB / 1.255 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/2.055, allocations: 1.156 kB / 1.255 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/2.055, allocations: 5.094 kB / 1.255 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/2.055, allocations: 1.609 kB / 1.255 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/2.055, allocations: 151 kB / 1.255 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/2.055, allocations: 0.7812 kB / 1.255 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/2.055, allocations: 16.89 kB / 1.255 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/2.055, allocations: 7.281 kB / 1.255 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/2.055, allocations: 1.281 kB / 1.255 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/2.055, allocations: 0.6094 kB / 1.255 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/2.055, allocations: 3.656 kB / 1.255 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/2.056, allocations: 169.4 kB / 1.255 GB, free: 309 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/2.056, allocations: 85.97 kB / 1.255 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/2.056, allocations: 2.75 kB / 1.255 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/2.056, allocations: 2.422 kB / 1.255 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.126e-05/2.056, allocations: 7.297 kB / 1.255 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/2.056, allocations: 4.359 kB / 1.255 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.116e-05/2.056, allocations: 81.55 kB / 1.255 GB, free: 308.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.11e-07/2.056, allocations: 0.5 kB / 1.255 GB, free: 308.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003695/2.056, allocations: 11.91 kB / 1.255 GB, free: 308.8 MB / 0.8542 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 () * 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.0001986/2.057, allocations: 123.2 kB / 1.255 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001596/2.057, allocations: 34.8 kB / 1.255 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/2.057, allocations: 0 / 1.255 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.077e-05/2.057, allocations: 15.23 kB / 1.255 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/2.057, allocations: 9.5 kB / 1.255 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007136/2.058, allocations: 279.4 kB / 1.256 GB, free: 308.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/2.058, allocations: 0.6865 MB / 1.256 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.455e-05/2.058, allocations: 8.547 kB / 1.256 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/2.058, allocations: 12.06 kB / 1.256 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of SimCode: time 9.21e-07/2.058, allocations: 0 / 1.256 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.004274/2.062, allocations: 0.7069 MB / 1.257 GB, free: 307.8 MB / 0.8542 GB