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.606/1.606, allocations: 289.9 MB / 297.4 MB, free: 6.297 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.0009664/0.0009664, allocations: 176.9 kB / 366.7 MB, free: 1.637 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.325/1.325, allocations: 205.2 MB / 0.626 GB, free: 7.16 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.0008713/0.0008713, allocations: 80.59 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.007e-05/2.01e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5939/0.5939, allocations: 116.3 MB / 0.9733 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1727/0.7667, allocations: 144 MB / 1.114 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.767, allocations: 95.69 kB / 1.114 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02913/0.7962, allocations: 11.37 MB / 1.125 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7962, allocations: 4 kB / 1.125 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.201e-05/0.7963, allocations: 4 kB / 1.125 GB, free: 10.7 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.0008511/0.7971, allocations: 0.587 MB / 1.126 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.7972, allocations: 20.02 kB / 1.126 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.7973, allocations: 43.44 kB / 1.126 GB, free: 10 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000615/0.7979, allocations: 371.1 kB / 1.126 GB, free: 9.602 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.798, allocations: 4 kB / 1.126 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.798, allocations: 4 kB / 1.126 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001331/0.7981, allocations: 51.92 kB / 1.126 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.7983, allocations: 79.45 kB / 1.126 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.7983, allocations: 3.984 kB / 1.126 GB, free: 9.457 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.7983, allocations: 4 kB / 1.126 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.7983, allocations: 0 / 1.126 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000779/0.7991, allocations: 0.4892 MB / 1.127 GB, free: 8.926 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.7993, allocations: 78.59 kB / 1.127 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.994e-05/0.7993, allocations: 31.36 kB / 1.127 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.7994, allocations: 144 / 1.127 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.7995, allocations: 87.22 kB / 1.127 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.863e-06/0.7995, allocations: 0 / 1.127 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0002853/0.7998, allocations: 148.6 kB / 1.127 GB, free: 8.562 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.7999, allocations: 51.41 kB / 1.127 GB, free: 8.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005128/0.8004, allocations: 462.1 kB / 1.127 GB, free: 8.043 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.8004, allocations: 29.7 kB / 1.128 GB, free: 8.008 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.8006, allocations: 220.1 kB / 1.128 GB, free: 7.789 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.8007, allocations: 31.69 kB / 1.128 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.8007, allocations: 0 / 1.128 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.8008, allocations: 362.8 kB / 1.128 GB, free: 7.395 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.471e-05/0.8009, allocations: 64.36 kB / 1.128 GB, free: 7.328 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.801, allocations: 83.11 kB / 1.128 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.8012, allocations: 71.95 kB / 1.128 GB, free: 7.168 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.8012, allocations: 0 / 1.128 GB, free: 7.168 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003842/0.8016, allocations: 227 kB / 1.129 GB, free: 6.941 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.8017, allocations: 4 kB / 1.129 GB, free: 6.938 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.8017, allocations: 12.05 kB / 1.129 GB, free: 6.926 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.8017, allocations: 0 / 1.129 GB, free: 6.926 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.8019, allocations: 35.92 kB / 1.129 GB, free: 6.891 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.8019, allocations: 3.953 kB / 1.129 GB, free: 6.887 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.802, allocations: 23.05 kB / 1.129 GB, free: 6.867 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/0.8021, allocations: 8 kB / 1.129 GB, free: 6.859 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 () * 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 8.336e-05/0.8022, allocations: 108.9 kB / 1.129 GB, free: 6.746 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.8022, allocations: 43.44 kB / 1.129 GB, free: 6.703 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.8025, allocations: 153.6 kB / 1.129 GB, free: 6.547 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.8025, allocations: 0 / 1.129 GB, free: 6.547 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.8025, allocations: 4 kB / 1.129 GB, free: 6.543 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.8025, allocations: 3.953 kB / 1.129 GB, free: 6.539 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.8028, allocations: 294 kB / 1.129 GB, free: 6.215 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.8028, allocations: 0 / 1.129 GB, free: 6.215 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.618e-05/0.8029, allocations: 8 kB / 1.129 GB, free: 6.207 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.8029, allocations: 3.984 kB / 1.129 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.8029, allocations: 0 / 1.129 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.8029, allocations: 5.219 kB / 1.129 GB, free: 6.199 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8029, allocations: 4 kB / 1.129 GB, free: 6.195 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.8032, allocations: 208.4 kB / 1.129 GB, free: 5.973 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.587e-05/0.8033, allocations: 112.6 kB / 1.13 GB, free: 5.844 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.8034, allocations: 8 kB / 1.13 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.8035, allocations: 10.05 kB / 1.13 GB, free: 5.828 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.8035, allocations: 11.98 kB / 1.13 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.8035, allocations: 8.047 kB / 1.13 GB, free: 5.809 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003228/0.8039, allocations: 338.9 kB / 1.13 GB, free: 5.48 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8039, allocations: 0 / 1.13 GB, free: 5.48 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002863/0.8042, allocations: 55.92 kB / 1.13 GB, free: 5.426 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) * 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.0008672/0.8051, allocations: 406.4 kB / 1.13 GB, free: 5.16 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001963/0.8053, allocations: 107.9 kB / 1.13 GB, free: 5.055 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8053, allocations: 0 / 1.13 GB, free: 5.055 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.65e-05/0.8053, allocations: 43.92 kB / 1.13 GB, free: 5.012 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.8057, allocations: 60.31 kB / 1.131 GB, free: 4.957 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007962/0.8065, allocations: 483.2 kB / 1.131 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.8069, allocations: 0.839 MB / 1.132 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001095/0.807, allocations: 32.66 kB / 1.132 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.729e-05/0.8071, allocations: 27.42 kB / 1.132 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of SimCode: time 3.5e-07/0.8071, allocations: 0 / 1.132 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of Templates: time 0.006757/0.8138, allocations: 2.909 MB / 1.135 GB, free: 0.707 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)