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.196/2.196, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001556/0.001555, allocations: 180.5 kB / 325.6 MB, free: 2.832 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.469/2.469, allocations: 205.4 MB / 0.5766 GB, free: 20.72 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.001186/0.001186, allocations: 95.78 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004635/0.0004634, allocations: 8.938 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2073, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.206/1.414, allocations: 359.3 MB / 1.25 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/1.414, allocations: 72.03 kB / 1.25 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.04577/1.46, allocations: 12.75 MB / 1.262 GB, free: 100 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.713e-06/1.46, allocations: 4 kB / 1.262 GB, free: 96 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.222e-06/1.46, allocations: 4 kB / 1.262 GB, free: 92 kB / 0.7605 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.000454/1.46, allocations: 343 kB / 1.263 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/1.46, allocations: 8.031 kB / 1.263 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/1.461, allocations: 7.781 kB / 1.263 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/1.461, allocations: 174.9 kB / 1.263 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/1.461, allocations: 3.438 kB / 1.263 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/1.461, allocations: 4 kB / 1.263 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/1.461, allocations: 56.78 kB / 1.263 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/1.461, allocations: 4 kB / 1.263 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/1.461, allocations: 0 / 1.263 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/1.461, allocations: 4 kB / 1.263 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.908e-05/1.461, allocations: 19.86 kB / 1.263 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000218/1.461, allocations: 164.3 kB / 1.263 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/1.462, allocations: 49.8 kB / 1.263 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009656/1.462, allocations: 0.5975 MB / 1.264 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/1.463, allocations: 45.67 kB / 1.264 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 3.647e-06/1.463, allocations: 3.984 kB / 1.264 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0007161/1.463, allocations: 299.9 kB / 1.264 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/1.463, allocations: 51.41 kB / 1.264 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.433e-05/1.463, allocations: 96.25 kB / 1.264 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/1.463, allocations: 33.2 kB / 1.264 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.209e-05/1.464, allocations: 84.05 kB / 1.264 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/1.464, allocations: 31.05 kB / 1.264 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/1.464, allocations: 0 / 1.264 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.464, allocations: 314.3 kB / 1.265 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.26e-05/1.464, allocations: 15.17 kB / 1.265 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.676e-05/1.464, allocations: 56.14 kB / 1.265 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.63e-05/1.464, allocations: 22.81 kB / 1.265 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.464, allocations: 0 / 1.265 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001936/1.464, allocations: 88.61 kB / 1.265 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.464, allocations: 4.125 kB / 1.265 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.464, allocations: 11.95 kB / 1.265 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/1.464, allocations: 0 / 1.265 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/1.464, allocations: 23.8 kB / 1.265 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/1.464, allocations: 4 kB / 1.265 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.453e-05/1.464, allocations: 0 / 1.265 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/1.464, allocations: 4 kB / 1.265 GB, free: 13.24 MB / 0.7761 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 0.0001012/1.465, allocations: 117.1 kB / 1.265 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/1.465, allocations: 7.906 kB / 1.265 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.698e-05/1.465, allocations: 11.91 kB / 1.265 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/1.465, allocations: 3.953 kB / 1.265 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/1.465, allocations: 3.984 kB / 1.265 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/1.465, allocations: 0 / 1.265 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003711/1.465, allocations: 176.6 kB / 1.265 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.465, allocations: 3.938 kB / 1.265 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/1.465, allocations: 19.94 kB / 1.265 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/1.465, allocations: 0 / 1.265 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/1.465, allocations: 3.625 kB / 1.265 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.465, allocations: 0 / 1.265 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/1.465, allocations: 3.953 kB / 1.265 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/1.466, allocations: 174.2 kB / 1.265 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.694e-05/1.466, allocations: 85.05 kB / 1.265 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/1.466, allocations: 0 / 1.265 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/1.466, allocations: 8.062 kB / 1.265 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.217e-05/1.466, allocations: 7.953 kB / 1.265 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/1.466, allocations: 3.984 kB / 1.265 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.254e-05/1.466, allocations: 79.66 kB / 1.266 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.01e-07/1.466, allocations: 4 kB / 1.266 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003315/1.466, allocations: 15.44 kB / 1.266 GB, free: 12.47 MB / 0.7761 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.000212/1.467, allocations: 129.2 kB / 1.266 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001523/1.467, allocations: 47.55 kB / 1.266 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.467, allocations: 0 / 1.266 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.742e-05/1.467, allocations: 12 kB / 1.266 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/1.467, allocations: 7.188 kB / 1.266 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008604/1.468, allocations: 390.1 kB / 1.266 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/1.468, allocations: 0.6848 MB / 1.267 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.961e-05/1.468, allocations: 7.984 kB / 1.267 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/1.468, allocations: 15.44 kB / 1.267 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of SimCode: time 8.32e-07/1.468, allocations: 3.938 kB / 1.267 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of Templates: time 0.004322/1.473, allocations: 0.8531 MB / 1.268 GB, free: 10.3 MB / 0.7761 GB