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.625/1.625, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001/0.001001, allocations: 184.9 kB / 361.4 MB, free: 6.852 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.444/1.444, allocations: 205.3 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008561/0.000856, allocations: 95.78 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.955e-05/1.968e-05, allocations: 8 kB / 0.8518 GB, free: 2.734 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5597/0.5597, allocations: 115.3 MB / 0.9644 GB, free: 78.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1669/0.7267, allocations: 143.5 MB / 1.105 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.727, allocations: 89.31 kB / 1.105 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03583/0.7628, allocations: 13.66 MB / 1.118 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7629, allocations: 0 / 1.118 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.157e-05/0.7629, allocations: 12 kB / 1.118 GB, free: 14.54 MB / 0.7292 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.0009353/0.7639, allocations: 0.6905 MB / 1.119 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.7639, allocations: 8.031 kB / 1.119 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.764, allocations: 64.28 kB / 1.119 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007089/0.7648, allocations: 439.8 kB / 1.119 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.7648, allocations: 5.172 kB / 1.119 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.7648, allocations: 12 kB / 1.119 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001467/0.765, allocations: 64.34 kB / 1.119 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.7652, allocations: 125.5 kB / 1.119 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.7652, allocations: 4 kB / 1.119 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.7652, allocations: 4 kB / 1.119 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.7652, allocations: 0 / 1.119 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008703/0.7661, allocations: 0.5522 MB / 1.12 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.7663, allocations: 114.8 kB / 1.12 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.849e-05/0.7664, allocations: 44.84 kB / 1.12 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.7664, allocations: 5.406 kB / 1.12 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.7666, allocations: 115.8 kB / 1.12 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.974e-06/0.7666, allocations: 4 kB / 1.12 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0003354/0.767, allocations: 182 kB / 1.12 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.767, allocations: 77.11 kB / 1.12 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007631/0.7678, allocations: 0.5776 MB / 1.121 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.7678, allocations: 29.7 kB / 1.121 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.768, allocations: 264.4 kB / 1.121 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.7681, allocations: 27.61 kB / 1.121 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.236e-05/0.7681, allocations: 0 / 1.121 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.7682, allocations: 378.8 kB / 1.122 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.7684, allocations: 73.3 kB / 1.122 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.7685, allocations: 121.5 kB / 1.122 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.7688, allocations: 92.84 kB / 1.122 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.7688, allocations: 3.938 kB / 1.122 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000467/0.7693, allocations: 278.1 kB / 1.122 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.7693, allocations: 8.781 kB / 1.122 GB, free: 10 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.7693, allocations: 0 / 1.122 GB, free: 10 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.7693, allocations: 0 / 1.122 GB, free: 10 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.7695, allocations: 43.88 kB / 1.122 GB, free: 9.957 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/0.7695, allocations: 5.484 kB / 1.122 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.7697, allocations: 27.89 kB / 1.122 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/0.7698, allocations: 11.98 kB / 1.122 GB, free: 9.914 MB / 0.7292 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 () * 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.0001008/0.7699, allocations: 110.7 kB / 1.122 GB, free: 9.801 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/0.77, allocations: 55.34 kB / 1.122 GB, free: 9.746 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/0.7703, allocations: 200.9 kB / 1.123 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.7703, allocations: 0 / 1.123 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.7703, allocations: 7.953 kB / 1.123 GB, free: 9.535 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.7703, allocations: 8.016 kB / 1.123 GB, free: 9.527 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003317/0.7707, allocations: 349.9 kB / 1.123 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.7707, allocations: 6.891 kB / 1.123 GB, free: 9.145 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.342e-05/0.7708, allocations: 12 kB / 1.123 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.7708, allocations: 0 / 1.123 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.7708, allocations: 0 / 1.123 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.7708, allocations: 4 kB / 1.123 GB, free: 9.129 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7708, allocations: 0 / 1.123 GB, free: 9.129 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.7711, allocations: 220.2 kB / 1.123 GB, free: 8.895 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.7712, allocations: 140.3 kB / 1.123 GB, free: 8.738 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.564e-05/0.7713, allocations: 8 kB / 1.123 GB, free: 8.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.7714, allocations: 11.98 kB / 1.123 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.605e-05/0.7715, allocations: 19.97 kB / 1.123 GB, free: 8.699 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.7715, allocations: 6.375 kB / 1.123 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004695/0.772, allocations: 435.1 kB / 1.124 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.51e-07/0.772, allocations: 0 / 1.124 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003441/0.7724, allocations: 79.92 kB / 1.124 GB, free: 8.195 MB / 0.7292 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) * 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.0008485/0.7732, allocations: 407.4 kB / 1.124 GB, free: 7.922 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002702/0.7735, allocations: 151.8 kB / 1.124 GB, free: 7.773 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7735, allocations: 0 / 1.124 GB, free: 7.773 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.881e-05/0.7736, allocations: 55.94 kB / 1.124 GB, free: 7.719 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.7741, allocations: 94.47 kB / 1.125 GB, free: 7.637 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009974/0.7751, allocations: 0.5949 MB / 1.125 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/0.7756, allocations: 0.877 MB / 1.126 GB, free: 6.109 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001453/0.7757, allocations: 43.22 kB / 1.126 GB, free: 6.07 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.522e-05/0.7758, allocations: 31.42 kB / 1.126 GB, free: 6.039 MB / 0.7292 GB Notification: Performance of SimCode: time 3.01e-07/0.7758, allocations: 0 / 1.126 GB, free: 6.039 MB / 0.7292 GB Notification: Performance of Templates: time 0.008664/0.7845, allocations: 4.019 MB / 1.13 GB, free: 2.102 MB / 0.7292 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)