Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.194/2.194, allocations: 248.7 MB / 256.2 MB, free: 7.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00146/0.00146, allocations: 184.1 kB / 315.4 MB, free: 3.984 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.3 MB / 0.5662 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 92.34 kB / 0.6704 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.336e-05/3.35e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2037, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8957/1.099, allocations: 137 MB / 1.018 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003401/1.1, allocations: 90.36 kB / 1.018 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04768/1.148, allocations: 11 MB / 1.029 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.423e-05/1.148, allocations: 0 / 1.029 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.883e-05/1.148, allocations: 11.94 kB / 1.029 GB, free: 8.52 MB / 0.6511 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.001023/1.149, allocations: 0.5831 MB / 1.029 GB, free: 7.914 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/1.149, allocations: 16.02 kB / 1.029 GB, free: 7.898 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/1.149, allocations: 43.44 kB / 1.029 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008599/1.15, allocations: 358.2 kB / 1.03 GB, free: 7.492 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/1.15, allocations: 3.938 kB / 1.03 GB, free: 7.488 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.502e-05/1.15, allocations: 8 kB / 1.03 GB, free: 7.48 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002053/1.15, allocations: 49.36 kB / 1.03 GB, free: 7.449 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/1.15, allocations: 80.78 kB / 1.03 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/1.15, allocations: 0 / 1.03 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/1.15, allocations: 3.984 kB / 1.03 GB, free: 7.375 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/1.15, allocations: 4 kB / 1.03 GB, free: 7.371 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/1.151, allocations: 0.4896 MB / 1.03 GB, free: 6.926 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/1.152, allocations: 75.34 kB / 1.03 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.216e-05/1.152, allocations: 32.86 kB / 1.03 GB, free: 6.84 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/1.152, allocations: 0 / 1.03 GB, free: 6.84 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/1.152, allocations: 93.72 kB / 1.031 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.984e-06/1.152, allocations: 0 / 1.031 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0003743/1.152, allocations: 130.7 kB / 1.031 GB, free: 6.629 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/1.152, allocations: 55.03 kB / 1.031 GB, free: 6.566 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007845/1.153, allocations: 447.1 kB / 1.031 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/1.153, allocations: 33.55 kB / 1.031 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/1.154, allocations: 219.1 kB / 1.031 GB, free: 6.051 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.862e-05/1.154, allocations: 31.62 kB / 1.031 GB, free: 6.023 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.659e-05/1.154, allocations: 0 / 1.031 GB, free: 6.023 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002104/1.154, allocations: 360.6 kB / 1.032 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/1.154, allocations: 56.92 kB / 1.032 GB, free: 5.645 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/1.154, allocations: 87.8 kB / 1.032 GB, free: 5.574 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/1.154, allocations: 59.73 kB / 1.032 GB, free: 5.539 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.155, allocations: 4 kB / 1.032 GB, free: 5.535 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005232/1.155, allocations: 217.5 kB / 1.032 GB, free: 5.359 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/1.155, allocations: 12.05 kB / 1.032 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.155, allocations: 0 / 1.032 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/1.155, allocations: 7.953 kB / 1.032 GB, free: 5.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/1.155, allocations: 23.98 kB / 1.032 GB, free: 5.316 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/1.155, allocations: 4 kB / 1.032 GB, free: 5.312 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/1.156, allocations: 8 kB / 1.032 GB, free: 5.305 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.345e-05/1.156, allocations: 15.3 kB / 1.032 GB, free: 5.293 MB / 0.6511 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 () * 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.0001226/1.156, allocations: 112.9 kB / 1.032 GB, free: 5.176 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003083/1.156, allocations: 139.2 kB / 1.032 GB, free: 5.051 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.717e-05/1.156, allocations: 47.39 kB / 1.033 GB, free: 5.004 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003767/1.157, allocations: 139 kB / 1.033 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/1.157, allocations: 4 kB / 1.033 GB, free: 4.879 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/1.157, allocations: 0 / 1.033 GB, free: 4.879 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/1.157, allocations: 3.984 kB / 1.033 GB, free: 4.875 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004103/1.157, allocations: 296.3 kB / 1.033 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/1.157, allocations: 0 / 1.033 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/1.157, allocations: 11.98 kB / 1.033 GB, free: 4.586 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/1.157, allocations: 7.938 kB / 1.033 GB, free: 4.578 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/1.157, allocations: 0 / 1.033 GB, free: 4.578 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/1.157, allocations: 7.953 kB / 1.033 GB, free: 4.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.157, allocations: 0 / 1.033 GB, free: 4.57 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004387/1.158, allocations: 197.7 kB / 1.033 GB, free: 4.395 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/1.158, allocations: 119.9 kB / 1.033 GB, free: 4.262 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.04e-05/1.158, allocations: 7.062 kB / 1.033 GB, free: 4.258 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/1.158, allocations: 12.05 kB / 1.033 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/1.158, allocations: 15.94 kB / 1.033 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/1.158, allocations: 0 / 1.033 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005521/1.159, allocations: 340.9 kB / 1.034 GB, free: 3.973 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.72e-07/1.159, allocations: 0 / 1.034 GB, free: 3.973 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004402/1.159, allocations: 47.94 kB / 1.034 GB, free: 3.926 MB / 0.6511 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 (assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001874/1.161, allocations: 1.025 MB / 1.035 GB, free: 3.008 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003628/1.162, allocations: 106.4 kB / 1.035 GB, free: 2.934 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/1.162, allocations: 0 / 1.035 GB, free: 2.934 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/1.162, allocations: 33.94 kB / 1.035 GB, free: 2.91 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005867/1.162, allocations: 63.55 kB / 1.035 GB, free: 2.867 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/1.164, allocations: 0.5743 MB / 1.035 GB, free: 2.312 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005709/1.165, allocations: 0.8284 MB / 1.036 GB, free: 1.473 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001831/1.165, allocations: 29.84 kB / 1.036 GB, free: 1.441 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/1.165, allocations: 118.6 kB / 1.036 GB, free: 1.414 MB / 0.6511 GB Notification: Performance of SimCode: time 1.002e-06/1.165, allocations: 0 / 1.036 GB, free: 1.414 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0576/1.223, allocations: 6.892 MB / 1.043 GB, free: 10.56 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000363/1.223, allocations: 182.8 kB / 1.043 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.537/3.76, allocations: 3.938 kB / 1.043 GB, free: 10.36 MB / 0.6667 GB