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.005309/0.005309, allocations: 102.2 kB / 15.73 MB, free: 6.035 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.001218/0.001218, allocations: 198.9 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.446/1.446, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.606/1.606, allocations: 251.7 MB / 0.5094 GB, free: 3.031 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.001526/0.001526, allocations: 70.09 kB / 0.7258 GB, free: 9.008 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2662, allocations: 104.7 MB / 0.8281 GB, free: 204 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003579/0.2698, allocations: 2.247 MB / 0.8303 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.2717, allocations: 1.218 MB / 0.8314 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.2718, allocations: 7.938 kB / 0.8314 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000583/0.2724, allocations: 171.2 kB / 0.8316 GB, free: 12.54 MB / 0.6544 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.0003494/0.2728, allocations: 139.3 kB / 0.8317 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.2731, allocations: 115.1 kB / 0.8319 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.2734, allocations: 251.2 kB / 0.8321 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.2736, allocations: 48.39 kB / 0.8321 GB, free: 12 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.2737, allocations: 107.5 kB / 0.8322 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.2739, allocations: 103.5 kB / 0.8323 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.2739, allocations: 16 kB / 0.8324 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.633e-05/0.274, allocations: 35.98 kB / 0.8324 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.2741, allocations: 103.6 kB / 0.8325 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.2743, allocations: 146.8 kB / 0.8326 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004201/0.2747, allocations: 374.6 kB / 0.833 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.2747, allocations: 0 / 0.833 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.434e-06/0.2747, allocations: 0 / 0.833 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.2747, allocations: 0 / 0.833 GB, free: 11.12 MB / 0.6544 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.0009609/0.2757, allocations: 0.7075 MB / 0.8337 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.2757, allocations: 8.031 kB / 0.8337 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.219e-05/0.2758, allocations: 52.28 kB / 0.8337 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005065/0.2763, allocations: 388 kB / 0.8341 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.2764, allocations: 4.375 kB / 0.8341 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.2764, allocations: 12.12 kB / 0.8341 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.2766, allocations: 97.53 kB / 0.8342 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.2766, allocations: 7.984 kB / 0.8342 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.2767, allocations: 4 kB / 0.8342 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2767, allocations: 0 / 0.8342 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.2768, allocations: 47.98 kB / 0.8343 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008263/0.2776, allocations: 0.4924 MB / 0.8348 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.278, allocations: 102.7 kB / 0.8348 GB, free: 9.059 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.282e-05/0.2781, allocations: 28.86 kB / 0.8349 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.2781, allocations: 4 kB / 0.8349 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/0.2783, allocations: 91.3 kB / 0.835 GB, free: 8.922 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.2783, allocations: 3.938 kB / 0.835 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0003733/0.2787, allocations: 173 kB / 0.8351 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.2787, allocations: 59.39 kB / 0.8352 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005553/0.2793, allocations: 494.8 kB / 0.8357 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.2793, allocations: 29.7 kB / 0.8357 GB, free: 8.145 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.2795, allocations: 227.7 kB / 0.8359 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.2796, allocations: 31.64 kB / 0.8359 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-05/0.2796, allocations: 49.69 kB / 0.836 GB, free: 7.832 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.2798, allocations: 362.8 kB / 0.8363 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.2799, allocations: 51.98 kB / 0.8364 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.2801, allocations: 76.92 kB / 0.8365 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.2803, allocations: 96.28 kB / 0.8365 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2803, allocations: 4 kB / 0.8366 GB, free: 7.234 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003333/0.2806, allocations: 208.9 kB / 0.8368 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.2806, allocations: 8.062 kB / 0.8368 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2807, allocations: 4 kB / 0.8368 GB, free: 7.012 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.2807, allocations: 0 / 0.8368 GB, free: 7.012 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.2808, allocations: 27.98 kB / 0.8368 GB, free: 6.984 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2808, allocations: 0 / 0.8368 GB, free: 6.984 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.281, allocations: 19.89 kB / 0.8368 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.281, allocations: 8 kB / 0.8368 GB, free: 6.957 MB / 0.6544 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.0002148/0.2812, allocations: 192.9 kB / 0.837 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/0.2813, allocations: 51.38 kB / 0.8371 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.448e-05/0.2814, allocations: 47.83 kB / 0.8371 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2814, allocations: 0 / 0.8371 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.2814, allocations: 0 / 0.8371 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2814, allocations: 0 / 0.8371 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.2817, allocations: 317.5 kB / 0.8374 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2817, allocations: 0 / 0.8374 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.776e-05/0.2818, allocations: 11.98 kB / 0.8374 GB, free: 6.293 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.2818, allocations: 0 / 0.8374 GB, free: 6.293 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.2818, allocations: 0 / 0.8374 GB, free: 6.293 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.2818, allocations: 0 / 0.8374 GB, free: 6.293 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2818, allocations: 8.312 kB / 0.8374 GB, free: 6.285 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/0.2822, allocations: 212.3 kB / 0.8376 GB, free: 6.059 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.199e-05/0.2823, allocations: 120.6 kB / 0.8377 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.2823, allocations: 3.984 kB / 0.8377 GB, free: 5.918 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.236e-05/0.2824, allocations: 4 kB / 0.8377 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.2825, allocations: 19.97 kB / 0.8378 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.2825, allocations: 8.062 kB / 0.8378 GB, free: 5.887 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003434/0.2829, allocations: 350.8 kB / 0.8381 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.084e-06/0.2829, allocations: 0 / 0.8381 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002539/0.2831, allocations: 39.94 kB / 0.8381 GB, free: 5.508 MB / 0.6544 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.001023/0.2842, allocations: 421 kB / 0.8385 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002823/0.2844, allocations: 111.9 kB / 0.8387 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2845, allocations: 0 / 0.8387 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.378e-05/0.2846, allocations: 39.98 kB / 0.8387 GB, free: 5.098 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.285, allocations: 59.97 kB / 0.8387 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.286, allocations: 0.6684 MB / 0.8394 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.2864, allocations: 0.818 MB / 0.8402 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000102/0.2865, allocations: 37.92 kB / 0.8402 GB, free: 3.465 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.327e-05/0.2866, allocations: 27.42 kB / 0.8403 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of SimCode: time 3.9e-07/0.2866, allocations: 4 kB / 0.8403 GB, free: 3.434 MB / 0.6544 GB Notification: Performance of Templates: time 0.00706/0.2937, allocations: 2.787 MB / 0.843 GB, free: 0.6719 MB / 0.6544 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)