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.007946/0.007946, allocations: 101.1 kB / 15.73 MB, free: 6.059 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.001319/0.001319, allocations: 194.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.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.574/1.574, allocations: 251.7 MB / 0.5094 GB, free: 392 kB / 430.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.001634/0.001634, allocations: 71.89 kB / 0.7258 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6666/0.6683, allocations: 104.7 MB / 0.8281 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003931/0.6723, allocations: 2.237 MB / 0.8302 GB, free: 324 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.002064/0.6744, allocations: 1.218 MB / 0.8314 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.6745, allocations: 0 / 0.8314 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00061/0.6752, allocations: 187.1 kB / 0.8316 GB, free: 14.91 MB / 0.6387 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004075/0.6756, allocations: 135.3 kB / 0.8317 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.6759, allocations: 116.7 kB / 0.8319 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00037/0.6763, allocations: 251.1 kB / 0.8321 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.6765, allocations: 55.89 kB / 0.8321 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.6767, allocations: 111.5 kB / 0.8323 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.6768, allocations: 103.5 kB / 0.8323 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.035e-05/0.6769, allocations: 15.98 kB / 0.8324 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.677, allocations: 40 kB / 0.8324 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.6771, allocations: 95.61 kB / 0.8325 GB, free: 14 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.6773, allocations: 154.8 kB / 0.8326 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0004663/0.6777, allocations: 379.3 kB / 0.833 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.6778, allocations: 7.984 kB / 0.833 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.734e-06/0.6778, allocations: 0 / 0.833 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.6778, allocations: 0 / 0.833 GB, free: 13.48 MB / 0.6387 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.000983/0.6788, allocations: 0.6957 MB / 0.8337 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.6788, allocations: 12.03 kB / 0.8337 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.971e-05/0.6789, allocations: 52.61 kB / 0.8338 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005602/0.6795, allocations: 408.3 kB / 0.8341 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.6795, allocations: 8.375 kB / 0.8341 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.6795, allocations: 12.12 kB / 0.8342 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.6798, allocations: 89.64 kB / 0.8342 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.6798, allocations: 0 / 0.8342 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.6798, allocations: 4 kB / 0.8342 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.6798, allocations: 7.984 kB / 0.8343 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.68, allocations: 51.91 kB / 0.8343 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008154/0.6808, allocations: 496.4 kB / 0.8348 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003814/0.6812, allocations: 110.6 kB / 0.8349 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.89e-05/0.6813, allocations: 36.84 kB / 0.8349 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.6813, allocations: 7.984 kB / 0.8349 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.6815, allocations: 87.25 kB / 0.835 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.6816, allocations: 0 / 0.835 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of matching and sorting (n=9): time 0.0004365/0.682, allocations: 181.2 kB / 0.8352 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.6821, allocations: 51.41 kB / 0.8352 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005774/0.6826, allocations: 0.4911 MB / 0.8357 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.6827, allocations: 25.7 kB / 0.8357 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.6829, allocations: 228 kB / 0.836 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.6829, allocations: 27.92 kB / 0.836 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.348e-05/0.683, allocations: 45.66 kB / 0.836 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002001/0.6832, allocations: 362.8 kB / 0.8364 GB, free: 9.812 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.6833, allocations: 47.98 kB / 0.8364 GB, free: 9.766 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.6835, allocations: 81.73 kB / 0.8365 GB, free: 9.68 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.6837, allocations: 100.7 kB / 0.8366 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6837, allocations: 0 / 0.8366 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003475/0.6841, allocations: 205.3 kB / 0.8368 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.6841, allocations: 8 kB / 0.8368 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.6841, allocations: 0 / 0.8368 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.6841, allocations: 0 / 0.8368 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.6843, allocations: 31.98 kB / 0.8368 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-06/0.6843, allocations: 4 kB / 0.8368 GB, free: 9.328 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.6844, allocations: 23.88 kB / 0.8369 GB, free: 9.305 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.6844, allocations: 16 kB / 0.8369 GB, free: 9.289 MB / 0.6387 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 ($PRE.mFue_flow.tab.nextTimeEvent,$whenCondition1,mFue_flow.tab.nextTimeEventScaled,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEvent,assFue.hys.y,$PRE.assFue.hys.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002091/0.6847, allocations: 182.8 kB / 0.837 GB, free: 9.102 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/0.6847, allocations: 51.64 kB / 0.8371 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.655e-05/0.6848, allocations: 43.84 kB / 0.8371 GB, free: 9.008 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.6848, allocations: 0 / 0.8371 GB, free: 9.008 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.6848, allocations: 4 kB / 0.8371 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.6849, allocations: 7.984 kB / 0.8371 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003133/0.6852, allocations: 317.8 kB / 0.8374 GB, free: 8.637 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.6852, allocations: 0 / 0.8374 GB, free: 8.637 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.239e-05/0.6853, allocations: 8 kB / 0.8375 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.6853, allocations: 0 / 0.8375 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.6853, allocations: 11.86 kB / 0.8375 GB, free: 8.617 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.6853, allocations: 4 kB / 0.8375 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.6853, allocations: 0 / 0.8375 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003867/0.6857, allocations: 216.7 kB / 0.8377 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.041e-05/0.6858, allocations: 112.8 kB / 0.8378 GB, free: 8.254 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/0.6858, allocations: 4 kB / 0.8378 GB, free: 8.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.203e-05/0.6859, allocations: 11.98 kB / 0.8378 GB, free: 8.238 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/0.686, allocations: 7.984 kB / 0.8378 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.686, allocations: 4 kB / 0.8378 GB, free: 8.227 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004121/0.6864, allocations: 350.8 kB / 0.8381 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6864, allocations: 0 / 0.8381 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002661/0.6867, allocations: 47.94 kB / 0.8382 GB, free: 7.84 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009974/0.6877, allocations: 427.6 kB / 0.8386 GB, free: 7.574 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002655/0.688, allocations: 103.9 kB / 0.8387 GB, free: 7.473 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.688, allocations: 0 / 0.8387 GB, free: 7.473 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 9.277e-05/0.6881, allocations: 39.92 kB / 0.8387 GB, free: 7.434 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.6885, allocations: 62.27 kB / 0.8388 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.6895, allocations: 0.6712 MB / 0.8395 GB, free: 6.676 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.69, allocations: 0.8335 MB / 0.8403 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001046/0.6901, allocations: 33.92 kB / 0.8403 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.391e-05/0.6901, allocations: 27.44 kB / 0.8403 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of SimCode: time 3.81e-07/0.6901, allocations: 0 / 0.8403 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of Templates: time 0.007393/0.6975, allocations: 2.815 MB / 0.8431 GB, free: 2.969 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (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)