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.713/1.713, allocations: 288.3 MB / 303.2 MB, free: 8.207 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.001257/0.001257, allocations: 183.4 kB / 371.8 MB, free: 10.26 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.555/1.555, allocations: 205.4 MB / 0.6306 GB, free: 9.891 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.0009678/0.0009678, allocations: 89.72 kB / 0.7439 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.0003748, allocations: 11.69 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2074, allocations: 115.3 MB / 0.9794 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8499/1.057, allocations: 144.3 MB / 1.12 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/1.058, allocations: 93.66 kB / 1.12 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03284/1.09, allocations: 13.82 MB / 1.134 GB, free: 28.85 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.224e-06/1.091, allocations: 0 / 1.134 GB, free: 28.85 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.716e-05/1.091, allocations: 11.69 kB / 1.134 GB, free: 28.85 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.001056/1.092, allocations: 0.8141 MB / 1.135 GB, free: 28.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/1.092, allocations: 7.688 kB / 1.135 GB, free: 28.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/1.092, allocations: 58.31 kB / 1.135 GB, free: 28.13 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006334/1.092, allocations: 436.8 kB / 1.135 GB, free: 27.81 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/1.092, allocations: 11.03 kB / 1.135 GB, free: 27.81 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/1.093, allocations: 15.31 kB / 1.135 GB, free: 27.81 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/1.093, allocations: 142.8 kB / 1.135 GB, free: 27.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/1.093, allocations: 0 / 1.135 GB, free: 27.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/1.093, allocations: 7.406 kB / 1.135 GB, free: 27.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/1.093, allocations: 0 / 1.135 GB, free: 27.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/1.093, allocations: 71.73 kB / 1.135 GB, free: 27.72 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008661/1.094, allocations: 0.6029 MB / 1.136 GB, free: 27.33 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002633/1.094, allocations: 128.7 kB / 1.136 GB, free: 27.29 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/1.094, allocations: 3.844 kB / 1.136 GB, free: 27.29 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002047/1.094, allocations: 122.1 kB / 1.136 GB, free: 27.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/1.094, allocations: 0 / 1.136 GB, free: 27.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0004509/1.095, allocations: 238.7 kB / 1.136 GB, free: 27.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/1.095, allocations: 80.95 kB / 1.137 GB, free: 27.03 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000613/1.096, allocations: 0.6104 MB / 1.137 GB, free: 26.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/1.096, allocations: 29.39 kB / 1.137 GB, free: 26.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000199/1.096, allocations: 275.1 kB / 1.137 GB, free: 26.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/1.096, allocations: 32.34 kB / 1.137 GB, free: 26.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.171e-05/1.096, allocations: 2.5 kB / 1.137 GB, free: 26.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.096, allocations: 370.8 kB / 1.138 GB, free: 26.33 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/1.096, allocations: 88.98 kB / 1.138 GB, free: 26.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/1.096, allocations: 129.6 kB / 1.138 GB, free: 26.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/1.096, allocations: 99.3 kB / 1.138 GB, free: 26.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.096, allocations: 0 / 1.138 GB, free: 26.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004025/1.097, allocations: 294.5 kB / 1.138 GB, free: 26.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/1.097, allocations: 3.719 kB / 1.138 GB, free: 26.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.097, allocations: 3.984 kB / 1.138 GB, free: 26.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/1.097, allocations: 7.859 kB / 1.138 GB, free: 26.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/1.097, allocations: 43.12 kB / 1.138 GB, free: 26.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/1.097, allocations: 0 / 1.138 GB, free: 26.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/1.097, allocations: 26.73 kB / 1.139 GB, free: 26.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/1.097, allocations: 11.47 kB / 1.139 GB, free: 26.11 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.000212/1.098, allocations: 214.3 kB / 1.139 GB, free: 25.97 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/1.098, allocations: 54.41 kB / 1.139 GB, free: 25.94 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000364/1.098, allocations: 221.8 kB / 1.139 GB, free: 25.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/1.098, allocations: 7.797 kB / 1.139 GB, free: 25.85 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.098, allocations: 0 / 1.139 GB, free: 25.85 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/1.098, allocations: 0 / 1.139 GB, free: 25.85 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/1.098, allocations: 381.6 kB / 1.139 GB, free: 25.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.098, allocations: 0 / 1.139 GB, free: 25.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/1.098, allocations: 15.62 kB / 1.139 GB, free: 25.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/1.098, allocations: 3.906 kB / 1.139 GB, free: 25.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/1.098, allocations: 3.984 kB / 1.139 GB, free: 25.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/1.098, allocations: 0 / 1.139 GB, free: 25.58 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.098, allocations: 7.953 kB / 1.139 GB, free: 25.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/1.099, allocations: 238.2 kB / 1.14 GB, free: 25.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/1.099, allocations: 131.2 kB / 1.14 GB, free: 25.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/1.099, allocations: 3.188 kB / 1.14 GB, free: 25.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/1.099, allocations: 18.89 kB / 1.14 GB, free: 25.33 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/1.099, allocations: 22.38 kB / 1.14 GB, free: 25.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/1.099, allocations: 11.81 kB / 1.14 GB, free: 25.31 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004273/1.1, allocations: 469.8 kB / 1.14 GB, free: 25.16 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/1.1, allocations: 0 / 1.14 GB, free: 25.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003669/1.1, allocations: 84.33 kB / 1.14 GB, free: 25.14 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.0009723/1.101, allocations: 475.8 kB / 1.141 GB, free: 24.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003528/1.101, allocations: 166.3 kB / 1.141 GB, free: 24.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/1.101, allocations: 0 / 1.141 GB, free: 24.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/1.101, allocations: 63.22 kB / 1.141 GB, free: 24.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/1.102, allocations: 86.59 kB / 1.141 GB, free: 24.86 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/1.103, allocations: 0.9514 MB / 1.142 GB, free: 24.31 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/1.103, allocations: 0.8716 MB / 1.143 GB, free: 23.54 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001339/1.104, allocations: 52.92 kB / 1.143 GB, free: 23.51 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.264e-05/1.104, allocations: 29.44 kB / 1.143 GB, free: 23.5 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/1.104, allocations: 0 / 1.143 GB, free: 23.5 MB / 0.698 GB Notification: Performance of Templates: time 0.00841/1.112, allocations: 4.587 MB / 1.147 GB, free: 21.23 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)