Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.899/1.899, allocations: 288.3 MB / 303.2 MB, free: 8.191 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.00114/0.00114, allocations: 183.7 kB / 371.9 MB, free: 10.25 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.75/1.75, allocations: 205.4 MB / 0.6306 GB, free: 9.973 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009749/0.0009749, allocations: 97.2 kB / 0.7439 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004276/0.0004277, allocations: 12.09 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2701, allocations: 115.3 MB / 0.9794 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.00251/0.2727, allocations: 1.883 MB / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.2744, allocations: 1.243 MB / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.2746, allocations: 0 / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005034/0.2751, allocations: 179.2 kB / 0.9826 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.2754, allocations: 115.7 kB / 0.9828 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.2757, allocations: 117.8 kB / 0.9829 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.2759, allocations: 175.6 kB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.2761, allocations: 37 kB / 0.9831 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.2762, allocations: 103.6 kB / 0.9832 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.2763, allocations: 99.48 kB / 0.9833 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.2764, allocations: 8 kB / 0.9833 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.2765, allocations: 27.98 kB / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.668e-05/0.2765, allocations: 91.66 kB / 0.9834 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.104e-05/0.2766, allocations: 81.5 kB / 0.9835 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.2769, allocations: 291.2 kB / 0.9837 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2769, allocations: 0 / 0.9837 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.545e-06/0.2769, allocations: 3.938 kB / 0.9837 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.2769, allocations: 0 / 0.9837 GB, free: 23.21 MB / 0.6198 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.0008969/0.2778, allocations: 0.6532 MB / 0.9844 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.2778, allocations: 8.031 kB / 0.9844 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.538e-05/0.2779, allocations: 47.39 kB / 0.9844 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004616/0.2784, allocations: 391 kB / 0.9848 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.2784, allocations: 8 kB / 0.9848 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.2785, allocations: 11.94 kB / 0.9848 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.2787, allocations: 93.58 kB / 0.9849 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2787, allocations: 0 / 0.9849 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.2787, allocations: 4 kB / 0.9849 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.2787, allocations: 4 kB / 0.9849 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.2788, allocations: 55.86 kB / 0.985 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006884/0.2795, allocations: 0.4888 MB / 0.9855 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.2799, allocations: 110.6 kB / 0.9856 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.2799, allocations: 8 kB / 0.9856 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.2801, allocations: 83.38 kB / 0.9856 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.2801, allocations: 0 / 0.9856 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0003253/0.2804, allocations: 173 kB / 0.9858 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.2805, allocations: 55.41 kB / 0.9859 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000391/0.2809, allocations: 0.4989 MB / 0.9864 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.2809, allocations: 29.7 kB / 0.9864 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.281, allocations: 228 kB / 0.9866 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.281, allocations: 31.78 kB / 0.9866 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-06/0.281, allocations: 0 / 0.9866 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.412e-05/0.2811, allocations: 362.8 kB / 0.987 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.081e-05/0.2812, allocations: 52.3 kB / 0.987 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.2813, allocations: 73.17 kB / 0.9871 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.469e-05/0.2814, allocations: 60.66 kB / 0.9872 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2815, allocations: 0 / 0.9872 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002755/0.2817, allocations: 205.8 kB / 0.9873 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.2818, allocations: 4 kB / 0.9874 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2818, allocations: 4 kB / 0.9874 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.2818, allocations: 0 / 0.9874 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.2819, allocations: 31.98 kB / 0.9874 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.282, allocations: 4.375 kB / 0.9874 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.2821, allocations: 23.92 kB / 0.9874 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.2821, allocations: 8 kB / 0.9874 GB, free: 19.22 MB / 0.6198 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.0001436/0.2823, allocations: 184.8 kB / 0.9876 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.2823, allocations: 55.31 kB / 0.9876 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.684e-05/0.2824, allocations: 47.92 kB / 0.9877 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.2824, allocations: 4 kB / 0.9877 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2824, allocations: 0 / 0.9877 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.2824, allocations: 3.984 kB / 0.9877 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.2826, allocations: 321.4 kB / 0.988 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2826, allocations: 0 / 0.988 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.862e-05/0.2827, allocations: 7.984 kB / 0.988 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2827, allocations: 7.953 kB / 0.988 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.2827, allocations: 4 kB / 0.988 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2827, allocations: 0 / 0.988 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2827, allocations: 0 / 0.988 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.283, allocations: 216.4 kB / 0.9882 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.485e-05/0.2831, allocations: 116.6 kB / 0.9883 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.2832, allocations: 11.89 kB / 0.9884 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.981e-05/0.2833, allocations: 11.98 kB / 0.9884 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.966e-05/0.2833, allocations: 11.98 kB / 0.9884 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.2834, allocations: 4 kB / 0.9884 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002672/0.2836, allocations: 350.8 kB / 0.9887 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2836, allocations: 0 / 0.9887 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002469/0.2839, allocations: 51.91 kB / 0.9888 GB, free: 17.75 MB / 0.6198 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.0008558/0.2848, allocations: 424.6 kB / 0.9892 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002366/0.285, allocations: 113.4 kB / 0.9893 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.285, allocations: 0 / 0.9893 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.833e-05/0.2851, allocations: 39.92 kB / 0.9893 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.2854, allocations: 65.39 kB / 0.9894 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009577/0.2864, allocations: 0.767 MB / 0.9901 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.2866, allocations: 0.834 MB / 0.9909 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001073/0.2868, allocations: 34.11 kB / 0.991 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.984e-05/0.2868, allocations: 35.42 kB / 0.991 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2868, allocations: 3.938 kB / 0.991 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of Templates: time 0.006631/0.2935, allocations: 2.813 MB / 0.9938 GB, free: 12.75 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1)