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.886/2.886, allocations: 287.5 MB / 302.4 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.001375/0.001375, allocations: 189.9 kB / 371 MB, free: 10.84 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.19/2.19, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.00089/0.0008898, allocations: 86.38 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007483/0.0007487, allocations: 12.52 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2516, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.00312/0.2548, allocations: 2.087 MB / 0.9804 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002785/0.2576, allocations: 1.387 MB / 0.9817 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002571/0.2579, allocations: 3.938 kB / 0.9817 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.2591, allocations: 288.2 kB / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005955/0.2597, allocations: 179.3 kB / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008274/0.2605, allocations: 207.5 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004736/0.261, allocations: 338.8 kB / 0.9827 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.2612, allocations: 56.89 kB / 0.9828 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002365/0.2614, allocations: 143.3 kB / 0.9829 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.2617, allocations: 151.3 kB / 0.9831 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.711e-05/0.2617, allocations: 4 kB / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002601/0.262, allocations: 59.91 kB / 0.9831 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.2622, allocations: 115.6 kB / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.2623, allocations: 97.39 kB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004771/0.2628, allocations: 371.3 kB / 0.9837 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2628, allocations: 0 / 0.9837 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.367e-06/0.2628, allocations: 4 kB / 0.9837 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.2628, allocations: 0 / 0.9837 GB, free: 22.88 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.001349/0.2642, allocations: 0.756 MB / 0.9844 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.2642, allocations: 12.03 kB / 0.9844 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.2644, allocations: 67.12 kB / 0.9845 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006663/0.265, allocations: 408 kB / 0.9849 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.2651, allocations: 12.19 kB / 0.9849 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.2651, allocations: 15.98 kB / 0.9849 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003657/0.2655, allocations: 133 kB / 0.985 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2655, allocations: 0 / 0.985 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.2656, allocations: 8 kB / 0.985 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.2656, allocations: 0 / 0.985 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002402/0.2658, allocations: 77.34 kB / 0.9851 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.2669, allocations: 0.5783 MB / 0.9857 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004283/0.2674, allocations: 126.8 kB / 0.9858 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.2676, allocations: 48.83 kB / 0.9858 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.2676, allocations: 3.938 kB / 0.9858 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003098/0.268, allocations: 119.9 kB / 0.986 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 3.797e-06/0.268, allocations: 0 / 0.986 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0006975/0.2687, allocations: 236.3 kB / 0.9862 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.2687, allocations: 77.11 kB / 0.9863 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009624/0.2697, allocations: 0.6759 MB / 0.9869 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.2698, allocations: 33.7 kB / 0.987 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.27, allocations: 264.3 kB / 0.9872 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.045e-05/0.2701, allocations: 35.58 kB / 0.9872 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.738e-05/0.2701, allocations: 4 kB / 0.9872 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.2702, allocations: 378.7 kB / 0.9876 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.2705, allocations: 71.97 kB / 0.9877 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.2707, allocations: 122.4 kB / 0.9878 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.271, allocations: 71.36 kB / 0.9879 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.271, allocations: 0 / 0.9879 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006674/0.2717, allocations: 273 kB / 0.9881 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.2717, allocations: 4 kB / 0.9881 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.2717, allocations: 3.984 kB / 0.9881 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.2717, allocations: 4 kB / 0.9881 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.272, allocations: 35.92 kB / 0.9882 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.272, allocations: 4 kB / 0.9882 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.2724, allocations: 27.89 kB / 0.9882 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.449e-05/0.2724, allocations: 12 kB / 0.9882 GB, free: 17.99 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.0003053/0.2727, allocations: 219.4 kB / 0.9884 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.669e-05/0.2728, allocations: 51.34 kB / 0.9885 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.2729, allocations: 57.05 kB / 0.9885 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.273, allocations: 4 kB / 0.9885 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.273, allocations: 0 / 0.9885 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.273, allocations: 4.031 kB / 0.9885 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003871/0.2734, allocations: 381.2 kB / 0.9889 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.2734, allocations: 4 kB / 0.9889 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.362e-05/0.2735, allocations: 8 kB / 0.9889 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.2735, allocations: 0 / 0.9889 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.2735, allocations: 0 / 0.9889 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.2735, allocations: 4 kB / 0.9889 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2735, allocations: 0 / 0.9889 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000487/0.274, allocations: 220.4 kB / 0.9891 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.2742, allocations: 140.3 kB / 0.9892 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.591e-05/0.2742, allocations: 8 kB / 0.9893 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.2745, allocations: 11.98 kB / 0.9893 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.389e-05/0.2746, allocations: 19.97 kB / 0.9893 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.2746, allocations: 7.984 kB / 0.9893 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006602/0.2753, allocations: 467 kB / 0.9897 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.052e-06/0.2753, allocations: 4 kB / 0.9897 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004827/0.2758, allocations: 63.94 kB / 0.9898 GB, free: 16.25 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.001208/0.277, allocations: 437.6 kB / 0.9902 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005222/0.2775, allocations: 151.8 kB / 0.9904 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.2775, allocations: 4 kB / 0.9904 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.2777, allocations: 51.97 kB / 0.9904 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007346/0.2785, allocations: 91.38 kB / 0.9905 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.2801, allocations: 0.9237 MB / 0.9914 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.2805, allocations: 0.8575 MB / 0.9922 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000246/0.2808, allocations: 54.92 kB / 0.9923 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.2809, allocations: 27.42 kB / 0.9923 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of SimCode: time 1.172e-06/0.2809, allocations: 0 / 0.9923 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of Templates: time 0.01288/0.2938, allocations: 3.971 MB / 0.9962 GB, free: 9.836 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)