Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.784/2.784, allocations: 287.3 MB / 302.3 MB, free: 8.258 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.001602/0.001602, allocations: 179 kB / 370.8 MB, free: 10.86 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.232/2.232, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001732/0.001731, allocations: 89.97 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005/0.0005003, allocations: 13.34 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2334, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004919/0.2384, allocations: 2.059 MB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0048/0.2433, allocations: 1.344 MB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000455/0.2438, allocations: 4 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001795/0.2456, allocations: 292 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001/0.2467, allocations: 191.5 kB / 0.982 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.2481, allocations: 187.6 kB / 0.9822 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008438/0.2489, allocations: 247.5 kB / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002596/0.2492, allocations: 60.89 kB / 0.9825 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003836/0.2496, allocations: 147.4 kB / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003196/0.25, allocations: 135.3 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.972e-05/0.2501, allocations: 8 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003334/0.2504, allocations: 47.95 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.2506, allocations: 115.6 kB / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.2508, allocations: 101.4 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007352/0.2515, allocations: 371.3 kB / 0.9833 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2516, allocations: 0 / 0.9833 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.595e-06/0.2516, allocations: 0 / 0.9833 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.2516, allocations: 4 kB / 0.9833 GB, free: 23.09 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.001888/0.2535, allocations: 0.7578 MB / 0.9841 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.2536, allocations: 8.031 kB / 0.9841 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.2538, allocations: 71.19 kB / 0.9842 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.2548, allocations: 411.9 kB / 0.9845 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.932e-05/0.2549, allocations: 8.188 kB / 0.9846 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.452e-05/0.255, allocations: 15.98 kB / 0.9846 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005433/0.2556, allocations: 140.9 kB / 0.9847 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.2556, allocations: 3.984 kB / 0.9847 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.652e-05/0.2557, allocations: 8 kB / 0.9847 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.2557, allocations: 0 / 0.9847 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003796/0.2561, allocations: 72.48 kB / 0.9848 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.2577, allocations: 0.5783 MB / 0.9854 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006885/0.2584, allocations: 130.7 kB / 0.9855 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.439e-05/0.2585, allocations: 4 kB / 0.9855 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004676/0.259, allocations: 107.8 kB / 0.9856 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 5.14e-06/0.259, allocations: 0 / 0.9856 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.00111/0.2602, allocations: 231.6 kB / 0.9858 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.2602, allocations: 85.05 kB / 0.9859 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/0.2617, allocations: 0.6759 MB / 0.9865 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.527e-05/0.2618, allocations: 33.7 kB / 0.9866 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/0.2622, allocations: 264.3 kB / 0.9868 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.528e-05/0.2623, allocations: 31.64 kB / 0.9869 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.2623, allocations: 4 kB / 0.9869 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.2625, allocations: 374.8 kB / 0.9872 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/0.2629, allocations: 67.97 kB / 0.9873 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004502/0.2634, allocations: 122.6 kB / 0.9874 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/0.2638, allocations: 76.5 kB / 0.9875 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.2638, allocations: 3.938 kB / 0.9875 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001043/0.2648, allocations: 279.9 kB / 0.9877 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.2649, allocations: 4 kB / 0.9878 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.2649, allocations: 0 / 0.9878 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.08e-05/0.265, allocations: 4 kB / 0.9878 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/0.2654, allocations: 31.92 kB / 0.9878 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.2654, allocations: 4 kB / 0.9878 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004766/0.2659, allocations: 27.83 kB / 0.9878 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.966e-05/0.266, allocations: 16.06 kB / 0.9878 GB, free: 18.25 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.0004587/0.2664, allocations: 215.4 kB / 0.988 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.2666, allocations: 51.34 kB / 0.9881 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.2668, allocations: 57.05 kB / 0.9881 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.168e-06/0.2668, allocations: 8.031 kB / 0.9881 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.2668, allocations: 0 / 0.9881 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.2669, allocations: 3.984 kB / 0.9882 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006078/0.2675, allocations: 373.3 kB / 0.9885 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.2675, allocations: 3.953 kB / 0.9885 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.2676, allocations: 12 kB / 0.9885 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/0.2677, allocations: 3.938 kB / 0.9885 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.2677, allocations: 0 / 0.9885 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.246e-06/0.2677, allocations: 7.938 kB / 0.9885 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.2678, allocations: 3.984 kB / 0.9885 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008143/0.2686, allocations: 216.4 kB / 0.9887 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/0.2688, allocations: 136.3 kB / 0.9889 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.269, allocations: 12 kB / 0.9889 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/0.2693, allocations: 11.98 kB / 0.9889 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.2695, allocations: 19.97 kB / 0.9889 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/0.2695, allocations: 7.984 kB / 0.9889 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001229/0.2708, allocations: 463 kB / 0.9894 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.373e-06/0.2708, allocations: 4 kB / 0.9894 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008773/0.2717, allocations: 60 kB / 0.9894 GB, free: 16.51 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.001937/0.2737, allocations: 444.6 kB / 0.9898 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000877/0.2746, allocations: 147.9 kB / 0.99 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.2747, allocations: 0 / 0.99 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002953/0.275, allocations: 55.97 kB / 0.99 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.2761, allocations: 85.94 kB / 0.9901 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/0.2787, allocations: 0.9148 MB / 0.991 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005837/0.2793, allocations: 0.873 MB / 0.9919 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003706/0.2797, allocations: 50.94 kB / 0.9919 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.2799, allocations: 27.42 kB / 0.9919 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of SimCode: time 3.096e-06/0.2799, allocations: 0 / 0.9919 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of Templates: time 0.02047/0.3004, allocations: 3.976 MB / 0.9958 GB, free: 10.09 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)