Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.738/2.738, allocations: 287.5 MB / 302.4 MB, free: 8.406 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.001495/0.001495, allocations: 179.1 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.235/2.235, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.000978/0.0009775, allocations: 81.67 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005061/0.0005063, allocations: 12.03 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2159, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002994/0.219, allocations: 1.898 MB / 0.9802 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002478/0.2215, allocations: 1.251 MB / 0.9814 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000187/0.2217, allocations: 7.938 kB / 0.9814 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000679/0.2224, allocations: 167.3 kB / 0.9816 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004096/0.2229, allocations: 115.5 kB / 0.9817 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005041/0.2234, allocations: 107.8 kB / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003793/0.2238, allocations: 227.1 kB / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.224, allocations: 49 kB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.2241, allocations: 99.48 kB / 0.9822 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.2243, allocations: 103.4 kB / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.432e-05/0.2244, allocations: 4 kB / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001955/0.2246, allocations: 43.92 kB / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.2247, allocations: 87.66 kB / 0.9824 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.138e-05/0.2248, allocations: 85.44 kB / 0.9825 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003811/0.2252, allocations: 295.3 kB / 0.9828 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2252, allocations: 0 / 0.9828 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.404e-06/0.2252, allocations: 0 / 0.9828 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.2253, allocations: 4 kB / 0.9828 GB, free: 23.8 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.001133/0.2264, allocations: 0.6491 MB / 0.9834 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.2265, allocations: 12.03 kB / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.373e-05/0.2266, allocations: 51.38 kB / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006245/0.2272, allocations: 379.1 kB / 0.9838 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.2272, allocations: 12 kB / 0.9838 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.85e-05/0.2273, allocations: 8 kB / 0.9838 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.2276, allocations: 97.58 kB / 0.9839 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.2276, allocations: 0 / 0.9839 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.2276, allocations: 0 / 0.9839 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.2276, allocations: 3.953 kB / 0.9839 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.2278, allocations: 55.91 kB / 0.984 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000962/0.2288, allocations: 0.4887 MB / 0.9845 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004993/0.2293, allocations: 114.7 kB / 0.9846 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.2295, allocations: 36.84 kB / 0.9846 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.2295, allocations: 0 / 0.9846 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002375/0.2297, allocations: 91.31 kB / 0.9847 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 3.086e-06/0.2298, allocations: 3.984 kB / 0.9847 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0005168/0.2303, allocations: 173 kB / 0.9849 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.2303, allocations: 55.41 kB / 0.9849 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000654/0.231, allocations: 0.4993 MB / 0.9854 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.231, allocations: 29.7 kB / 0.9854 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.2312, allocations: 220 kB / 0.9857 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.2313, allocations: 27.64 kB / 0.9857 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.696e-05/0.2313, allocations: 11.94 kB / 0.9857 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.793e-05/0.2314, allocations: 358.8 kB / 0.986 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.2316, allocations: 44.36 kB / 0.9861 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.2318, allocations: 79.3 kB / 0.9862 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.232, allocations: 59.88 kB / 0.9862 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.232, allocations: 0 / 0.9862 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004819/0.2325, allocations: 201.9 kB / 0.9864 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.2325, allocations: 4 kB / 0.9864 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2325, allocations: 3.938 kB / 0.9864 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.2326, allocations: 8.062 kB / 0.9864 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.2329, allocations: 43.92 kB / 0.9865 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.2329, allocations: 0 / 0.9865 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.2331, allocations: 19.89 kB / 0.9865 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.462e-05/0.2332, allocations: 8 kB / 0.9865 GB, free: 19.77 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.0002551/0.2335, allocations: 192.1 kB / 0.9867 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.089e-05/0.2335, allocations: 43.44 kB / 0.9867 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.827e-05/0.2336, allocations: 51.91 kB / 0.9868 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2336, allocations: 0 / 0.9868 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.2337, allocations: 0 / 0.9868 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.2337, allocations: 4 kB / 0.9868 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.234, allocations: 317.4 kB / 0.9871 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.234, allocations: 3.953 kB / 0.9871 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.2341, allocations: 12 kB / 0.9871 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.2342, allocations: 0 / 0.9871 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.2342, allocations: 7.984 kB / 0.9871 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2342, allocations: 0 / 0.9871 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2342, allocations: 0 / 0.9871 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004984/0.2347, allocations: 216.5 kB / 0.9873 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-05/0.2348, allocations: 116.5 kB / 0.9874 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.566e-05/0.2349, allocations: 4 kB / 0.9874 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.235, allocations: 11.98 kB / 0.9874 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/0.2351, allocations: 11.98 kB / 0.9874 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.2352, allocations: 96 / 0.9874 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004852/0.2356, allocations: 362.8 kB / 0.9878 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.533e-06/0.2357, allocations: 0 / 0.9878 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003662/0.236, allocations: 55.84 kB / 0.9878 GB, free: 18.29 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.001195/0.2372, allocations: 416.1 kB / 0.9882 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004188/0.2377, allocations: 112.9 kB / 0.9883 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.2377, allocations: 3.938 kB / 0.9883 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.2378, allocations: 43.97 kB / 0.9884 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005876/0.2384, allocations: 67.56 kB / 0.9884 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.2399, allocations: 0.7708 MB / 0.9892 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.2403, allocations: 0.8262 MB / 0.99 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002178/0.2405, allocations: 33.94 kB / 0.99 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.375e-05/0.2406, allocations: 27.42 kB / 0.9901 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of SimCode: time 1.182e-06/0.2407, allocations: 0 / 0.9901 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of Templates: time 0.01051/0.2512, allocations: 2.818 MB / 0.9928 GB, free: 13.32 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1)