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.637/1.637, allocations: 288.4 MB / 304.3 MB, free: 8.145 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.001264/0.001264, allocations: 176.5 kB / 372.9 MB, free: 10.14 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.664/1.664, allocations: 205.4 MB / 0.6317 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.001007/0.001007, allocations: 110 kB / 0.7451 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000492/0.0004921, allocations: 13.47 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2358, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7152/0.951, allocations: 144.3 MB / 1.122 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.9513, allocations: 93.98 kB / 1.122 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03201/0.9833, allocations: 13.86 MB / 1.135 GB, free: 28.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9834, allocations: 0 / 1.135 GB, free: 28.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.377e-05/0.9834, allocations: 11.72 kB / 1.135 GB, free: 28.9 MB / 0.698 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.001346/0.9848, allocations: 0.8015 MB / 1.136 GB, free: 28.21 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.9848, allocations: 7.688 kB / 1.136 GB, free: 28.21 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.985, allocations: 58.94 kB / 1.136 GB, free: 28.18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007162/0.9857, allocations: 463.4 kB / 1.137 GB, free: 27.85 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.9858, allocations: 14.98 kB / 1.137 GB, free: 27.84 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.9858, allocations: 11.09 kB / 1.137 GB, free: 27.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.9861, allocations: 151.4 kB / 1.137 GB, free: 27.76 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.9861, allocations: 0 / 1.137 GB, free: 27.76 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.9861, allocations: 3.312 kB / 1.137 GB, free: 27.76 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.9861, allocations: 3.844 kB / 1.137 GB, free: 27.76 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.9863, allocations: 76.23 kB / 1.137 GB, free: 27.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008871/0.9872, allocations: 0.5982 MB / 1.137 GB, free: 27.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.9875, allocations: 132.5 kB / 1.138 GB, free: 27.31 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.379e-05/0.9876, allocations: 48.7 kB / 1.138 GB, free: 27.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.9876, allocations: 7.906 kB / 1.138 GB, free: 27.29 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/0.9878, allocations: 111.2 kB / 1.138 GB, free: 27.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.9878, allocations: 0 / 1.138 GB, free: 27.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0005008/0.9883, allocations: 238 kB / 1.138 GB, free: 27.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.891e-05/0.9884, allocations: 81.09 kB / 1.138 GB, free: 27.04 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007408/0.9892, allocations: 0.6868 MB / 1.139 GB, free: 26.81 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.9892, allocations: 37.52 kB / 1.139 GB, free: 26.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.9894, allocations: 269.9 kB / 1.139 GB, free: 26.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.9895, allocations: 34.77 kB / 1.139 GB, free: 26.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.277e-05/0.9895, allocations: 3.688 kB / 1.139 GB, free: 26.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.9896, allocations: 374.8 kB / 1.139 GB, free: 26.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.9898, allocations: 79.66 kB / 1.139 GB, free: 26.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.99, allocations: 137 kB / 1.14 GB, free: 26.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.9902, allocations: 148.2 kB / 1.14 GB, free: 26.19 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9902, allocations: 0 / 1.14 GB, free: 26.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004325/0.9907, allocations: 290.5 kB / 1.14 GB, free: 26.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.9907, allocations: 7.812 kB / 1.14 GB, free: 26.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.9907, allocations: 0 / 1.14 GB, free: 26.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.9907, allocations: 7.625 kB / 1.14 GB, free: 26.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.9909, allocations: 37.8 kB / 1.14 GB, free: 26.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.9909, allocations: 3.938 kB / 1.14 GB, free: 26.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.9911, allocations: 30.89 kB / 1.14 GB, free: 26.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.9911, allocations: 11.67 kB / 1.14 GB, free: 26.07 MB / 0.698 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.runSig,assWatMas.assMes.u,$PRE.assWatMas.hys.y,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,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.0002257/0.9914, allocations: 210.1 kB / 1.14 GB, free: 25.93 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/0.9914, allocations: 59.72 kB / 1.14 GB, free: 25.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003688/0.9918, allocations: 224.2 kB / 1.141 GB, free: 25.81 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.9918, allocations: 7.906 kB / 1.141 GB, free: 25.81 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.9918, allocations: 4 kB / 1.141 GB, free: 25.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.9918, allocations: 0 / 1.141 GB, free: 25.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.9921, allocations: 381.9 kB / 1.141 GB, free: 25.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.9921, allocations: 0 / 1.141 GB, free: 25.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.517e-05/0.9922, allocations: 11.53 kB / 1.141 GB, free: 25.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.9922, allocations: 4 kB / 1.141 GB, free: 25.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.9922, allocations: 11.03 kB / 1.141 GB, free: 25.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.9922, allocations: 0 / 1.141 GB, free: 25.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.9922, allocations: 3.938 kB / 1.141 GB, free: 25.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.9926, allocations: 236 kB / 1.141 GB, free: 25.42 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.9927, allocations: 133.7 kB / 1.141 GB, free: 25.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.752e-05/0.9928, allocations: 15.22 kB / 1.141 GB, free: 25.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.9929, allocations: 23.02 kB / 1.141 GB, free: 25.28 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/0.993, allocations: 15.59 kB / 1.141 GB, free: 25.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.993, allocations: 6.656 kB / 1.141 GB, free: 25.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004992/0.9935, allocations: 469.4 kB / 1.142 GB, free: 25.11 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9935, allocations: 0 / 1.142 GB, free: 25.11 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003671/0.9939, allocations: 80.62 kB / 1.142 GB, free: 25.1 MB / 0.698 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.runSig,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.001069/0.995, allocations: 472 kB / 1.142 GB, free: 24.88 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003485/0.9953, allocations: 164.7 kB / 1.143 GB, free: 24.85 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.9954, allocations: 0 / 1.143 GB, free: 24.85 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.9955, allocations: 69.25 kB / 1.143 GB, free: 24.84 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005058/0.996, allocations: 89.92 kB / 1.143 GB, free: 24.82 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.9972, allocations: 0.9445 MB / 1.144 GB, free: 24.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.9976, allocations: 0.8646 MB / 1.144 GB, free: 23.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001612/0.9978, allocations: 51.67 kB / 1.144 GB, free: 23.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.823e-05/0.9979, allocations: 30.03 kB / 1.145 GB, free: 23.46 MB / 0.698 GB Notification: Performance of SimCode: time 4.3e-07/0.9979, allocations: 0 / 1.145 GB, free: 23.46 MB / 0.698 GB Notification: Performance of Templates: time 0.008843/1.007, allocations: 4.657 MB / 1.149 GB, free: 21.16 MB / 0.698 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)