Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.976/4.976, allocations: 0.5623 GB / 0.5769 GB, free: 3.32 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002487/0.002487, allocations: 348.7 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.13/4.13, allocations: 410.7 MB / 1.112 GB, free: 6.008 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002805/0.002805, allocations: 180.1 kB / 1.225 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005092/0.0005095, allocations: 15.98 kB / 1.348 GB, free: 8.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5763/0.5768, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001097/0.578, allocations: 0.9726 MB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003124/0.5811, allocations: 3.056 MB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.639e-05/0.5812, allocations: 0 / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.556e-05/0.5812, allocations: 0 / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.792e-05/0.5813, allocations: 4.5 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.5816, allocations: 81.23 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.233e-05/0.5817, allocations: 35.86 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.379e-05/0.5818, allocations: 1.5 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.03e-05/0.5818, allocations: 19.91 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.26e-05/0.5819, allocations: 15.98 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.5819, allocations: 0 / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.5821, allocations: 52.75 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.5821, allocations: 11.92 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.013e-05/0.5821, allocations: 30.23 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.5823, allocations: 38 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.115e-06/0.5823, allocations: 0.875 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.862e-06/0.5823, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.723e-06/0.5823, allocations: 6.438 kB / 1.465 GB, free: 280.1 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.0002919/0.5826, allocations: 335.4 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.5826, allocations: 11.62 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.5828, allocations: 11.86 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.939e-05/0.5829, allocations: 171 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.5829, allocations: 4.875 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.5829, allocations: 4 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.583, allocations: 59.83 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.5831, allocations: 0 / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.5831, allocations: 0 / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.5831, allocations: 0 / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.574e-05/0.5832, allocations: 25.11 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001368/0.5833, allocations: 166.4 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.138e-05/0.5834, allocations: 48.19 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.349e-05/0.5835, allocations: 20.8 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006111/0.5841, allocations: 0.596 MB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.5841, allocations: 39.73 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 2.23e-06/0.5841, allocations: 0 / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0005566/0.5847, allocations: 295.8 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.972e-05/0.5848, allocations: 52.12 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.171e-05/0.5848, allocations: 104.9 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.5848, allocations: 29.64 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.837e-05/0.5849, allocations: 87.98 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.5849, allocations: 23.62 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-06/0.5849, allocations: 4 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.882e-05/0.585, allocations: 320.1 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.346e-05/0.585, allocations: 12 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.32e-05/0.5851, allocations: 59.11 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.789e-05/0.5851, allocations: 13.28 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.84e-06/0.5852, allocations: 0 / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001606/0.5853, allocations: 104.6 kB / 1.467 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.5853, allocations: 4 kB / 1.467 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.874e-06/0.5854, allocations: 5.234 kB / 1.467 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.5854, allocations: 4 kB / 1.467 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.835e-05/0.5855, allocations: 19.94 kB / 1.467 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.797e-06/0.5855, allocations: 4.562 kB / 1.467 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.06e-05/0.5856, allocations: 0 / 1.467 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.961e-06/0.5856, allocations: 5.25 kB / 1.467 GB, free: 277.1 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 () * 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 6.368e-05/0.5857, allocations: 124.2 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.5857, allocations: 7.859 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.5858, allocations: 11.97 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.5858, allocations: 3.938 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.913e-06/0.5858, allocations: 0 / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.672e-06/0.5858, allocations: 0 / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.5861, allocations: 177.7 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.358e-06/0.5861, allocations: 0.7812 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.5862, allocations: 23.92 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.493e-06/0.5862, allocations: 1.781 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.5863, allocations: 3.953 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.5863, allocations: 0 / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.311e-06/0.5863, allocations: 0 / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.5865, allocations: 165.9 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.209e-05/0.5865, allocations: 89.67 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.5865, allocations: 4 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.5867, allocations: 10.17 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.928e-05/0.5867, allocations: 3.984 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.5868, allocations: 4 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.766e-05/0.5868, allocations: 84.91 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.179e-06/0.5868, allocations: 0 / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003198/0.5871, allocations: 11.94 kB / 1.468 GB, free: 276.3 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 () * 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.000112/0.5873, allocations: 104.6 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001218/0.5874, allocations: 49.39 kB / 1.468 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.229e-06/0.5874, allocations: 0 / 1.468 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.884e-05/0.5875, allocations: 16.62 kB / 1.468 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.5878, allocations: 8.688 kB / 1.468 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006406/0.5885, allocations: 382.8 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.5886, allocations: 0.6848 MB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.564e-05/0.5887, allocations: 14.95 kB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.5887, allocations: 12.34 kB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.406e-06/0.5887, allocations: 0 / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.003011/0.5918, allocations: 0.5751 MB / 1.47 GB, free: 274.6 MB / 0.8542 GB