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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.68/1.68, allocations: 288.4 MB / 303.3 MB, free: 8.07 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.001142/0.001142, allocations: 188.4 kB / 372 MB, free: 10.26 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.636/1.636, allocations: 205.4 MB / 0.6307 GB, free: 9.891 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.000777/0.000777, allocations: 99.58 kB / 0.744 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004073/0.0004074, allocations: 12.09 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2604, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002749/0.2632, allocations: 1.895 MB / 0.9815 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001978/0.2653, allocations: 1.258 MB / 0.9827 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.2654, allocations: 0 / 0.9827 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005858/0.266, allocations: 171.3 kB / 0.9829 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003037/0.2664, allocations: 119.4 kB / 0.983 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003428/0.2667, allocations: 111.8 kB / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.267, allocations: 231.1 kB / 0.9833 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.2672, allocations: 48.66 kB / 0.9834 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.2673, allocations: 99.44 kB / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.2675, allocations: 95.55 kB / 0.9836 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.2675, allocations: 4 kB / 0.9836 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.2677, allocations: 47.91 kB / 0.9836 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.03e-05/0.2678, allocations: 91.66 kB / 0.9837 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.2679, allocations: 77.52 kB / 0.9838 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.2682, allocations: 287.3 kB / 0.984 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.2682, allocations: 4 kB / 0.9841 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.294e-06/0.2682, allocations: 3.938 kB / 0.9841 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.2682, allocations: 4 kB / 0.9841 GB, free: 23 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.0009047/0.2691, allocations: 0.6531 MB / 0.9847 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.2692, allocations: 12.02 kB / 0.9847 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.187e-05/0.2692, allocations: 38.56 kB / 0.9847 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.619e-05/0.2693, allocations: 47.39 kB / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004337/0.2698, allocations: 399 kB / 0.9852 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.2698, allocations: 0 / 0.9852 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.2698, allocations: 12 kB / 0.9852 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.27, allocations: 89.59 kB / 0.9853 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.27, allocations: 0 / 0.9853 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.2701, allocations: 11.97 kB / 0.9853 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.2701, allocations: 4 kB / 0.9853 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.2702, allocations: 47.94 kB / 0.9853 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006679/0.2709, allocations: 0.4927 MB / 0.9858 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003451/0.2712, allocations: 118.6 kB / 0.9859 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.805e-05/0.2713, allocations: 28.86 kB / 0.9859 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.2713, allocations: 7.984 kB / 0.986 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.2715, allocations: 87.31 kB / 0.986 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.2715, allocations: 0 / 0.986 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0003717/0.2719, allocations: 177 kB / 0.9862 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.2719, allocations: 55.41 kB / 0.9863 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004103/0.2724, allocations: 0.495 MB / 0.9867 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.2724, allocations: 33.7 kB / 0.9868 GB, free: 20 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.2725, allocations: 220 kB / 0.987 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.2726, allocations: 31.58 kB / 0.987 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.2726, allocations: 4 kB / 0.987 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.598e-05/0.2727, allocations: 358.8 kB / 0.9874 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.771e-05/0.2728, allocations: 52.34 kB / 0.9874 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.2729, allocations: 76.98 kB / 0.9875 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.273, allocations: 55.89 kB / 0.9875 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.273, allocations: 0 / 0.9875 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000283/0.2733, allocations: 205.8 kB / 0.9877 GB, free: 19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.2733, allocations: 8 kB / 0.9877 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2734, allocations: 4.062 kB / 0.9877 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.2734, allocations: 3.984 kB / 0.9878 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.2735, allocations: 31.98 kB / 0.9878 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.2736, allocations: 4 kB / 0.9878 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.2737, allocations: 19.89 kB / 0.9878 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.2737, allocations: 8 kB / 0.9878 GB, free: 18.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.0001556/0.2739, allocations: 185.7 kB / 0.988 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.2739, allocations: 51.39 kB / 0.988 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.126e-05/0.274, allocations: 47.91 kB / 0.9881 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.274, allocations: 0 / 0.9881 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.274, allocations: 0 / 0.9881 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.274, allocations: 0 / 0.9881 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.2743, allocations: 329.4 kB / 0.9884 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2743, allocations: 384 / 0.9884 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.23e-05/0.2743, allocations: 11.95 kB / 0.9884 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2744, allocations: 0 / 0.9884 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.2744, allocations: 0 / 0.9884 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2744, allocations: 7.922 kB / 0.9884 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2744, allocations: 7.938 kB / 0.9884 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.2747, allocations: 212.5 kB / 0.9886 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.804e-05/0.2748, allocations: 116.6 kB / 0.9887 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.2748, allocations: 7.953 kB / 0.9887 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.378e-05/0.2749, allocations: 8 kB / 0.9888 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.275, allocations: 11.97 kB / 0.9888 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.275, allocations: 8.062 kB / 0.9888 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002851/0.2753, allocations: 350.8 kB / 0.9891 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2753, allocations: 0 / 0.9891 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002468/0.2755, allocations: 51.89 kB / 0.9892 GB, free: 17.44 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.001339/0.2769, allocations: 1.075 MB / 0.9902 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002554/0.2772, allocations: 113.6 kB / 0.9903 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2772, allocations: 0 / 0.9903 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.613e-05/0.2773, allocations: 39.92 kB / 0.9904 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.2777, allocations: 60.7 kB / 0.9904 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.2803, allocations: 2.276 MB / 0.9926 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.2806, allocations: 0.8279 MB / 0.9934 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001284/0.2807, allocations: 41.92 kB / 0.9935 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.2809, allocations: 131.3 kB / 0.9936 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/0.2809, allocations: 0 / 0.9936 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.3002, allocations: 7.446 MB / 1.001 GB, free: 5.625 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/0.3005, allocations: 257.1 kB / 1.001 GB, free: 5.336 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.368/2.669, allocations: 0 / 1.001 GB, free: 5.336 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1)