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 2.615/2.615, allocations: 287.9 MB / 302.9 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001424/0.001423, allocations: 179.2 kB / 371.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.183/2.183, allocations: 205.4 MB / 0.6301 GB, free: 10.45 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 84.44 kB / 0.7434 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004541/0.0004543, allocations: 10.92 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.242, allocations: 115.3 MB / 0.9787 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.00112/0.2432, allocations: 0.9726 MB / 0.9797 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003101/0.2463, allocations: 2.822 MB / 0.9824 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.918e-05/0.2464, allocations: 4 kB / 0.9824 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.351e-05/0.2464, allocations: 0 / 0.9824 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.267e-05/0.2465, allocations: 11.92 kB / 0.9825 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003904/0.2469, allocations: 91.7 kB / 0.9825 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.93e-05/0.247, allocations: 19.97 kB / 0.9826 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.247, allocations: 11.92 kB / 0.9826 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.987e-05/0.2471, allocations: 12 kB / 0.9826 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.504e-05/0.2471, allocations: 23.91 kB / 0.9826 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.2471, allocations: 0 / 0.9826 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002229/0.2474, allocations: 59.95 kB / 0.9827 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.2474, allocations: 3.938 kB / 0.9827 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.019e-05/0.2474, allocations: 33.7 kB / 0.9827 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.2476, allocations: 44.11 kB / 0.9827 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.488e-06/0.2476, allocations: 0 / 0.9827 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.32e-06/0.2476, allocations: 0 / 0.9827 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.972e-06/0.2476, allocations: 0 / 0.9827 GB, free: 24.11 MB / 0.6198 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.0002738/0.2479, allocations: 335.3 kB / 0.9831 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.2479, allocations: 12.02 kB / 0.9831 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.248, allocations: 7.953 kB / 0.9831 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.163e-05/0.2481, allocations: 167 kB / 0.9832 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.2482, allocations: 8 kB / 0.9832 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.2482, allocations: 8 kB / 0.9833 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.2483, allocations: 53.61 kB / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.79e-06/0.2483, allocations: 0 / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.2484, allocations: 0 / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.725e-06/0.2484, allocations: 3.984 kB / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.667e-05/0.2485, allocations: 27.92 kB / 0.9833 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.2486, allocations: 165.7 kB / 0.9835 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.648e-05/0.2487, allocations: 54.56 kB / 0.9835 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005732/0.2493, allocations: 0.5868 MB / 0.9841 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.2493, allocations: 38.52 kB / 0.9842 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 2.102e-06/0.2493, allocations: 0 / 0.9842 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005352/0.2499, allocations: 307 kB / 0.9844 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.879e-05/0.2499, allocations: 51.41 kB / 0.9845 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.039e-05/0.25, allocations: 97.84 kB / 0.9846 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.25, allocations: 33.7 kB / 0.9846 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.554e-05/0.25, allocations: 84.05 kB / 0.9847 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.2501, allocations: 35.48 kB / 0.9847 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.304e-06/0.2501, allocations: 4 kB / 0.9847 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.715e-05/0.2501, allocations: 314.8 kB / 0.985 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.333e-05/0.2502, allocations: 15.98 kB / 0.9851 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.825e-05/0.2503, allocations: 57.02 kB / 0.9851 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.985e-05/0.2503, allocations: 20 kB / 0.9851 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.965e-06/0.2503, allocations: 7.938 kB / 0.9851 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001626/0.2505, allocations: 93.5 kB / 0.9852 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.2505, allocations: 4 kB / 0.9852 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2506, allocations: 4 kB / 0.9852 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.2506, allocations: 0 / 0.9852 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.291e-05/0.2507, allocations: 27.92 kB / 0.9853 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.722e-06/0.2507, allocations: 4 kB / 0.9853 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.832e-05/0.2508, allocations: 0 / 0.9853 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.954e-06/0.2508, allocations: 4 kB / 0.9853 GB, free: 21.13 MB / 0.6198 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 5.926e-05/0.2508, allocations: 118 kB / 0.9854 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/0.2509, allocations: 11.86 kB / 0.9854 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.2509, allocations: 7.969 kB / 0.9854 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.561e-06/0.2509, allocations: 0 / 0.9854 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.424e-06/0.251, allocations: 0 / 0.9854 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.154e-06/0.251, allocations: 0 / 0.9854 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.2512, allocations: 173.7 kB / 0.9856 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.103e-06/0.2512, allocations: 4 kB / 0.9856 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.2513, allocations: 19.92 kB / 0.9856 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.395e-06/0.2514, allocations: 4 kB / 0.9856 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.952e-06/0.2514, allocations: 3.953 kB / 0.9856 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.155e-06/0.2514, allocations: 0 / 0.9856 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.2514, allocations: 0 / 0.9856 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.2516, allocations: 171.8 kB / 0.9858 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.2516, allocations: 81.02 kB / 0.9858 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.2517, allocations: 8.031 kB / 0.9858 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.2518, allocations: 11.98 kB / 0.9859 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.089e-05/0.2518, allocations: 11.98 kB / 0.9859 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.343e-06/0.2518, allocations: 0 / 0.9859 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.501e-05/0.2519, allocations: 83.27 kB / 0.9859 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.69e-07/0.2519, allocations: 0 / 0.9859 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003164/0.2522, allocations: 12 kB / 0.986 GB, free: 20.33 MB / 0.6198 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 9.601e-05/0.2523, allocations: 106.1 kB / 0.9861 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001148/0.2524, allocations: 43.92 kB / 0.9861 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.894e-06/0.2525, allocations: 0 / 0.9861 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.116e-05/0.2525, allocations: 16 kB / 0.9861 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.2527, allocations: 7.984 kB / 0.9861 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005885/0.2533, allocations: 382.9 kB / 0.9865 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.2535, allocations: 0.6887 MB / 0.9872 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.366e-05/0.2535, allocations: 4 kB / 0.9872 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.2536, allocations: 11.44 kB / 0.9872 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of SimCode: time 1.375e-06/0.2536, allocations: 3.938 kB / 0.9872 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of Templates: time 0.002876/0.2565, allocations: 0.5681 MB / 0.9877 GB, free: 18.45 MB / 0.6198 GB