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.374/1.374, allocations: 249.5 MB / 257 MB, free: 6.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 180.8 kB / 316.3 MB, free: 3.219 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.615/1.615, allocations: 205.3 MB / 0.5671 GB, free: 15.79 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.001041/0.001041, allocations: 103.8 kB / 0.6714 GB, free: 4.898 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.736e-05/2.74e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2272, allocations: 106.3 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8196/1.047, allocations: 137.2 MB / 1.019 GB, free: 188 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/1.047, allocations: 83.27 kB / 1.019 GB, free: 144 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02858/1.076, allocations: 10.98 MB / 1.03 GB, free: 6.867 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.705e-06/1.076, allocations: 0 / 1.03 GB, free: 6.867 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.435e-05/1.076, allocations: 11.94 kB / 1.03 GB, free: 6.855 MB / 0.6511 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.0008748/1.077, allocations: 0.5863 MB / 1.031 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/1.077, allocations: 8.031 kB / 1.031 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.78e-05/1.077, allocations: 47.44 kB / 1.031 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006167/1.078, allocations: 353.8 kB / 1.031 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/1.078, allocations: 4 kB / 1.031 GB, free: 5.828 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/1.078, allocations: 7.906 kB / 1.031 GB, free: 5.82 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001561/1.078, allocations: 51.48 kB / 1.031 GB, free: 5.785 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/1.078, allocations: 83.66 kB / 1.031 GB, free: 5.715 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/1.078, allocations: 7.938 kB / 1.031 GB, free: 5.707 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/1.078, allocations: 0 / 1.031 GB, free: 5.707 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/1.078, allocations: 4.844 kB / 1.031 GB, free: 5.703 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007756/1.079, allocations: 488.1 kB / 1.032 GB, free: 5.27 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/1.079, allocations: 83.34 kB / 1.032 GB, free: 5.203 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.925e-05/1.079, allocations: 27.48 kB / 1.032 GB, free: 5.18 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/1.079, allocations: 3.938 kB / 1.032 GB, free: 5.176 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/1.079, allocations: 85.33 kB / 1.032 GB, free: 5.094 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/1.079, allocations: 0 / 1.032 GB, free: 5.094 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0002791/1.08, allocations: 140.4 kB / 1.032 GB, free: 4.969 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/1.08, allocations: 55.41 kB / 1.032 GB, free: 4.902 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004774/1.08, allocations: 450.7 kB / 1.033 GB, free: 4.551 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/1.08, allocations: 25.7 kB / 1.033 GB, free: 4.52 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/1.08, allocations: 216.1 kB / 1.033 GB, free: 4.395 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/1.08, allocations: 33.81 kB / 1.033 GB, free: 4.367 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/1.08, allocations: 0 / 1.033 GB, free: 4.367 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.081, allocations: 367 kB / 1.033 GB, free: 4.02 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.851e-05/1.081, allocations: 51.31 kB / 1.033 GB, free: 3.984 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/1.081, allocations: 90.48 kB / 1.033 GB, free: 3.914 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/1.081, allocations: 62.03 kB / 1.033 GB, free: 3.875 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.081, allocations: 0 / 1.033 GB, free: 3.875 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002962/1.081, allocations: 221.9 kB / 1.034 GB, free: 3.695 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/1.081, allocations: 4 kB / 1.034 GB, free: 3.691 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/1.081, allocations: 4.062 kB / 1.034 GB, free: 3.688 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/1.081, allocations: 0 / 1.034 GB, free: 3.688 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/1.081, allocations: 35.88 kB / 1.034 GB, free: 3.652 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/1.081, allocations: 0 / 1.034 GB, free: 3.652 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/1.082, allocations: 15.98 kB / 1.034 GB, free: 3.637 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/1.082, allocations: 4 kB / 1.034 GB, free: 3.633 MB / 0.6511 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 9.254e-05/1.082, allocations: 113.7 kB / 1.034 GB, free: 3.52 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002033/1.082, allocations: 133.9 kB / 1.034 GB, free: 3.398 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/1.082, allocations: 43.44 kB / 1.034 GB, free: 3.355 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002422/1.082, allocations: 148.4 kB / 1.034 GB, free: 3.227 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-06/1.082, allocations: 4.078 kB / 1.034 GB, free: 3.223 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.082, allocations: 3.938 kB / 1.034 GB, free: 3.219 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/1.082, allocations: 4 kB / 1.034 GB, free: 3.215 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/1.083, allocations: 291.1 kB / 1.034 GB, free: 2.941 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.083, allocations: 0 / 1.034 GB, free: 2.941 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.072e-05/1.083, allocations: 15.92 kB / 1.034 GB, free: 2.926 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/1.083, allocations: 4 kB / 1.034 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/1.083, allocations: 7.875 kB / 1.034 GB, free: 2.918 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/1.083, allocations: 0 / 1.034 GB, free: 2.918 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/1.083, allocations: 11.88 kB / 1.034 GB, free: 2.906 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/1.083, allocations: 199.8 kB / 1.035 GB, free: 2.727 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.633e-05/1.083, allocations: 115.6 kB / 1.035 GB, free: 2.598 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.25e-05/1.083, allocations: 8 kB / 1.035 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.99e-05/1.083, allocations: 7.984 kB / 1.035 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/1.083, allocations: 19.38 kB / 1.035 GB, free: 2.566 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/1.083, allocations: 7.984 kB / 1.035 GB, free: 2.559 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003199/1.084, allocations: 329.3 kB / 1.035 GB, free: 2.309 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/1.084, allocations: 0 / 1.035 GB, free: 2.309 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002809/1.084, allocations: 50.94 kB / 1.035 GB, free: 2.262 MB / 0.6511 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.001309/1.085, allocations: 1.012 MB / 1.036 GB, free: 1.352 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000227/1.085, allocations: 117.3 kB / 1.036 GB, free: 1.27 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.086, allocations: 0 / 1.036 GB, free: 1.27 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.166e-05/1.086, allocations: 30.12 kB / 1.036 GB, free: 1.25 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/1.086, allocations: 60.02 kB / 1.036 GB, free: 1.207 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/1.087, allocations: 0.5765 MB / 1.037 GB, free: 0.6523 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/1.087, allocations: 0.8297 MB / 1.038 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001065/1.088, allocations: 34.03 kB / 1.038 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/1.088, allocations: 122.7 kB / 1.038 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of SimCode: time 4.31e-07/1.088, allocations: 3.938 kB / 1.038 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/1.116, allocations: 6.893 MB / 1.045 GB, free: 8.867 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/1.116, allocations: 190.5 kB / 1.045 GB, free: 8.672 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.093/3.209, allocations: 0 / 1.045 GB, free: 8.672 MB / 0.6667 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)