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.726/1.726, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.00112/0.00112, allocations: 187.3 kB / 377.1 MB, free: 1.516 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.868/1.868, allocations: 205.4 MB / 0.6367 GB, free: 8.594 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.001139/0.001139, allocations: 94.27 kB / 0.751 GB, free: 63.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004076, allocations: 11.98 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3532, allocations: 116.3 MB / 0.9884 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9497/1.303, allocations: 144.7 MB / 1.13 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/1.303, allocations: 92.44 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03221/1.336, allocations: 11.49 MB / 1.141 GB, free: 22.77 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.354e-06/1.336, allocations: 0 / 1.141 GB, free: 22.77 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.866e-05/1.336, allocations: 8 kB / 1.141 GB, free: 22.76 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001129/1.337, allocations: 0.6883 MB / 1.142 GB, free: 22.06 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/1.337, allocations: 12.64 kB / 1.142 GB, free: 22.05 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.816e-05/1.337, allocations: 49.5 kB / 1.142 GB, free: 22 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006769/1.338, allocations: 371.9 kB / 1.142 GB, free: 21.64 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/1.338, allocations: 9.922 kB / 1.142 GB, free: 21.63 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.806e-05/1.338, allocations: 11.38 kB / 1.142 GB, free: 21.62 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/1.338, allocations: 89.64 kB / 1.142 GB, free: 21.54 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/1.338, allocations: 0 / 1.142 GB, free: 21.54 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/1.338, allocations: 8 kB / 1.142 GB, free: 21.54 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/1.338, allocations: 4 kB / 1.142 GB, free: 21.53 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/1.338, allocations: 52.91 kB / 1.142 GB, free: 21.49 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/1.339, allocations: 0.5181 MB / 1.143 GB, free: 21 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/1.34, allocations: 92.44 kB / 1.143 GB, free: 20.91 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/1.34, allocations: 4 kB / 1.143 GB, free: 20.91 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/1.34, allocations: 84.98 kB / 1.143 GB, free: 20.83 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/1.34, allocations: 0 / 1.143 GB, free: 20.83 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0004605/1.34, allocations: 179.8 kB / 1.143 GB, free: 20.66 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/1.34, allocations: 52.11 kB / 1.143 GB, free: 20.6 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006665/1.341, allocations: 493.9 kB / 1.144 GB, free: 20.17 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/1.341, allocations: 25.7 kB / 1.144 GB, free: 20.14 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/1.341, allocations: 231.8 kB / 1.144 GB, free: 19.93 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/1.341, allocations: 30.48 kB / 1.144 GB, free: 19.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.205e-05/1.341, allocations: 4 kB / 1.144 GB, free: 19.89 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.342, allocations: 358.3 kB / 1.144 GB, free: 19.55 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/1.342, allocations: 68.91 kB / 1.144 GB, free: 19.49 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/1.342, allocations: 94.02 kB / 1.144 GB, free: 19.4 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/1.342, allocations: 65.77 kB / 1.144 GB, free: 19.34 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.342, allocations: 0 / 1.144 GB, free: 19.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003537/1.342, allocations: 240.9 kB / 1.145 GB, free: 19.12 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/1.342, allocations: 4 kB / 1.145 GB, free: 19.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/1.342, allocations: 1.594 kB / 1.145 GB, free: 19.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/1.342, allocations: 8.062 kB / 1.145 GB, free: 19.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/1.343, allocations: 37.58 kB / 1.145 GB, free: 19.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/1.343, allocations: 0.5469 kB / 1.145 GB, free: 19.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/1.343, allocations: 18.7 kB / 1.145 GB, free: 19.06 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/1.343, allocations: 13.22 kB / 1.145 GB, free: 19.05 MB / 0.7292 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.0002059/1.343, allocations: 188.1 kB / 1.145 GB, free: 18.87 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.798e-05/1.343, allocations: 43.44 kB / 1.145 GB, free: 18.82 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003249/1.343, allocations: 166.2 kB / 1.145 GB, free: 18.68 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/1.343, allocations: 0 / 1.145 GB, free: 18.68 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/1.343, allocations: 3.953 kB / 1.145 GB, free: 18.67 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/1.344, allocations: 10.45 kB / 1.145 GB, free: 18.66 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003492/1.344, allocations: 322.8 kB / 1.146 GB, free: 18.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.344, allocations: 0.7031 kB / 1.146 GB, free: 18.35 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.391e-05/1.344, allocations: 10.12 kB / 1.146 GB, free: 18.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/1.344, allocations: 4 kB / 1.146 GB, free: 18.34 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/1.344, allocations: 0.75 kB / 1.146 GB, free: 18.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/1.344, allocations: 5.625 kB / 1.146 GB, free: 18.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.344, allocations: 0 / 1.146 GB, free: 18.33 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/1.344, allocations: 225 kB / 1.146 GB, free: 18.11 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.384e-05/1.344, allocations: 122.5 kB / 1.146 GB, free: 17.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/1.345, allocations: 9.828 kB / 1.146 GB, free: 17.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.333e-05/1.345, allocations: 6.578 kB / 1.146 GB, free: 17.96 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.179e-05/1.345, allocations: 17.59 kB / 1.146 GB, free: 17.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/1.345, allocations: 5.172 kB / 1.146 GB, free: 17.95 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004089/1.345, allocations: 365.9 kB / 1.146 GB, free: 17.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/1.345, allocations: 0 / 1.146 GB, free: 17.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003378/1.345, allocations: 70.47 kB / 1.146 GB, free: 17.58 MB / 0.7292 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.001201/1.347, allocations: 457.9 kB / 1.147 GB, free: 17.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002822/1.347, allocations: 116.2 kB / 1.147 GB, free: 17.2 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.347, allocations: 0 / 1.147 GB, free: 17.2 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.656e-05/1.347, allocations: 44.34 kB / 1.147 GB, free: 17.16 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/1.347, allocations: 56.05 kB / 1.147 GB, free: 17.12 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/1.349, allocations: 0.7866 MB / 1.148 GB, free: 16.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/1.349, allocations: 0.8344 MB / 1.149 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001326/1.349, allocations: 37.61 kB / 1.149 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.092e-05/1.349, allocations: 24.75 kB / 1.149 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of SimCode: time 5.61e-07/1.349, allocations: 0 / 1.149 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of Templates: time 0.009212/1.359, allocations: 3.382 MB / 1.152 GB, free: 13.59 MB / 0.7292 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)