Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.542/1.542, allocations: 289.7 MB / 302.3 MB, free: 2.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.0009871/0.0009871, allocations: 183.1 kB / 371.6 MB, free: 3.379 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.299/1.299, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0008394/0.0008393, allocations: 89.28 kB / 0.745 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.398e-05/3.4e-05, allocations: 4 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2326, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7097/0.9423, allocations: 144.6 MB / 1.121 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/0.9426, allocations: 92.06 kB / 1.121 GB, free: 40.49 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02672/0.9693, allocations: 11.46 MB / 1.132 GB, free: 33.93 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9694, allocations: 4 kB / 1.132 GB, free: 33.93 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.255e-05/0.9694, allocations: 4.844 kB / 1.132 GB, free: 33.92 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005982/0.97, allocations: 0.5852 MB / 1.133 GB, free: 33.36 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.9701, allocations: 12.03 kB / 1.133 GB, free: 33.34 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.53e-05/0.9701, allocations: 51.06 kB / 1.133 GB, free: 33.3 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/0.9707, allocations: 377.5 kB / 1.133 GB, free: 32.95 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.9707, allocations: 7.266 kB / 1.133 GB, free: 32.94 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.9707, allocations: 11.94 kB / 1.133 GB, free: 32.93 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.9709, allocations: 84.44 kB / 1.133 GB, free: 32.88 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.9709, allocations: 0 / 1.133 GB, free: 32.88 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.9709, allocations: 16.23 kB / 1.133 GB, free: 32.87 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.9709, allocations: 0 / 1.133 GB, free: 32.87 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.9711, allocations: 50.73 kB / 1.134 GB, free: 32.84 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006175/0.9717, allocations: 0.5149 MB / 1.134 GB, free: 32.44 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.9718, allocations: 81.16 kB / 1.134 GB, free: 32.38 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.727e-05/0.9719, allocations: 43.7 kB / 1.134 GB, free: 32.35 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.9719, allocations: 3.984 kB / 1.134 GB, free: 32.34 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/0.972, allocations: 90.53 kB / 1.134 GB, free: 32.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.9721, allocations: 0 / 1.134 GB, free: 32.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002283/0.9723, allocations: 143.4 kB / 1.134 GB, free: 32.15 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.9723, allocations: 51.41 kB / 1.134 GB, free: 32.09 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004202/0.9727, allocations: 493.6 kB / 1.135 GB, free: 31.73 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.9728, allocations: 29.7 kB / 1.135 GB, free: 31.7 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.9729, allocations: 225.5 kB / 1.135 GB, free: 31.59 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.9729, allocations: 23.08 kB / 1.135 GB, free: 31.57 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.9729, allocations: 4.625 kB / 1.135 GB, free: 31.57 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.62e-05/0.973, allocations: 359.6 kB / 1.135 GB, free: 31.24 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.738e-05/0.9731, allocations: 62.91 kB / 1.136 GB, free: 31.2 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.564e-05/0.9732, allocations: 87.22 kB / 1.136 GB, free: 31.14 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.403e-05/0.9733, allocations: 76.7 kB / 1.136 GB, free: 31.1 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.9733, allocations: 0 / 1.136 GB, free: 31.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002559/0.9736, allocations: 231.7 kB / 1.136 GB, free: 30.93 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.9736, allocations: 8 kB / 1.136 GB, free: 30.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.9736, allocations: 0 / 1.136 GB, free: 30.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.9736, allocations: 3.953 kB / 1.136 GB, free: 30.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.9738, allocations: 36.3 kB / 1.136 GB, free: 30.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.9739, allocations: 4.109 kB / 1.136 GB, free: 30.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.974, allocations: 28.91 kB / 1.136 GB, free: 30.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/0.974, allocations: 14.66 kB / 1.136 GB, free: 30.85 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.mFue_flow.tab.nextTimeEvent,$PRE.assFue.hys.y,assFue.hys.y,mFue_flow.tab.nextTimeEvent,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 5.374e-05/0.9741, allocations: 112 kB / 1.136 GB, free: 30.74 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.9741, allocations: 43.44 kB / 1.136 GB, free: 30.7 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.9744, allocations: 156.2 kB / 1.136 GB, free: 30.59 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.9744, allocations: 0 / 1.136 GB, free: 30.59 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.9744, allocations: 3.953 kB / 1.136 GB, free: 30.59 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.9744, allocations: 7.469 kB / 1.136 GB, free: 30.58 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.9746, allocations: 322.6 kB / 1.137 GB, free: 30.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.9746, allocations: 0 / 1.137 GB, free: 30.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.872e-05/0.9747, allocations: 12.66 kB / 1.137 GB, free: 30.31 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.9747, allocations: 7.516 kB / 1.137 GB, free: 30.3 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.9747, allocations: 0 / 1.137 GB, free: 30.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.9747, allocations: 0 / 1.137 GB, free: 30.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.9747, allocations: 1.641 kB / 1.137 GB, free: 30.3 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.9749, allocations: 219.8 kB / 1.137 GB, free: 30.12 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.555e-05/0.975, allocations: 118.7 kB / 1.137 GB, free: 29.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/0.9751, allocations: 7.812 kB / 1.137 GB, free: 29.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.284e-05/0.9752, allocations: 7.469 kB / 1.137 GB, free: 29.98 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.9752, allocations: 14.77 kB / 1.137 GB, free: 29.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.9752, allocations: 4 kB / 1.137 GB, free: 29.98 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002825/0.9755, allocations: 371.6 kB / 1.137 GB, free: 29.73 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9755, allocations: 0 / 1.137 GB, free: 29.73 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002587/0.9758, allocations: 59.69 kB / 1.137 GB, free: 29.67 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assFue.floChaRat.x) * Number of discrete variables: 4 ($whenCondition1,assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 3 (assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008358/0.9766, allocations: 430.2 kB / 1.138 GB, free: 29.4 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001844/0.9768, allocations: 114.8 kB / 1.138 GB, free: 29.32 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.9769, allocations: 4.062 kB / 1.138 GB, free: 29.32 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.946e-05/0.9769, allocations: 38.75 kB / 1.138 GB, free: 29.29 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.9772, allocations: 58.61 kB / 1.138 GB, free: 29.27 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006245/0.9779, allocations: 490.6 kB / 1.139 GB, free: 28.87 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.9781, allocations: 0.8328 MB / 1.139 GB, free: 28.09 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.764e-05/0.9781, allocations: 34.47 kB / 1.139 GB, free: 28.07 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/0.9782, allocations: 22.91 kB / 1.139 GB, free: 28.05 MB / 0.7448 GB Notification: Performance of SimCode: time 2.7e-07/0.9782, allocations: 0 / 1.139 GB, free: 28.05 MB / 0.7448 GB Notification: Performance of Templates: time 0.006699/0.9849, allocations: 3.484 MB / 1.143 GB, free: 26.05 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1)