Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.686/1.686, allocations: 288.4 MB / 303.7 MB, free: 8.176 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.001064/0.001064, allocations: 180.5 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.4 MB / 0.631 GB, free: 9.895 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.00082/0.0008201, allocations: 93.22 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004284/0.0004284, allocations: 20.81 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.248, allocations: 115.3 MB / 0.9801 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002838/0.2509, allocations: 2.083 MB / 0.9822 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001855/0.2527, allocations: 1.379 MB / 0.9835 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.2529, allocations: 4 kB / 0.9835 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007644/0.2537, allocations: 287 kB / 0.9838 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.254, allocations: 187.3 kB / 0.984 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004718/0.2545, allocations: 191.3 kB / 0.9842 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002951/0.2548, allocations: 350.8 kB / 0.9845 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.2549, allocations: 61 kB / 0.9846 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.2551, allocations: 143.3 kB / 0.9847 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.2553, allocations: 147.3 kB / 0.9848 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.2553, allocations: 4 kB / 0.9848 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.2554, allocations: 63.89 kB / 0.9849 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.866e-05/0.2555, allocations: 123.5 kB / 0.985 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.2557, allocations: 192.5 kB / 0.9852 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002978/0.256, allocations: 371.1 kB / 0.9855 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.256, allocations: 3.984 kB / 0.9856 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.472e-06/0.256, allocations: 0 / 0.9856 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.256, allocations: 0 / 0.9856 GB, free: 21.79 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009332/0.257, allocations: 0.7639 MB / 0.9863 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.257, allocations: 8.031 kB / 0.9863 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.677e-05/0.2571, allocations: 60.19 kB / 0.9864 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004164/0.2575, allocations: 428.8 kB / 0.9868 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.2575, allocations: 11.94 kB / 0.9868 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.2576, allocations: 12 kB / 0.9868 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.2578, allocations: 135.3 kB / 0.9869 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.2578, allocations: 7.938 kB / 0.9869 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.2578, allocations: 4 kB / 0.9869 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2579, allocations: 3.938 kB / 0.9869 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.258, allocations: 71.95 kB / 0.987 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007425/0.2588, allocations: 0.5784 MB / 0.9876 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.2591, allocations: 118.8 kB / 0.9877 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.423e-05/0.2592, allocations: 56.77 kB / 0.9877 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.2592, allocations: 4 kB / 0.9877 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.2594, allocations: 111.8 kB / 0.9879 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.335e-06/0.2594, allocations: 0 / 0.9879 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0004167/0.2598, allocations: 234.9 kB / 0.9881 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.2599, allocations: 81.11 kB / 0.9882 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005726/0.2605, allocations: 0.6837 MB / 0.9888 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.2605, allocations: 33.7 kB / 0.9889 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.2606, allocations: 264.3 kB / 0.9891 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.2607, allocations: 31.61 kB / 0.9891 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.014e-05/0.2607, allocations: 4 kB / 0.9891 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.433e-05/0.2608, allocations: 370.8 kB / 0.9895 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.2609, allocations: 71.97 kB / 0.9896 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.2611, allocations: 126.8 kB / 0.9897 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.2613, allocations: 137.3 kB / 0.9898 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2613, allocations: 3.938 kB / 0.9898 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003564/0.2617, allocations: 268.8 kB / 0.9901 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.2617, allocations: 5.719 kB / 0.9901 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.2617, allocations: 8.062 kB / 0.9901 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.2617, allocations: 3.938 kB / 0.9901 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.2619, allocations: 31.98 kB / 0.9901 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.2619, allocations: 3.938 kB / 0.9901 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.2621, allocations: 31.83 kB / 0.9902 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.2621, allocations: 4 kB / 0.9902 GB, free: 16.81 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mWat_flow.tab.nextTimeEvent,assWatMas.assMes.u,$PRE.assWatMas.hys.y,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000178/0.2623, allocations: 211.5 kB / 0.9904 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.2623, allocations: 55.28 kB / 0.9904 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.275e-05/0.2624, allocations: 61.03 kB / 0.9905 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2624, allocations: 4 kB / 0.9905 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2624, allocations: 3.984 kB / 0.9905 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2624, allocations: 0 / 0.9905 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.2627, allocations: 373.3 kB / 0.9908 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2627, allocations: 7.938 kB / 0.9908 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.421e-05/0.2627, allocations: 11.94 kB / 0.9909 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2627, allocations: 0 / 0.9909 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.2628, allocations: 12 kB / 0.9909 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.2628, allocations: 3.984 kB / 0.9909 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2628, allocations: 3.938 kB / 0.9909 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.2631, allocations: 208.4 kB / 0.9911 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.2632, allocations: 140.3 kB / 0.9912 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.771e-05/0.2632, allocations: 7.984 kB / 0.9912 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.2633, allocations: 16 kB / 0.9912 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.678e-05/0.2634, allocations: 15.97 kB / 0.9912 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.2634, allocations: 11.98 kB / 0.9913 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004073/0.2639, allocations: 467 kB / 0.9917 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2639, allocations: 0 / 0.9917 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003012/0.2642, allocations: 64 kB / 0.9918 GB, free: 15.07 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001014/0.2652, allocations: 437.7 kB / 0.9922 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000317/0.2655, allocations: 150.9 kB / 0.9923 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2655, allocations: 4 kB / 0.9923 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.2657, allocations: 59.91 kB / 0.9924 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/0.2662, allocations: 85.31 kB / 0.9925 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.2672, allocations: 0.9263 MB / 0.9934 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.2675, allocations: 0.8614 MB / 0.9942 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000122/0.2676, allocations: 46.94 kB / 0.9943 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.287e-05/0.2677, allocations: 31.42 kB / 0.9943 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of SimCode: time 3.31e-07/0.2677, allocations: 0 / 0.9943 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of Templates: time 0.007988/0.2757, allocations: 4.012 MB / 0.9982 GB, free: 8.586 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)