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.521/2.521, allocations: 287.5 MB / 303.2 MB, free: 8.254 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.00136/0.001359, allocations: 189.7 kB / 371.8 MB, free: 10.81 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.053/2.053, allocations: 205.4 MB / 0.6305 GB, free: 10.54 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.00094/0.0009394, allocations: 89.36 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005094/0.0005096, allocations: 13 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2155, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9332/1.149, allocations: 144.1 MB / 1.12 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004988/1.149, allocations: 94.94 kB / 1.12 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06623/1.216, allocations: 13.87 MB / 1.134 GB, free: 29.14 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.655e-06/1.216, allocations: 0 / 1.134 GB, free: 29.14 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.5e-05/1.216, allocations: 11.5 kB / 1.134 GB, free: 29.14 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.001726/1.217, allocations: 0.7985 MB / 1.135 GB, free: 28.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/1.218, allocations: 15.75 kB / 1.135 GB, free: 28.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/1.218, allocations: 59.25 kB / 1.135 GB, free: 28.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/1.219, allocations: 462.3 kB / 1.135 GB, free: 28.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/1.219, allocations: 7.969 kB / 1.135 GB, free: 28.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/1.219, allocations: 11.94 kB / 1.135 GB, free: 28.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003999/1.219, allocations: 142 kB / 1.135 GB, free: 28.01 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/1.219, allocations: 4 kB / 1.135 GB, free: 28.01 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/1.219, allocations: 3.062 kB / 1.135 GB, free: 28.01 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/1.219, allocations: 3.906 kB / 1.135 GB, free: 28.01 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000253/1.22, allocations: 77.17 kB / 1.135 GB, free: 27.99 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/1.221, allocations: 0.5979 MB / 1.136 GB, free: 27.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004513/1.222, allocations: 129.8 kB / 1.136 GB, free: 27.56 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/1.222, allocations: 49.61 kB / 1.136 GB, free: 27.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/1.222, allocations: 0 / 1.136 GB, free: 27.54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003151/1.222, allocations: 116.3 kB / 1.136 GB, free: 27.47 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 2.615e-06/1.222, allocations: 0 / 1.136 GB, free: 27.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0008445/1.223, allocations: 244 kB / 1.136 GB, free: 27.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/1.223, allocations: 77.11 kB / 1.136 GB, free: 27.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/1.225, allocations: 0.6916 MB / 1.137 GB, free: 27.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.551e-05/1.225, allocations: 33.14 kB / 1.137 GB, free: 27.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003045/1.225, allocations: 269 kB / 1.137 GB, free: 26.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.556e-05/1.225, allocations: 38.33 kB / 1.137 GB, free: 26.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.542e-05/1.225, allocations: 3 kB / 1.137 GB, free: 26.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001911/1.225, allocations: 374.3 kB / 1.138 GB, free: 26.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/1.226, allocations: 86.67 kB / 1.138 GB, free: 26.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002859/1.226, allocations: 134.7 kB / 1.138 GB, free: 26.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004146/1.226, allocations: 148.2 kB / 1.138 GB, free: 26.44 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/1.226, allocations: 0 / 1.138 GB, free: 26.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007968/1.227, allocations: 289.5 kB / 1.138 GB, free: 26.35 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/1.227, allocations: 7.531 kB / 1.138 GB, free: 26.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.227, allocations: 64 / 1.138 GB, free: 26.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/1.227, allocations: 7.938 kB / 1.138 GB, free: 26.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/1.227, allocations: 34.42 kB / 1.138 GB, free: 26.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/1.228, allocations: 3.688 kB / 1.138 GB, free: 26.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/1.228, allocations: 30.72 kB / 1.138 GB, free: 26.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.75e-05/1.228, allocations: 11.7 kB / 1.139 GB, free: 26.32 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.0004299/1.228, allocations: 222.1 kB / 1.139 GB, free: 26.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/1.229, allocations: 62.34 kB / 1.139 GB, free: 26.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006439/1.229, allocations: 213 kB / 1.139 GB, free: 26.06 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/1.229, allocations: 3.938 kB / 1.139 GB, free: 26.06 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/1.229, allocations: 0 / 1.139 GB, free: 26.06 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/1.229, allocations: 3.938 kB / 1.139 GB, free: 26.06 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005037/1.23, allocations: 379.5 kB / 1.139 GB, free: 25.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/1.23, allocations: 0 / 1.139 GB, free: 25.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.686e-05/1.23, allocations: 15.47 kB / 1.139 GB, free: 25.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/1.23, allocations: 0 / 1.139 GB, free: 25.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/1.23, allocations: 15.42 kB / 1.139 GB, free: 25.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/1.23, allocations: 3.719 kB / 1.139 GB, free: 25.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.23, allocations: 0 / 1.139 GB, free: 25.79 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005952/1.231, allocations: 231.5 kB / 1.14 GB, free: 25.67 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/1.231, allocations: 133.8 kB / 1.14 GB, free: 25.55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.008e-05/1.231, allocations: 7.062 kB / 1.14 GB, free: 25.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/1.231, allocations: 22.17 kB / 1.14 GB, free: 25.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.809e-05/1.231, allocations: 18.38 kB / 1.14 GB, free: 25.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/1.231, allocations: 3.844 kB / 1.14 GB, free: 25.53 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008171/1.232, allocations: 474.2 kB / 1.14 GB, free: 25.36 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.232, allocations: 0 / 1.14 GB, free: 25.36 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005858/1.233, allocations: 88.23 kB / 1.14 GB, free: 25.35 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.001318/1.234, allocations: 467.6 kB / 1.141 GB, free: 25.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006567/1.235, allocations: 166.8 kB / 1.141 GB, free: 25.11 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/1.235, allocations: 0 / 1.141 GB, free: 25.11 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/1.235, allocations: 68.44 kB / 1.141 GB, free: 25.09 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008233/1.236, allocations: 94 kB / 1.141 GB, free: 25.06 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/1.238, allocations: 0.9482 MB / 1.142 GB, free: 24.51 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005778/1.238, allocations: 0.8637 MB / 1.143 GB, free: 23.74 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003129/1.239, allocations: 48.77 kB / 1.143 GB, free: 23.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/1.239, allocations: 30.8 kB / 1.143 GB, free: 23.71 MB / 0.698 GB Notification: Performance of SimCode: time 1.233e-06/1.239, allocations: 0 / 1.143 GB, free: 23.71 MB / 0.698 GB Notification: Performance of Templates: time 0.01492/1.254, allocations: 4.606 MB / 1.147 GB, free: 21.43 MB / 0.698 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)