Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.414/2.414, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001478/0.001478, allocations: 176.9 kB / 360.6 MB, free: 7.266 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.3 MB / 0.6191 GB, free: 12.13 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.001121/0.00112, allocations: 96.55 kB / 0.7321 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.585e-05/3.582e-05, allocations: 8 kB / 0.8509 GB, free: 3.285 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7972/0.7973, allocations: 115.3 MB / 0.9634 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.24/1.037, allocations: 142.8 MB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003568/1.038, allocations: 92.47 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05176/1.09, allocations: 11.38 MB / 1.114 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.643e-06/1.09, allocations: 0 / 1.114 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.561e-05/1.09, allocations: 12 kB / 1.114 GB, free: 2.062 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.001139/1.091, allocations: 0.5909 MB / 1.115 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/1.091, allocations: 12.03 kB / 1.115 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/1.091, allocations: 44.64 kB / 1.115 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009929/1.092, allocations: 375.1 kB / 1.115 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/1.092, allocations: 4.938 kB / 1.115 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/1.092, allocations: 4 kB / 1.115 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002007/1.092, allocations: 55.92 kB / 1.115 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/1.093, allocations: 82.5 kB / 1.115 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/1.093, allocations: 0 / 1.115 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/1.093, allocations: 0 / 1.115 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/1.093, allocations: 0 / 1.115 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/1.094, allocations: 493 kB / 1.116 GB, free: 300 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/1.094, allocations: 84.3 kB / 1.116 GB, free: 208 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.589e-05/1.094, allocations: 36.98 kB / 1.116 GB, free: 168 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/1.094, allocations: 7.141 kB / 1.116 GB, free: 164 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002219/1.095, allocations: 83.23 kB / 1.116 GB, free: 68 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 3.627e-06/1.095, allocations: 0 / 1.116 GB, free: 68 kB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0004644/1.095, allocations: 141.1 kB / 1.116 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/1.095, allocations: 55.34 kB / 1.116 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008529/1.096, allocations: 462.1 kB / 1.117 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.737e-05/1.096, allocations: 33.7 kB / 1.117 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/1.096, allocations: 216 kB / 1.117 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.374e-05/1.096, allocations: 35.69 kB / 1.117 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-05/1.096, allocations: 0 / 1.117 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001789/1.097, allocations: 358.8 kB / 1.117 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/1.097, allocations: 56.36 kB / 1.117 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/1.097, allocations: 83.86 kB / 1.117 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/1.097, allocations: 77.88 kB / 1.117 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.097, allocations: 0 / 1.117 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006799/1.098, allocations: 230 kB / 1.118 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/1.098, allocations: 6.031 kB / 1.118 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/1.098, allocations: 4 kB / 1.118 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/1.098, allocations: 3.953 kB / 1.118 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/1.099, allocations: 35.98 kB / 1.118 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/1.099, allocations: 0 / 1.118 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/1.099, allocations: 19.95 kB / 1.118 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.943e-05/1.099, allocations: 13.16 kB / 1.118 GB, free: 14.22 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.0001585/1.099, allocations: 119.9 kB / 1.118 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003379/1.099, allocations: 145 kB / 1.118 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.339e-05/1.099, allocations: 47.39 kB / 1.118 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004219/1.1, allocations: 143.4 kB / 1.118 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.1, allocations: 0 / 1.118 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.1, allocations: 4 kB / 1.118 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/1.1, allocations: 0 / 1.118 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004163/1.1, allocations: 294 kB / 1.118 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/1.1, allocations: 0 / 1.118 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/1.101, allocations: 15.98 kB / 1.118 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.397e-06/1.101, allocations: 4 kB / 1.118 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/1.101, allocations: 0 / 1.118 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/1.101, allocations: 3.953 kB / 1.118 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/1.101, allocations: 0 / 1.118 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000498/1.101, allocations: 205.5 kB / 1.119 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/1.101, allocations: 124.6 kB / 1.119 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.927e-05/1.101, allocations: 0 / 1.119 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/1.102, allocations: 8 kB / 1.119 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.749e-05/1.102, allocations: 19.92 kB / 1.119 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/1.102, allocations: 4 kB / 1.119 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006112/1.102, allocations: 338.9 kB / 1.119 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.51e-07/1.102, allocations: 0 / 1.119 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004772/1.103, allocations: 63 kB / 1.119 GB, free: 12.63 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.001872/1.105, allocations: 1.023 MB / 1.12 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003892/1.105, allocations: 115.8 kB / 1.12 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/1.105, allocations: 0 / 1.12 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/1.105, allocations: 39.94 kB / 1.12 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006346/1.106, allocations: 62.06 kB / 1.12 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/1.108, allocations: 0.5919 MB / 1.121 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/1.108, allocations: 0.8353 MB / 1.122 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002178/1.109, allocations: 32.56 kB / 1.122 GB, free: 10 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/1.109, allocations: 123.4 kB / 1.122 GB, free: 9.879 MB / 0.7292 GB Notification: Performance of SimCode: time 1.062e-06/1.109, allocations: 0 / 1.122 GB, free: 9.879 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05019/1.159, allocations: 7.21 MB / 1.129 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000335/1.159, allocations: 184.3 kB / 1.129 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.688/3.848, allocations: 5.172 kB / 1.129 GB, free: 2.652 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1)