Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.587/1.587, allocations: 297.8 MB / 313.7 MB, free: 132 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 183.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 223.2 MB / 0.6626 GB, free: 4.344 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008512/0.000851, allocations: 99.55 kB / 0.7808 GB, free: 50.35 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004059, allocations: 13.81 kB / 0.9088 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6583/0.6587, allocations: 120.3 MB / 1.026 GB, free: 55.89 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1783/0.837, allocations: 147.4 MB / 1.17 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.8372, allocations: 92.59 kB / 1.17 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02919/0.8664, allocations: 11.77 MB / 1.182 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8665, allocations: 0 / 1.182 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.338e-05/0.8665, allocations: 8 kB / 1.182 GB, free: 2.613 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.001/0.8675, allocations: 0.685 MB / 1.183 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.8676, allocations: 8.031 kB / 1.183 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.384e-05/0.8677, allocations: 52.28 kB / 1.183 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005693/0.8682, allocations: 392.1 kB / 1.183 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.8683, allocations: 4.375 kB / 1.183 GB, free: 1.391 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.8683, allocations: 17.44 kB / 1.183 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.8685, allocations: 100.9 kB / 1.183 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.8685, allocations: 3.938 kB / 1.183 GB, free: 1.27 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.8686, allocations: 4 kB / 1.183 GB, free: 1.266 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.8686, allocations: 4 kB / 1.183 GB, free: 1.262 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.8687, allocations: 51.97 kB / 1.183 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007566/0.8695, allocations: 0.5082 MB / 1.184 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.8697, allocations: 96.44 kB / 1.184 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.195e-05/0.8698, allocations: 32.84 kB / 1.184 GB, free: 0.5156 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.8698, allocations: 7.984 kB / 1.184 GB, free: 0.5078 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.87, allocations: 92.25 kB / 1.184 GB, free: 416 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.87, allocations: 0 / 1.184 GB, free: 416 kB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0003431/0.8703, allocations: 170 kB / 1.184 GB, free: 240 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.8704, allocations: 55.41 kB / 1.184 GB, free: 172 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005889/0.871, allocations: 0.5535 MB / 1.185 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.871, allocations: 25.7 kB / 1.185 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.8712, allocations: 220 kB / 1.185 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.021e-05/0.8712, allocations: 27.64 kB / 1.185 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.317e-05/0.8712, allocations: 9.5 kB / 1.185 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.8714, allocations: 358.8 kB / 1.185 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.8715, allocations: 63.97 kB / 1.185 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.8716, allocations: 91.47 kB / 1.185 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.8718, allocations: 119 kB / 1.185 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8718, allocations: 3.938 kB / 1.185 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003532/0.8722, allocations: 239.2 kB / 1.186 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.8722, allocations: 8 kB / 1.186 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.8722, allocations: 4.938 kB / 1.186 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.8723, allocations: 0 / 1.186 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.8724, allocations: 35.97 kB / 1.186 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.8724, allocations: 0 / 1.186 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.8726, allocations: 27.92 kB / 1.186 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.8726, allocations: 4 kB / 1.186 GB, free: 14.36 MB / 0.7605 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.0001768/0.8728, allocations: 190.3 kB / 1.186 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.8728, allocations: 46.38 kB / 1.186 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/0.8731, allocations: 164.3 kB / 1.186 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.8731, allocations: 4.891 kB / 1.186 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.8732, allocations: 0 / 1.186 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.8732, allocations: 4 kB / 1.186 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.8734, allocations: 325.5 kB / 1.186 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.8734, allocations: 0 / 1.186 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.012e-05/0.8735, allocations: 8 kB / 1.187 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.8735, allocations: 0 / 1.187 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.8735, allocations: 7.922 kB / 1.187 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.8735, allocations: 4 kB / 1.187 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8735, allocations: 0 / 1.187 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.8739, allocations: 224.6 kB / 1.187 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 8.677e-05/0.874, allocations: 116.5 kB / 1.187 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.874, allocations: 13.48 kB / 1.187 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.581e-05/0.8741, allocations: 7.984 kB / 1.187 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.8742, allocations: 15.92 kB / 1.187 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.8742, allocations: 11.98 kB / 1.187 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000379/0.8746, allocations: 362.8 kB / 1.187 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8746, allocations: 0 / 1.187 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002896/0.8749, allocations: 75.83 kB / 1.187 GB, free: 12.72 MB / 0.7605 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.0009876/0.8759, allocations: 457.6 kB / 1.188 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002588/0.8762, allocations: 115.9 kB / 1.188 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8762, allocations: 4.062 kB / 1.188 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 8.62e-05/0.8763, allocations: 40.58 kB / 1.188 GB, free: 12.35 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.8767, allocations: 66.22 kB / 1.188 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.8777, allocations: 0.7842 MB / 1.189 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.878, allocations: 0.8232 MB / 1.19 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001024/0.8781, allocations: 29.78 kB / 1.19 GB, free: 10.6 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.178e-05/0.8782, allocations: 31.42 kB / 1.19 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of SimCode: time 2.81e-07/0.8782, allocations: 0 / 1.19 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of Templates: time 0.007167/0.8854, allocations: 3.414 MB / 1.193 GB, free: 7.285 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1)