Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001533, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.622/1.622, allocations: 251.9 MB / 0.51 GB, free: 4.816 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006032/0.0006034, allocations: 16 kB / 0.6241 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6303/0.6309, allocations: 106.3 MB / 0.728 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003799/0.6348, allocations: 1.864 MB / 0.7298 GB, free: 9.699 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002568/0.6374, allocations: 1.106 MB / 0.7309 GB, free: 8.586 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002732/0.6378, allocations: 4 kB / 0.7309 GB, free: 8.582 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008341/0.6386, allocations: 167.3 kB / 0.731 GB, free: 8.418 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005398/0.6392, allocations: 119.7 kB / 0.7312 GB, free: 8.301 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005114/0.6397, allocations: 98.38 kB / 0.7312 GB, free: 8.207 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000379/0.6401, allocations: 155.7 kB / 0.7314 GB, free: 8.055 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.6403, allocations: 36.39 kB / 0.7314 GB, free: 8.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.6405, allocations: 99.55 kB / 0.7315 GB, free: 7.922 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.6407, allocations: 95.55 kB / 0.7316 GB, free: 7.828 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.6407, allocations: 4 kB / 0.7316 GB, free: 7.824 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.6409, allocations: 27.92 kB / 0.7316 GB, free: 7.797 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.641, allocations: 87.66 kB / 0.7317 GB, free: 7.711 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.6411, allocations: 81.45 kB / 0.7318 GB, free: 7.625 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003929/0.6415, allocations: 285.5 kB / 0.7321 GB, free: 7.348 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6416, allocations: 0 / 0.7321 GB, free: 7.348 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.367e-06/0.6416, allocations: 4 kB / 0.7321 GB, free: 7.344 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.004e-06/0.6416, allocations: 0 / 0.7321 GB, free: 7.344 MB / 0.545 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.001274/0.6429, allocations: 0.6484 MB / 0.7327 GB, free: 6.648 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.6429, allocations: 8.031 kB / 0.7327 GB, free: 6.641 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.54e-05/0.643, allocations: 47.39 kB / 0.7328 GB, free: 6.594 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006225/0.6437, allocations: 375.1 kB / 0.7331 GB, free: 6.188 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.6437, allocations: 7.984 kB / 0.7331 GB, free: 6.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.6437, allocations: 12 kB / 0.7331 GB, free: 6.168 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.644, allocations: 96.81 kB / 0.7332 GB, free: 6.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.644, allocations: 0 / 0.7332 GB, free: 6.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.644, allocations: 3.984 kB / 0.7332 GB, free: 6.066 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.644, allocations: 4 kB / 0.7332 GB, free: 6.062 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.6442, allocations: 51.94 kB / 0.7333 GB, free: 6.012 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008467/0.645, allocations: 0.4925 MB / 0.7338 GB, free: 5.469 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003642/0.6454, allocations: 110.6 kB / 0.7339 GB, free: 5.352 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.6454, allocations: 3.984 kB / 0.7339 GB, free: 5.348 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002476/0.6457, allocations: 87.31 kB / 0.734 GB, free: 5.25 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 2.154e-06/0.6457, allocations: 0 / 0.734 GB, free: 5.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0004087/0.6461, allocations: 169 kB / 0.7341 GB, free: 5.078 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.6462, allocations: 55.41 kB / 0.7342 GB, free: 5.012 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005474/0.6467, allocations: 494.8 kB / 0.7347 GB, free: 4.52 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.6468, allocations: 29.7 kB / 0.7347 GB, free: 4.484 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.647, allocations: 224.1 kB / 0.7349 GB, free: 4.262 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.156e-05/0.647, allocations: 31.69 kB / 0.7349 GB, free: 4.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.084e-05/0.647, allocations: 4 kB / 0.7349 GB, free: 4.227 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.6472, allocations: 354.8 kB / 0.7353 GB, free: 3.871 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.6473, allocations: 56.28 kB / 0.7353 GB, free: 3.816 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.6474, allocations: 81.92 kB / 0.7354 GB, free: 3.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.6476, allocations: 55.89 kB / 0.7355 GB, free: 3.676 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6476, allocations: 0 / 0.7355 GB, free: 3.676 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003294/0.6479, allocations: 205 kB / 0.7357 GB, free: 3.469 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.6479, allocations: 4 kB / 0.7357 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.6479, allocations: 0 / 0.7357 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.648, allocations: 4 kB / 0.7357 GB, free: 3.461 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.6481, allocations: 27.98 kB / 0.7357 GB, free: 3.434 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.6481, allocations: 8.062 kB / 0.7357 GB, free: 3.426 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.6483, allocations: 11.98 kB / 0.7357 GB, free: 3.414 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.6483, allocations: 12 kB / 0.7357 GB, free: 3.402 MB / 0.545 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.0002156/0.6486, allocations: 185.7 kB / 0.7359 GB, free: 3.211 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.6486, allocations: 47.39 kB / 0.7359 GB, free: 3.164 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.699e-05/0.6487, allocations: 47.83 kB / 0.736 GB, free: 3.117 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.6487, allocations: 4 kB / 0.736 GB, free: 3.113 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.6487, allocations: 4 kB / 0.736 GB, free: 3.109 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.6487, allocations: 0 / 0.736 GB, free: 3.109 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/0.6491, allocations: 313.4 kB / 0.7363 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6491, allocations: 0 / 0.7363 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.636e-05/0.6491, allocations: 8.375 kB / 0.7363 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.6491, allocations: 3.953 kB / 0.7363 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.6492, allocations: 8 kB / 0.7363 GB, free: 2.734 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.6492, allocations: 0 / 0.7363 GB, free: 2.734 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.6492, allocations: 7.938 kB / 0.7363 GB, free: 2.727 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003635/0.6496, allocations: 212.5 kB / 0.7365 GB, free: 2.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.6497, allocations: 108.6 kB / 0.7366 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/0.6497, allocations: 11.95 kB / 0.7366 GB, free: 2.363 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.506e-05/0.6498, allocations: 7.984 kB / 0.7366 GB, free: 2.355 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.6499, allocations: 11.98 kB / 0.7367 GB, free: 2.344 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.6499, allocations: 3.984 kB / 0.7367 GB, free: 2.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003675/0.6503, allocations: 350.8 kB / 0.737 GB, free: 2 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6503, allocations: 4.062 kB / 0.737 GB, free: 1.996 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002649/0.6506, allocations: 43.91 kB / 0.737 GB, free: 1.953 MB / 0.545 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 (mFue_flow.tab.nextTimeEventScaled,assFue.hys.y,mFue_flow.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0009593/0.6515, allocations: 416.3 kB / 0.7374 GB, free: 1.691 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002795/0.6518, allocations: 103.9 kB / 0.7375 GB, free: 1.59 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6518, allocations: 0 / 0.7375 GB, free: 1.59 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.477e-05/0.6519, allocations: 43.92 kB / 0.7376 GB, free: 1.547 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.6523, allocations: 60.91 kB / 0.7376 GB, free: 1.492 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.6534, allocations: 0.7474 MB / 0.7384 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.6538, allocations: 0.8315 MB / 0.7392 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001125/0.6539, allocations: 33.92 kB / 0.7392 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.573e-05/0.6541, allocations: 23.44 kB / 0.7392 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.6541, allocations: 0 / 0.7392 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of Templates: time 0.006862/0.6609, allocations: 2.566 MB / 0.7417 GB, free: 13.27 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) Environment - environmentSimulation: