Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.168/2.168, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001363/0.001362, allocations: 176.5 kB / 326.2 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.398/2.398, allocations: 205.4 MB / 0.5772 GB, free: 21.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009924/0.000992, allocations: 95.67 kB / 0.6817 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006555/0.0006558, allocations: 11.56 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2253, allocations: 106.3 MB / 0.8995 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2823/0.5076, allocations: 136.8 MB / 1.033 GB, free: 9.023 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003692/0.5081, allocations: 91.95 kB / 1.033 GB, free: 8.934 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.04976/0.5579, allocations: 11.16 MB / 1.044 GB, free: 13.66 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5579, allocations: 0 / 1.044 GB, free: 13.66 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.383e-05/0.558, allocations: 16 kB / 1.044 GB, free: 13.65 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001414/0.5594, allocations: 0.6727 MB / 1.045 GB, free: 12.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.5595, allocations: 12.03 kB / 1.045 GB, free: 12.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.5596, allocations: 44.38 kB / 1.045 GB, free: 12.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008694/0.5605, allocations: 360.7 kB / 1.045 GB, free: 12.47 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.5605, allocations: 8.312 kB / 1.045 GB, free: 12.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.5606, allocations: 12.38 kB / 1.045 GB, free: 12.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/0.5609, allocations: 91.61 kB / 1.045 GB, free: 12.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.561, allocations: 3.938 kB / 1.045 GB, free: 12.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.561, allocations: 8 kB / 1.045 GB, free: 12.35 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.561, allocations: 0 / 1.045 GB, free: 12.35 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/0.5613, allocations: 51.97 kB / 1.045 GB, free: 12.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.5626, allocations: 0.5121 MB / 1.046 GB, free: 11.73 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003747/0.563, allocations: 94.67 kB / 1.046 GB, free: 11.63 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.5631, allocations: 32.89 kB / 1.046 GB, free: 11.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.5632, allocations: 0 / 1.046 GB, free: 11.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002763/0.5635, allocations: 91.31 kB / 1.046 GB, free: 11.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.134e-06/0.5635, allocations: 0 / 1.046 GB, free: 11.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0006203/0.5641, allocations: 169 kB / 1.046 GB, free: 11.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.5642, allocations: 55.41 kB / 1.046 GB, free: 11.26 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.5652, allocations: 0.5378 MB / 1.047 GB, free: 10.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.731e-05/0.5653, allocations: 29.7 kB / 1.047 GB, free: 10.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002848/0.5656, allocations: 216 kB / 1.047 GB, free: 10.46 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.549e-05/0.5656, allocations: 31.77 kB / 1.047 GB, free: 10.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.979e-05/0.5657, allocations: 7.938 kB / 1.047 GB, free: 10.42 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002222/0.5659, allocations: 358.8 kB / 1.047 GB, free: 10.06 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.5661, allocations: 59.97 kB / 1.047 GB, free: 10 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.5664, allocations: 103.6 kB / 1.048 GB, free: 9.895 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002541/0.5667, allocations: 65.53 kB / 1.048 GB, free: 9.832 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.5667, allocations: 0 / 1.048 GB, free: 9.832 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006821/0.5674, allocations: 237 kB / 1.048 GB, free: 9.594 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.5674, allocations: 4 kB / 1.048 GB, free: 9.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.5675, allocations: 11.92 kB / 1.048 GB, free: 9.578 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.5675, allocations: 0 / 1.048 GB, free: 9.578 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.5678, allocations: 35.98 kB / 1.048 GB, free: 9.543 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.5678, allocations: 0 / 1.048 GB, free: 9.543 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002627/0.5681, allocations: 19.84 kB / 1.048 GB, free: 9.523 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-05/0.5681, allocations: 11.98 kB / 1.048 GB, free: 9.512 MB / 0.698 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 () * Number of clocked 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 0.0003594/0.5685, allocations: 189.7 kB / 1.048 GB, free: 9.316 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.912e-05/0.5686, allocations: 43.44 kB / 1.048 GB, free: 9.273 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004955/0.5691, allocations: 165.3 kB / 1.048 GB, free: 9.102 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-06/0.5691, allocations: 4 kB / 1.048 GB, free: 9.098 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.5691, allocations: 0 / 1.048 GB, free: 9.098 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.5691, allocations: 0 / 1.048 GB, free: 9.098 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.5696, allocations: 313.5 kB / 1.049 GB, free: 8.742 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.5696, allocations: 0 / 1.049 GB, free: 8.742 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.5698, allocations: 16 kB / 1.049 GB, free: 8.727 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.5698, allocations: 4.453 kB / 1.049 GB, free: 8.723 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.5698, allocations: 3.938 kB / 1.049 GB, free: 8.719 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.5698, allocations: 0 / 1.049 GB, free: 8.719 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5698, allocations: 0 / 1.049 GB, free: 8.719 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006351/0.5705, allocations: 220.4 kB / 1.049 GB, free: 8.484 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.5707, allocations: 116.6 kB / 1.049 GB, free: 8.352 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.79e-05/0.5707, allocations: 11.94 kB / 1.049 GB, free: 8.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.5709, allocations: 7.984 kB / 1.049 GB, free: 8.332 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.319e-05/0.571, allocations: 11.98 kB / 1.049 GB, free: 8.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.5711, allocations: 7.984 kB / 1.049 GB, free: 8.312 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007219/0.5718, allocations: 366.9 kB / 1.049 GB, free: 7.957 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.71e-07/0.5718, allocations: 3.938 kB / 1.049 GB, free: 7.953 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004629/0.5723, allocations: 59.84 kB / 1.049 GB, free: 7.895 MB / 0.698 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) * Number of clocked states: 0 () * 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.001479/0.5738, allocations: 458.9 kB / 1.05 GB, free: 7.602 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004912/0.5743, allocations: 114.3 kB / 1.05 GB, free: 7.492 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5743, allocations: 0 / 1.05 GB, free: 7.492 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.5745, allocations: 43.92 kB / 1.05 GB, free: 7.449 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006442/0.5751, allocations: 55.36 kB / 1.05 GB, free: 7.395 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.577, allocations: 0.775 MB / 1.051 GB, free: 6.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007098/0.5777, allocations: 0.822 MB / 1.052 GB, free: 5.742 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002163/0.578, allocations: 33.52 kB / 1.052 GB, free: 5.707 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.997e-05/0.5781, allocations: 19.42 kB / 1.052 GB, free: 5.688 MB / 0.698 GB Notification: Performance of SimCode: time 1.453e-06/0.5781, allocations: 4 kB / 1.052 GB, free: 5.684 MB / 0.698 GB Notification: Performance of Templates: time 0.01326/0.5913, allocations: 3.122 MB / 1.055 GB, free: 2.582 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1)