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 1.711/1.711, allocations: 287.5 MB / 302.6 MB, free: 8.289 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.001323/0.001323, allocations: 180.4 kB / 371.2 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 1.593/1.593, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.0009243/0.0009242, allocations: 100.3 kB / 0.7432 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004427/0.0004428, allocations: 16.31 kB / 0.8661 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2416, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002639/0.2443, allocations: 2.09 MB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001687/0.246, allocations: 1.376 MB / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.2461, allocations: 4 kB / 0.9821 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007349/0.2469, allocations: 295 kB / 0.9823 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.2472, allocations: 181.2 kB / 0.9825 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004291/0.2476, allocations: 199.5 kB / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.2479, allocations: 342.8 kB / 0.983 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.2481, allocations: 72.97 kB / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.2482, allocations: 139.3 kB / 0.9832 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.2484, allocations: 147.3 kB / 0.9834 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.401e-05/0.2484, allocations: 4 kB / 0.9834 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.2486, allocations: 59.95 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.2487, allocations: 111.6 kB / 0.9835 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.19e-05/0.2488, allocations: 101.4 kB / 0.9836 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.2491, allocations: 371.1 kB / 0.984 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2491, allocations: 7.938 kB / 0.984 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2491, allocations: 0 / 0.984 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.2491, allocations: 0 / 0.984 GB, free: 22.71 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.0009351/0.25, allocations: 0.7579 MB / 0.9847 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.2501, allocations: 8.031 kB / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.292e-05/0.2502, allocations: 60.19 kB / 0.9848 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/0.2506, allocations: 440.7 kB / 0.9852 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.2506, allocations: 15.88 kB / 0.9852 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.2507, allocations: 12 kB / 0.9853 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.2509, allocations: 135.3 kB / 0.9854 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2509, allocations: 0 / 0.9854 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.251, allocations: 4 kB / 0.9854 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.251, allocations: 3.938 kB / 0.9854 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.2511, allocations: 71.97 kB / 0.9855 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006896/0.2518, allocations: 0.5706 MB / 0.986 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.2521, allocations: 130.7 kB / 0.9861 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.944e-05/0.2522, allocations: 44.84 kB / 0.9862 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.2522, allocations: 0 / 0.9862 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001948/0.2524, allocations: 119.2 kB / 0.9863 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.2524, allocations: 0 / 0.9863 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0004191/0.2529, allocations: 238.3 kB / 0.9865 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.2529, allocations: 85.09 kB / 0.9866 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005869/0.2535, allocations: 0.6798 MB / 0.9873 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.2535, allocations: 29.7 kB / 0.9873 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.2537, allocations: 264.3 kB / 0.9876 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.2537, allocations: 31.61 kB / 0.9876 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/0.2538, allocations: 8 kB / 0.9876 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.894e-05/0.2539, allocations: 374.7 kB / 0.9879 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.254, allocations: 71.97 kB / 0.988 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.2541, allocations: 122.4 kB / 0.9881 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.2544, allocations: 142.4 kB / 0.9883 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.2544, allocations: 3.938 kB / 0.9883 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003501/0.2547, allocations: 260.8 kB / 0.9885 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.2548, allocations: 4 kB / 0.9885 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.2548, allocations: 7.984 kB / 0.9885 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.2548, allocations: 0 / 0.9885 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.2549, allocations: 43.91 kB / 0.9886 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.964e-06/0.255, allocations: 4.062 kB / 0.9886 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.2551, allocations: 35.83 kB / 0.9886 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.2551, allocations: 4 kB / 0.9886 GB, free: 17.73 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.000177/0.2553, allocations: 211.5 kB / 0.9888 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.2554, allocations: 55.28 kB / 0.9889 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.001e-05/0.2555, allocations: 57.05 kB / 0.9889 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.2555, allocations: 8 kB / 0.9889 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2555, allocations: 0 / 0.9889 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2555, allocations: 3.938 kB / 0.9889 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.2557, allocations: 373.3 kB / 0.9893 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2558, allocations: 3.938 kB / 0.9893 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.39e-05/0.2558, allocations: 11.98 kB / 0.9893 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2558, allocations: 0 / 0.9893 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.2558, allocations: 8 kB / 0.9893 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2558, allocations: 0 / 0.9893 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2558, allocations: 0 / 0.9893 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.2561, allocations: 221.4 kB / 0.9895 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.775e-05/0.2562, allocations: 140.3 kB / 0.9897 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.843e-05/0.2563, allocations: 4 kB / 0.9897 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.2564, allocations: 11.98 kB / 0.9897 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.149e-05/0.2564, allocations: 19.97 kB / 0.9897 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.2565, allocations: 8 kB / 0.9897 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004039/0.2569, allocations: 474.9 kB / 0.9902 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2569, allocations: 0 / 0.9902 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002884/0.2572, allocations: 64 kB / 0.9902 GB, free: 15.99 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.00103/0.2582, allocations: 423.2 kB / 0.9906 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003195/0.2585, allocations: 149.5 kB / 0.9908 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2586, allocations: 4.062 kB / 0.9908 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.2587, allocations: 55.98 kB / 0.9908 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.2592, allocations: 87.23 kB / 0.9909 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.2602, allocations: 0.9301 MB / 0.9918 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.2605, allocations: 0.8575 MB / 0.9927 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001221/0.2606, allocations: 50.94 kB / 0.9927 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.366e-05/0.2607, allocations: 27.44 kB / 0.9927 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2607, allocations: 0 / 0.9927 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of Templates: time 0.007367/0.268, allocations: 3.993 MB / 0.9966 GB, free: 9.562 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)