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.866/2.866, allocations: 287.3 MB / 302.3 MB, free: 8.262 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.001639/0.001639, allocations: 193 kB / 370.8 MB, free: 10.84 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.163/2.163, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001103/0.001103, allocations: 90.8 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005164/0.0005164, allocations: 16.03 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2208, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003039/0.2239, allocations: 1.882 MB / 0.98 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002531/0.2265, allocations: 1.239 MB / 0.9812 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.2267, allocations: 4 kB / 0.9812 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006712/0.2274, allocations: 175.3 kB / 0.9814 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004036/0.2278, allocations: 115.7 kB / 0.9815 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004859/0.2283, allocations: 112.9 kB / 0.9816 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000331/0.2286, allocations: 171.6 kB / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.2288, allocations: 48.95 kB / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.229, allocations: 91.62 kB / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.2292, allocations: 95.55 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.517e-05/0.2293, allocations: 7.984 kB / 0.982 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.2294, allocations: 43.91 kB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.986e-05/0.2296, allocations: 79.73 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.84e-05/0.2296, allocations: 81.45 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003733/0.23, allocations: 303.2 kB / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.23, allocations: 0 / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.913e-06/0.23, allocations: 0 / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.2301, allocations: 3.938 kB / 0.9825 GB, free: 23.91 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.001072/0.2311, allocations: 0.6531 MB / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.2312, allocations: 8.031 kB / 0.9832 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.095e-05/0.2313, allocations: 51.39 kB / 0.9832 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006241/0.2319, allocations: 379.1 kB / 0.9836 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.232, allocations: 8 kB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.232, allocations: 8 kB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.2323, allocations: 101.6 kB / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.2323, allocations: 0 / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.2323, allocations: 0 / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.2324, allocations: 11.89 kB / 0.9837 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.2325, allocations: 55.91 kB / 0.9837 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000977/0.2335, allocations: 496.5 kB / 0.9842 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004879/0.2341, allocations: 106.7 kB / 0.9843 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.2341, allocations: 0 / 0.9843 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.2343, allocations: 95.31 kB / 0.9844 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.134e-06/0.2344, allocations: 4 kB / 0.9844 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0005165/0.2349, allocations: 177 kB / 0.9846 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.2349, allocations: 51.41 kB / 0.9846 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006493/0.2356, allocations: 0.4989 MB / 0.9851 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.2356, allocations: 29.7 kB / 0.9852 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.2358, allocations: 220.1 kB / 0.9854 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.2359, allocations: 27.64 kB / 0.9854 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.63e-05/0.2359, allocations: 8 kB / 0.9854 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.684e-05/0.236, allocations: 362.8 kB / 0.9857 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.2362, allocations: 44.36 kB / 0.9858 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.2364, allocations: 79.28 kB / 0.9859 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.2366, allocations: 57.78 kB / 0.9859 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2366, allocations: 384 / 0.9859 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004869/0.2371, allocations: 201 kB / 0.9861 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.2371, allocations: 10.25 kB / 0.9861 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.2372, allocations: 0 / 0.9861 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.2372, allocations: 3.938 kB / 0.9861 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.2375, allocations: 47.91 kB / 0.9862 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.2375, allocations: 0 / 0.9862 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.2377, allocations: 11.91 kB / 0.9862 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/0.2378, allocations: 19.97 kB / 0.9862 GB, free: 19.92 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.0002384/0.238, allocations: 189.7 kB / 0.9864 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.989e-05/0.2381, allocations: 47.39 kB / 0.9864 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.77e-05/0.2382, allocations: 47.91 kB / 0.9865 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.2382, allocations: 0 / 0.9865 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2382, allocations: 0 / 0.9865 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2383, allocations: 0 / 0.9865 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.2386, allocations: 317.4 kB / 0.9868 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2386, allocations: 3.984 kB / 0.9868 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.2387, allocations: 15.95 kB / 0.9868 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2387, allocations: 3.938 kB / 0.9868 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.2388, allocations: 8 kB / 0.9868 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2388, allocations: 0 / 0.9868 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2388, allocations: 0 / 0.9868 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/0.2393, allocations: 212.5 kB / 0.987 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-05/0.2394, allocations: 112.6 kB / 0.9871 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.854e-05/0.2395, allocations: 11.94 kB / 0.9871 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.2396, allocations: 8 kB / 0.9871 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.2397, allocations: 16.03 kB / 0.9871 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.2397, allocations: 4 kB / 0.9871 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004712/0.2402, allocations: 354.8 kB / 0.9875 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2402, allocations: 0 / 0.9875 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003784/0.2406, allocations: 51.91 kB / 0.9875 GB, free: 18.45 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.001228/0.2418, allocations: 414.8 kB / 0.9879 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004092/0.2423, allocations: 107.9 kB / 0.988 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.2423, allocations: 4 kB / 0.988 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.2424, allocations: 39.92 kB / 0.9881 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005115/0.243, allocations: 69.83 kB / 0.9881 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.2445, allocations: 0.7631 MB / 0.9889 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.2448, allocations: 0.8379 MB / 0.9897 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002148/0.245, allocations: 33.95 kB / 0.9897 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.2452, allocations: 31.42 kB / 0.9898 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of SimCode: time 1.182e-06/0.2452, allocations: 0 / 0.9898 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of Templates: time 0.01038/0.2556, allocations: 2.816 MB / 0.9925 GB, free: 13.47 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)