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 2.288/2.288, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001038/0.001038, allocations: 180.9 kB / 361.4 MB, free: 6.844 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.557/1.557, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008447/0.0008448, allocations: 93.36 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.904e-05/2.907e-05, allocations: 4 kB / 0.8518 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6212/0.6213, allocations: 115.3 MB / 0.9645 GB, free: 78.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1786/0.7999, allocations: 143 MB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.8002, allocations: 86.38 kB / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.036/0.8362, allocations: 11.38 MB / 1.115 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.12e-07/0.8363, allocations: 0 / 1.115 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.345e-05/0.8363, allocations: 7.984 kB / 1.115 GB, free: 1.348 MB / 0.7136 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.0009612/0.8373, allocations: 0.5948 MB / 1.116 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.8374, allocations: 8.031 kB / 1.116 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.8375, allocations: 44.47 kB / 1.116 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007843/0.8383, allocations: 378.4 kB / 1.116 GB, free: 252 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.8383, allocations: 4 kB / 1.116 GB, free: 248 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/0.8384, allocations: 4 kB / 1.116 GB, free: 244 kB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001532/0.8385, allocations: 51.98 kB / 1.116 GB, free: 192 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.8387, allocations: 86.78 kB / 1.116 GB, free: 100 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.8387, allocations: 3.984 kB / 1.116 GB, free: 96 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.8388, allocations: 0 / 1.116 GB, free: 96 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.8388, allocations: 4 kB / 1.116 GB, free: 92 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009235/0.8397, allocations: 492.9 kB / 1.117 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.8399, allocations: 86.72 kB / 1.117 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.22e-05/0.8399, allocations: 24.86 kB / 1.117 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.84, allocations: 0 / 1.117 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.8402, allocations: 87.23 kB / 1.117 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.704e-06/0.8402, allocations: 8 kB / 1.117 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0003245/0.8405, allocations: 137 kB / 1.117 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.8406, allocations: 55.39 kB / 1.117 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005909/0.8412, allocations: 462.1 kB / 1.118 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.8412, allocations: 25.7 kB / 1.118 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.8414, allocations: 221.2 kB / 1.118 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.437e-05/0.8414, allocations: 31.69 kB / 1.118 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.346e-05/0.8414, allocations: 0 / 1.118 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.8416, allocations: 362.8 kB / 1.118 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.8417, allocations: 56.36 kB / 1.118 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.8419, allocations: 88.8 kB / 1.119 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.8421, allocations: 73.67 kB / 1.119 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.8421, allocations: 0 / 1.119 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004278/0.8426, allocations: 227 kB / 1.119 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.8426, allocations: 12.06 kB / 1.119 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.8426, allocations: 0 / 1.119 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.8427, allocations: 0 / 1.119 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.8429, allocations: 35.98 kB / 1.119 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.8429, allocations: 11.83 kB / 1.119 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.8431, allocations: 20.92 kB / 1.119 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.8431, allocations: 4 kB / 1.119 GB, free: 13.5 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 0.0001109/0.8432, allocations: 113 kB / 1.119 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000227/0.8435, allocations: 142.4 kB / 1.119 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/0.8435, allocations: 43.44 kB / 1.119 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002903/0.8438, allocations: 149.5 kB / 1.119 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.8438, allocations: 3.953 kB / 1.119 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.8439, allocations: 3 kB / 1.119 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.8439, allocations: 7.984 kB / 1.119 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.8442, allocations: 290.2 kB / 1.12 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.8442, allocations: 4 kB / 1.12 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.182e-05/0.8443, allocations: 11.19 kB / 1.12 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.8443, allocations: 4 kB / 1.12 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.8443, allocations: 0 / 1.12 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.8443, allocations: 0 / 1.12 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.8443, allocations: 4 kB / 1.12 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.8447, allocations: 204.4 kB / 1.12 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.8448, allocations: 120.6 kB / 1.12 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/0.8448, allocations: 4 kB / 1.12 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.845, allocations: 12.05 kB / 1.12 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/0.845, allocations: 11.98 kB / 1.12 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.845, allocations: 4 kB / 1.12 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003961/0.8454, allocations: 346.8 kB / 1.12 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8455, allocations: 3.938 kB / 1.12 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003811/0.8458, allocations: 55.94 kB / 1.12 GB, free: 11.91 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.001533/0.8474, allocations: 1.038 MB / 1.121 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002942/0.8477, allocations: 109.8 kB / 1.121 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.8477, allocations: 0 / 1.121 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.051e-05/0.8478, allocations: 39.94 kB / 1.121 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.8482, allocations: 54.05 kB / 1.122 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.8496, allocations: 0.5982 MB / 1.122 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/0.8501, allocations: 0.8335 MB / 1.123 GB, free: 9.289 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001415/0.8503, allocations: 30.59 kB / 1.123 GB, free: 9.266 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.8505, allocations: 123.4 kB / 1.123 GB, free: 9.145 MB / 0.7292 GB Notification: Performance of SimCode: time 2.675e-06/0.8505, allocations: 0 / 1.123 GB, free: 9.145 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0289/0.8794, allocations: 7.22 MB / 1.13 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/0.8796, allocations: 186 kB / 1.13 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.082/2.962, allocations: 0 / 1.13 GB, free: 1.891 MB / 0.7292 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)