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.675/1.675, allocations: 288.2 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.001357/0.001358, allocations: 180.9 kB / 371.8 MB, free: 10.3 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.717/1.717, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.0009829/0.0009831, allocations: 109.2 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004077, allocations: 16.09 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2512, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002431/0.2537, allocations: 1.879 MB / 0.9813 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001835/0.2555, allocations: 1.239 MB / 0.9825 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.2557, allocations: 3.938 kB / 0.9825 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005598/0.2563, allocations: 175.3 kB / 0.9827 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002947/0.2566, allocations: 107.7 kB / 0.9828 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.2569, allocations: 113.1 kB / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002803/0.2572, allocations: 183.6 kB / 0.9831 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.2574, allocations: 44.66 kB / 0.9831 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.2576, allocations: 99.56 kB / 0.9832 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.2577, allocations: 91.55 kB / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.2577, allocations: 8 kB / 0.9833 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.2578, allocations: 39.95 kB / 0.9834 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.672e-05/0.2579, allocations: 87.67 kB / 0.9834 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.012e-05/0.258, allocations: 77.52 kB / 0.9835 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.2582, allocations: 299.2 kB / 0.9838 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2583, allocations: 0 / 0.9838 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2583, allocations: 0 / 0.9838 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.2583, allocations: 0 / 0.9838 GB, free: 23.17 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.0008973/0.2592, allocations: 0.6571 MB / 0.9844 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.2592, allocations: 12.02 kB / 0.9845 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.712e-05/0.2593, allocations: 42.5 kB / 0.9845 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.277e-05/0.2594, allocations: 47.39 kB / 0.9845 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004705/0.2598, allocations: 387 kB / 0.9849 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.2599, allocations: 11.94 kB / 0.9849 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.2599, allocations: 8 kB / 0.9849 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.2601, allocations: 101.6 kB / 0.985 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2601, allocations: 0 / 0.985 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.2602, allocations: 0 / 0.985 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2602, allocations: 0 / 0.985 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.2603, allocations: 55.92 kB / 0.9851 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007656/0.2611, allocations: 496.5 kB / 0.9855 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.2614, allocations: 110.6 kB / 0.9857 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.2615, allocations: 0 / 0.9857 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.2616, allocations: 91.38 kB / 0.9857 GB, free: 21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.2616, allocations: 0 / 0.9857 GB, free: 21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0003451/0.262, allocations: 173 kB / 0.9859 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.262, allocations: 51.41 kB / 0.986 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004141/0.2625, allocations: 0.5027 MB / 0.9864 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.2625, allocations: 29.7 kB / 0.9865 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.2626, allocations: 224.1 kB / 0.9867 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.2627, allocations: 35.64 kB / 0.9867 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.06e-05/0.2627, allocations: 4 kB / 0.9867 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.562e-05/0.2628, allocations: 358.8 kB / 0.9871 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.182e-05/0.2629, allocations: 44.36 kB / 0.9871 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.263, allocations: 76.98 kB / 0.9872 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.574e-05/0.2631, allocations: 55.94 kB / 0.9872 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2631, allocations: 4.031 kB / 0.9872 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002636/0.2634, allocations: 207.4 kB / 0.9874 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.2634, allocations: 6.719 kB / 0.9874 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.2634, allocations: 0 / 0.9874 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.2634, allocations: 4 kB / 0.9874 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.2636, allocations: 35.98 kB / 0.9875 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2636, allocations: 3.938 kB / 0.9875 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.2637, allocations: 19.89 kB / 0.9875 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.2638, allocations: 15.97 kB / 0.9875 GB, free: 19.12 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.0001657/0.2639, allocations: 185.8 kB / 0.9877 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.264, allocations: 51.38 kB / 0.9877 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.348e-05/0.2641, allocations: 43.92 kB / 0.9878 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2641, allocations: 0 / 0.9878 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.2641, allocations: 3.938 kB / 0.9878 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.2641, allocations: 7.984 kB / 0.9878 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.2643, allocations: 309.5 kB / 0.9881 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2643, allocations: 3.984 kB / 0.9881 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.306e-05/0.2644, allocations: 19.98 kB / 0.9881 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2644, allocations: 7.891 kB / 0.9881 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.2644, allocations: 4 kB / 0.9881 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2644, allocations: 0 / 0.9881 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2644, allocations: 0 / 0.9881 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.2647, allocations: 212.5 kB / 0.9883 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.694e-05/0.2648, allocations: 112.6 kB / 0.9884 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.2649, allocations: 7.953 kB / 0.9884 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.926e-05/0.265, allocations: 16.05 kB / 0.9885 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.265, allocations: 11.98 kB / 0.9885 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.265, allocations: 0 / 0.9885 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002812/0.2653, allocations: 354.8 kB / 0.9888 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2653, allocations: 0 / 0.9888 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002439/0.2656, allocations: 47.91 kB / 0.9889 GB, free: 17.65 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.001251/0.2668, allocations: 1.07 MB / 0.9899 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002472/0.2671, allocations: 111.8 kB / 0.99 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2671, allocations: 3.938 kB / 0.99 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.795e-05/0.2672, allocations: 39.92 kB / 0.9901 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.2675, allocations: 59.42 kB / 0.9901 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.2688, allocations: 1.211 MB / 0.9913 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.269, allocations: 0.8358 MB / 0.9921 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001085/0.2691, allocations: 33.94 kB / 0.9921 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.2693, allocations: 131.4 kB / 0.9923 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of SimCode: time 3.11e-07/0.2693, allocations: 0 / 0.9923 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.2867, allocations: 7.315 MB / 0.9994 GB, free: 7.023 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/0.287, allocations: 240.1 kB / 0.9996 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.151/2.438, allocations: 4 kB / 0.9996 GB, free: 6.777 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)