Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.441/1.441, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001053/0.001053, allocations: 174.2 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.956/1.956, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0011/0.0011, allocations: 93.94 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.0003869, allocations: 9.219 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2886, allocations: 106.4 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2066/0.4953, allocations: 137 MB / 1.034 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/0.4957, allocations: 99.94 kB / 1.034 GB, free: 6.555 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03088/0.5266, allocations: 11.11 MB / 1.045 GB, free: 11.33 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.425e-06/0.5267, allocations: 0 / 1.045 GB, free: 11.33 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.512e-05/0.5268, allocations: 8 kB / 1.045 GB, free: 11.32 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.001376/0.5281, allocations: 0.6764 MB / 1.046 GB, free: 10.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.5282, allocations: 16.03 kB / 1.046 GB, free: 10.58 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.289e-05/0.5283, allocations: 38.55 kB / 1.046 GB, free: 10.53 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.5284, allocations: 47.44 kB / 1.046 GB, free: 10.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008075/0.5293, allocations: 355.2 kB / 1.046 GB, free: 10.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.5293, allocations: 4 kB / 1.046 GB, free: 10.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.5294, allocations: 15.94 kB / 1.046 GB, free: 10.08 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.5296, allocations: 89.64 kB / 1.046 GB, free: 9.984 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.5296, allocations: 4 kB / 1.046 GB, free: 9.98 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.5297, allocations: 4 kB / 1.046 GB, free: 9.977 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.5297, allocations: 4 kB / 1.046 GB, free: 9.973 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.5298, allocations: 55.95 kB / 1.046 GB, free: 9.918 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.5309, allocations: 0.512 MB / 1.047 GB, free: 9.355 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.5311, allocations: 86.58 kB / 1.047 GB, free: 9.262 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.5312, allocations: 0 / 1.047 GB, free: 9.262 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/0.5314, allocations: 95.41 kB / 1.047 GB, free: 9.156 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.705e-06/0.5314, allocations: 7.938 kB / 1.047 GB, free: 9.148 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0004968/0.5319, allocations: 169.3 kB / 1.047 GB, free: 8.977 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.532, allocations: 51.41 kB / 1.047 GB, free: 8.914 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000689/0.5327, allocations: 478 kB / 1.048 GB, free: 8.438 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.5327, allocations: 33.8 kB / 1.048 GB, free: 8.398 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.5329, allocations: 224 kB / 1.048 GB, free: 8.176 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.197e-05/0.533, allocations: 31.75 kB / 1.048 GB, free: 8.145 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.52e-05/0.533, allocations: 4 kB / 1.048 GB, free: 8.141 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.5332, allocations: 366.8 kB / 1.048 GB, free: 7.773 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.5333, allocations: 60.34 kB / 1.048 GB, free: 7.711 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.5335, allocations: 92.42 kB / 1.048 GB, free: 7.613 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.5336, allocations: 69.98 kB / 1.048 GB, free: 7.547 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.5336, allocations: 0 / 1.048 GB, free: 7.547 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000427/0.5341, allocations: 241 kB / 1.049 GB, free: 7.305 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.5341, allocations: 8.062 kB / 1.049 GB, free: 7.297 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.5341, allocations: 3.953 kB / 1.049 GB, free: 7.293 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.822e-05/0.5342, allocations: 4 kB / 1.049 GB, free: 7.289 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.5343, allocations: 27.92 kB / 1.049 GB, free: 7.262 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.5344, allocations: 4 kB / 1.049 GB, free: 7.258 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.5345, allocations: 19.92 kB / 1.049 GB, free: 7.238 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.5346, allocations: 12 kB / 1.049 GB, free: 7.227 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.0002621/0.5349, allocations: 188.6 kB / 1.049 GB, free: 7.035 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-05/0.5349, allocations: 47.42 kB / 1.049 GB, free: 6.988 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003338/0.5353, allocations: 157.4 kB / 1.049 GB, free: 6.828 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.5353, allocations: 3.953 kB / 1.049 GB, free: 6.824 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.5353, allocations: 0 / 1.049 GB, free: 6.824 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.5353, allocations: 0 / 1.049 GB, free: 6.824 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003462/0.5357, allocations: 317.5 kB / 1.049 GB, free: 6.465 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.5357, allocations: 0 / 1.049 GB, free: 6.465 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.236e-05/0.5358, allocations: 11.98 kB / 1.049 GB, free: 6.453 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.5358, allocations: 4 kB / 1.049 GB, free: 6.449 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.5358, allocations: 4 kB / 1.049 GB, free: 6.445 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.5358, allocations: 0 / 1.049 GB, free: 6.445 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.5358, allocations: 3.953 kB / 1.049 GB, free: 6.441 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004127/0.5362, allocations: 224.3 kB / 1.05 GB, free: 6.203 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.5364, allocations: 112.7 kB / 1.05 GB, free: 6.074 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.421e-05/0.5364, allocations: 8 kB / 1.05 GB, free: 6.066 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.5365, allocations: 12.05 kB / 1.05 GB, free: 6.055 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/0.5366, allocations: 11.94 kB / 1.05 GB, free: 6.043 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.5366, allocations: 7.984 kB / 1.05 GB, free: 6.035 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004678/0.5371, allocations: 362.8 kB / 1.05 GB, free: 5.684 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/0.5371, allocations: 0 / 1.05 GB, free: 5.684 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003827/0.5375, allocations: 63.83 kB / 1.05 GB, free: 5.621 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.001832/0.5393, allocations: 1.096 MB / 1.051 GB, free: 4.656 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003023/0.5397, allocations: 118 kB / 1.051 GB, free: 4.543 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5397, allocations: 4.062 kB / 1.051 GB, free: 4.539 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.837e-05/0.5398, allocations: 43.92 kB / 1.051 GB, free: 4.496 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.5402, allocations: 54.22 kB / 1.051 GB, free: 4.438 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.5419, allocations: 1.228 MB / 1.053 GB, free: 3.152 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.5424, allocations: 0.8259 MB / 1.053 GB, free: 2.301 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001193/0.5425, allocations: 33.52 kB / 1.053 GB, free: 2.266 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.5427, allocations: 119.4 kB / 1.054 GB, free: 2.148 MB / 0.698 GB Notification: Performance of SimCode: time 3.91e-07/0.5427, allocations: 0 / 1.054 GB, free: 2.148 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5217/1.064, allocations: 7.601 MB / 1.061 GB, free: 147 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/1.065, allocations: 232.5 kB / 1.061 GB, free: 146.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.238/3.303, allocations: 0 / 1.061 GB, free: 146.8 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1)