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.516/1.516, allocations: 285.4 MB / 298 MB, free: 5.945 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.0009599/0.0009599, allocations: 176.8 kB / 366.4 MB, free: 2.074 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.285/1.285, allocations: 205.1 MB / 0.6248 GB, free: 7.742 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007969/0.0007969, allocations: 91.7 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.858e-05/2.859e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5495/0.5495, allocations: 115.3 MB / 0.971 GB, free: 77.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1709/0.7205, allocations: 143.7 MB / 1.111 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.7208, allocations: 93.41 kB / 1.111 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.029/0.7498, allocations: 11.47 MB / 1.123 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7499, allocations: 0 / 1.123 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.258e-05/0.7499, allocations: 8 kB / 1.123 GB, free: 12.51 MB / 0.7292 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.000634/0.7505, allocations: 0.5935 MB / 1.123 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.7506, allocations: 8.031 kB / 1.123 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.202e-05/0.7506, allocations: 42.55 kB / 1.123 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.772e-05/0.7507, allocations: 49.19 kB / 1.123 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005783/0.7513, allocations: 375.1 kB / 1.124 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.7513, allocations: 4 kB / 1.124 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.7514, allocations: 15.98 kB / 1.124 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.7515, allocations: 89.66 kB / 1.124 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.7515, allocations: 0 / 1.124 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.7516, allocations: 7.938 kB / 1.124 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.7516, allocations: 0 / 1.124 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.7517, allocations: 55.98 kB / 1.124 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007369/0.7524, allocations: 0.5121 MB / 1.124 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.7526, allocations: 86.62 kB / 1.124 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.397e-05/0.7527, allocations: 32.86 kB / 1.124 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.7527, allocations: 0 / 1.124 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.7529, allocations: 101 kB / 1.125 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.7529, allocations: 0 / 1.125 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.000245/0.7531, allocations: 141.1 kB / 1.125 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.7532, allocations: 55.34 kB / 1.125 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000504/0.7537, allocations: 488.8 kB / 1.125 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.7537, allocations: 33.7 kB / 1.125 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.7539, allocations: 221.3 kB / 1.125 GB, free: 9.426 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.7539, allocations: 27.77 kB / 1.125 GB, free: 9.398 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.7539, allocations: 10.72 kB / 1.125 GB, free: 9.391 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.7541, allocations: 362.8 kB / 1.126 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.7542, allocations: 60.36 kB / 1.126 GB, free: 8.965 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.7543, allocations: 91.3 kB / 1.126 GB, free: 8.867 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.7544, allocations: 65.52 kB / 1.126 GB, free: 8.805 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7544, allocations: 0 / 1.126 GB, free: 8.805 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003184/0.7547, allocations: 241 kB / 1.126 GB, free: 8.562 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.7548, allocations: 4 kB / 1.126 GB, free: 8.559 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.7548, allocations: 0 / 1.126 GB, free: 8.559 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.7548, allocations: 3.953 kB / 1.126 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.755, allocations: 36.73 kB / 1.126 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-06/0.755, allocations: 7.938 kB / 1.126 GB, free: 8.512 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.7551, allocations: 19.92 kB / 1.126 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.7552, allocations: 8 kB / 1.126 GB, free: 8.484 MB / 0.7292 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 7.409e-05/0.7553, allocations: 115.2 kB / 1.126 GB, free: 8.367 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.314e-05/0.7553, allocations: 47.42 kB / 1.126 GB, free: 8.32 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.7556, allocations: 153.6 kB / 1.127 GB, free: 8.16 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.7556, allocations: 6.891 kB / 1.127 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.7556, allocations: 0 / 1.127 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.7556, allocations: 0 / 1.127 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.7559, allocations: 325.4 kB / 1.127 GB, free: 7.789 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.7559, allocations: 0 / 1.127 GB, free: 7.789 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.327e-05/0.756, allocations: 15.94 kB / 1.127 GB, free: 7.773 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.756, allocations: 5.5 kB / 1.127 GB, free: 7.77 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.756, allocations: 3.984 kB / 1.127 GB, free: 7.766 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.756, allocations: 0 / 1.127 GB, free: 7.766 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.756, allocations: 3.953 kB / 1.127 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.7563, allocations: 212.5 kB / 1.127 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.7564, allocations: 116.6 kB / 1.127 GB, free: 7.402 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.7565, allocations: 4 kB / 1.127 GB, free: 7.398 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.7566, allocations: 12.05 kB / 1.127 GB, free: 7.387 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.7566, allocations: 21.84 kB / 1.127 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.7566, allocations: 7.938 kB / 1.127 GB, free: 7.359 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003562/0.757, allocations: 365.5 kB / 1.128 GB, free: 7.004 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/0.757, allocations: 0 / 1.128 GB, free: 7.004 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002838/0.7573, allocations: 67.92 kB / 1.128 GB, free: 6.938 MB / 0.7292 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.001243/0.7585, allocations: 1.063 MB / 1.129 GB, free: 6.008 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002044/0.7588, allocations: 111.9 kB / 1.129 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.7588, allocations: 0 / 1.129 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.04e-05/0.7588, allocations: 44.05 kB / 1.129 GB, free: 5.855 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.7592, allocations: 54.95 kB / 1.129 GB, free: 5.805 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009535/0.7602, allocations: 0.6024 MB / 1.13 GB, free: 5.164 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.7605, allocations: 0.8398 MB / 1.13 GB, free: 4.301 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.668e-05/0.7606, allocations: 31.06 kB / 1.13 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.7608, allocations: 131.3 kB / 1.131 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of SimCode: time 2.81e-07/0.7608, allocations: 0 / 1.131 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.7807, allocations: 8.096 MB / 1.138 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002764/0.7811, allocations: 209.7 kB / 1.139 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.936/2.717, allocations: 7.938 kB / 1.139 GB, free: 12.07 MB / 0.7448 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)