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.275/2.275, allocations: 251 MB / 265.9 MB, free: 11.71 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001559/0.001559, allocations: 181.3 kB / 325.5 MB, free: 2.902 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.451/2.451, allocations: 205.4 MB / 0.5764 GB, free: 21.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001181/0.001181, allocations: 101.3 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004974/0.0004975, allocations: 12.03 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2379, allocations: 106.3 MB / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2439/0.4819, allocations: 136.8 MB / 1.032 GB, free: 8.918 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000361/0.4823, allocations: 95.94 kB / 1.033 GB, free: 8.824 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.05088/0.5332, allocations: 11.12 MB / 1.043 GB, free: 13.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.913e-06/0.5332, allocations: 0 / 1.043 GB, free: 13.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.436e-05/0.5333, allocations: 8 kB / 1.043 GB, free: 13.59 MB / 0.698 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.001445/0.5348, allocations: 0.6842 MB / 1.044 GB, free: 12.85 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.5348, allocations: 8.031 kB / 1.044 GB, free: 12.84 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.541e-05/0.5349, allocations: 42.55 kB / 1.044 GB, free: 12.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.5351, allocations: 43.44 kB / 1.044 GB, free: 12.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008666/0.5359, allocations: 355.1 kB / 1.044 GB, free: 12.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.536, allocations: 8 kB / 1.044 GB, free: 12.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.72e-05/0.536, allocations: 12 kB / 1.045 GB, free: 12.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.5364, allocations: 93.64 kB / 1.045 GB, free: 12.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.5364, allocations: 0 / 1.045 GB, free: 12.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.5364, allocations: 0 / 1.045 GB, free: 12.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.5364, allocations: 4 kB / 1.045 GB, free: 12.24 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002175/0.5367, allocations: 55.97 kB / 1.045 GB, free: 12.19 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.5379, allocations: 0.5121 MB / 1.045 GB, free: 11.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/0.5383, allocations: 90.61 kB / 1.045 GB, free: 11.53 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.693e-05/0.5384, allocations: 4 kB / 1.045 GB, free: 11.52 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002862/0.5387, allocations: 99.22 kB / 1.045 GB, free: 11.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 3.276e-06/0.5387, allocations: 0 / 1.045 GB, free: 11.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0005885/0.5393, allocations: 161.1 kB / 1.045 GB, free: 11.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.5394, allocations: 59.39 kB / 1.046 GB, free: 11.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009384/0.5403, allocations: 477.9 kB / 1.046 GB, free: 10.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/0.5404, allocations: 37.64 kB / 1.046 GB, free: 10.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/0.5406, allocations: 220.3 kB / 1.046 GB, free: 10.44 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.042e-05/0.5407, allocations: 31.64 kB / 1.046 GB, free: 10.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.5407, allocations: 4 kB / 1.046 GB, free: 10.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.5409, allocations: 362.7 kB / 1.047 GB, free: 10.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.5412, allocations: 60.34 kB / 1.047 GB, free: 9.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.5414, allocations: 96.22 kB / 1.047 GB, free: 9.879 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.5417, allocations: 65.7 kB / 1.047 GB, free: 9.816 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.5417, allocations: 7.984 kB / 1.047 GB, free: 9.809 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006769/0.5424, allocations: 236.9 kB / 1.047 GB, free: 9.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.5424, allocations: 11.94 kB / 1.047 GB, free: 9.559 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.5425, allocations: 4 kB / 1.047 GB, free: 9.555 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/0.5425, allocations: 4 kB / 1.047 GB, free: 9.551 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.5428, allocations: 27.98 kB / 1.047 GB, free: 9.523 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.5428, allocations: 4 kB / 1.047 GB, free: 9.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.5431, allocations: 11.94 kB / 1.047 GB, free: 9.508 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.747e-05/0.5431, allocations: 20.02 kB / 1.047 GB, free: 9.488 MB / 0.698 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.000357/0.5435, allocations: 183.1 kB / 1.047 GB, free: 9.301 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.288e-05/0.5436, allocations: 43.44 kB / 1.047 GB, free: 9.258 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004977/0.5441, allocations: 161.4 kB / 1.048 GB, free: 9.094 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.5441, allocations: 0 / 1.048 GB, free: 9.094 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.5441, allocations: 480 / 1.048 GB, free: 9.094 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.5442, allocations: 4 kB / 1.048 GB, free: 9.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004525/0.5446, allocations: 309.5 kB / 1.048 GB, free: 8.738 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.5446, allocations: 4 kB / 1.048 GB, free: 8.734 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.5448, allocations: 15.98 kB / 1.048 GB, free: 8.719 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.5448, allocations: 11.92 kB / 1.048 GB, free: 8.707 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.5448, allocations: 0 / 1.048 GB, free: 8.707 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.5448, allocations: 3.953 kB / 1.048 GB, free: 8.703 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5449, allocations: 0 / 1.048 GB, free: 8.703 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006469/0.5455, allocations: 216.4 kB / 1.048 GB, free: 8.473 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.5457, allocations: 116.6 kB / 1.048 GB, free: 8.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.49e-05/0.5458, allocations: 8.062 kB / 1.048 GB, free: 8.332 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.5459, allocations: 11.98 kB / 1.048 GB, free: 8.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.258e-05/0.546, allocations: 23.81 kB / 1.048 GB, free: 8.297 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.5461, allocations: 3.984 kB / 1.048 GB, free: 8.293 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006891/0.5468, allocations: 358.8 kB / 1.049 GB, free: 7.945 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/0.5468, allocations: 4 kB / 1.049 GB, free: 7.941 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004624/0.5472, allocations: 59.84 kB / 1.049 GB, free: 7.883 MB / 0.698 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) * Number of clocked states: 0 () * 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.002196/0.5495, allocations: 1.091 MB / 1.05 GB, free: 6.926 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005032/0.55, allocations: 115.9 kB / 1.05 GB, free: 6.812 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.55, allocations: 0 / 1.05 GB, free: 6.812 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.5502, allocations: 43.92 kB / 1.05 GB, free: 6.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000568/0.5508, allocations: 60.38 kB / 1.05 GB, free: 6.707 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.5531, allocations: 1.224 MB / 1.051 GB, free: 5.426 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005432/0.5537, allocations: 0.83 MB / 1.052 GB, free: 4.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001967/0.554, allocations: 33.5 kB / 1.052 GB, free: 4.535 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/0.5542, allocations: 127.3 kB / 1.052 GB, free: 4.41 MB / 0.698 GB Notification: Performance of SimCode: time 1.193e-06/0.5542, allocations: 0 / 1.052 GB, free: 4.41 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6339/1.188, allocations: 7.592 MB / 1.059 GB, free: 148.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002761/1.189, allocations: 234.4 kB / 1.06 GB, free: 147.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.656/3.844, allocations: 1.625 kB / 1.06 GB, free: 147.9 MB / 0.698 GB