Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.779/2.779, allocations: 287.3 MB / 302.3 MB, free: 8.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001509/0.001508, allocations: 186.2 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.233/2.233, allocations: 205.4 MB / 0.6295 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00153/0.001529, allocations: 93.66 kB / 0.7428 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008637/0.0008634, allocations: 11.39 kB / 0.8656 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2454, allocations: 115.3 MB / 0.9782 GB, free: 28.42 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001458/0.2469, allocations: 0.9726 MB / 0.9791 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003845/0.2507, allocations: 2.83 MB / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.2508, allocations: 0 / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.773e-05/0.2509, allocations: 3.938 kB / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.631e-05/0.2509, allocations: 11.98 kB / 0.9819 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.2514, allocations: 87.7 kB / 0.982 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.225e-05/0.2515, allocations: 23.97 kB / 0.982 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.496e-05/0.2516, allocations: 3.984 kB / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.601e-05/0.2516, allocations: 12 kB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.732e-05/0.2517, allocations: 23.91 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.2517, allocations: 3.938 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002512/0.252, allocations: 67.89 kB / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.252, allocations: 4 kB / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.2521, allocations: 29.7 kB / 0.9821 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.2522, allocations: 40.11 kB / 0.9822 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.2522, allocations: 0 / 0.9822 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2522, allocations: 0 / 0.9822 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2522, allocations: 0 / 0.9822 GB, free: 24.28 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.0003652/0.2526, allocations: 337.4 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.2527, allocations: 12.02 kB / 0.9825 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.2528, allocations: 15.94 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.244e-05/0.2529, allocations: 174.9 kB / 0.9827 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.2529, allocations: 4 kB / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.2529, allocations: 8 kB / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.2531, allocations: 49.67 kB / 0.9827 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2531, allocations: 0 / 0.9827 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.2531, allocations: 0 / 0.9827 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.2531, allocations: 0 / 0.9827 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.357e-05/0.2532, allocations: 23.94 kB / 0.9828 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.2534, allocations: 169.7 kB / 0.9829 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.2535, allocations: 54.5 kB / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007562/0.2543, allocations: 0.5871 MB / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.2543, allocations: 38.52 kB / 0.9836 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 2.515e-06/0.2543, allocations: 3.984 kB / 0.9836 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.00062/0.255, allocations: 298.2 kB / 0.9839 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.255, allocations: 59.39 kB / 0.9839 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.983e-05/0.2551, allocations: 97.8 kB / 0.984 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.2551, allocations: 29.7 kB / 0.9841 GB, free: 22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.012e-05/0.2551, allocations: 84.05 kB / 0.9841 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.2552, allocations: 31.55 kB / 0.9842 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.2552, allocations: 3.938 kB / 0.9842 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.741e-05/0.2553, allocations: 322.8 kB / 0.9845 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.778e-05/0.2553, allocations: 11.98 kB / 0.9845 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.135e-05/0.2554, allocations: 49.14 kB / 0.9845 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.55e-05/0.2554, allocations: 24 kB / 0.9846 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.2554, allocations: 0 / 0.9846 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001699/0.2556, allocations: 93.5 kB / 0.9847 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.2557, allocations: 10.03 kB / 0.9847 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.2557, allocations: 0 / 0.9847 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.2557, allocations: 4 kB / 0.9847 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.2558, allocations: 23.92 kB / 0.9847 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.2559, allocations: 4.016 kB / 0.9847 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.848e-05/0.2559, allocations: 12.12 kB / 0.9847 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.2559, allocations: 7.984 kB / 0.9847 GB, free: 21.3 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 6.743e-05/0.256, allocations: 109.8 kB / 0.9848 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.2561, allocations: 15.8 kB / 0.9848 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.122e-05/0.2561, allocations: 7.969 kB / 0.9848 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2561, allocations: 4 kB / 0.9848 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2561, allocations: 0 / 0.9848 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2561, allocations: 3.984 kB / 0.9848 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003116/0.2565, allocations: 173.7 kB / 0.985 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2565, allocations: 4 kB / 0.985 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.2566, allocations: 16.42 kB / 0.985 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2567, allocations: 0 / 0.985 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.2567, allocations: 7.953 kB / 0.985 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.2567, allocations: 4 kB / 0.985 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2567, allocations: 0 / 0.985 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.2569, allocations: 167.5 kB / 0.9852 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.802e-05/0.257, allocations: 85.02 kB / 0.9853 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.257, allocations: 4.031 kB / 0.9853 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.2572, allocations: 15.89 kB / 0.9853 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/0.2572, allocations: 4 kB / 0.9853 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.2572, allocations: 4 kB / 0.9853 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.86e-05/0.2573, allocations: 79.64 kB / 0.9854 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.5e-07/0.2573, allocations: 0 / 0.9854 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003293/0.2576, allocations: 16 kB / 0.9854 GB, free: 20.5 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 0.000136/0.2578, allocations: 103.4 kB / 0.9855 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000175/0.258, allocations: 39.92 kB / 0.9855 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.258, allocations: 0 / 0.9855 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.234e-05/0.258, allocations: 27.91 kB / 0.9856 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.2583, allocations: 4 kB / 0.9856 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00077/0.2591, allocations: 378.8 kB / 0.9859 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.2592, allocations: 0.6939 MB / 0.9866 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.033e-05/0.2593, allocations: 4 kB / 0.9866 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.2594, allocations: 11.44 kB / 0.9866 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of SimCode: time 1.302e-06/0.2594, allocations: 4 kB / 0.9866 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of Templates: time 0.003359/0.2628, allocations: 0.5643 MB / 0.9872 GB, free: 18.62 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)