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.368/1.368, allocations: 249.3 MB / 261.8 MB, free: 5.789 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.001042/0.001042, allocations: 180.9 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.292/1.292, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0008023/0.0008024, allocations: 82.53 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.812e-05/2.823e-05, allocations: 4 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1609, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6271/0.7881, allocations: 136.9 MB / 1.026 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.7884, allocations: 86.81 kB / 1.026 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02993/0.8184, allocations: 11.09 MB / 1.037 GB, free: 4.266 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.963e-06/0.8184, allocations: 0 / 1.037 GB, free: 4.266 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.624e-05/0.8185, allocations: 8 kB / 1.037 GB, free: 4.258 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.000719/0.8192, allocations: 0.5857 MB / 1.037 GB, free: 3.652 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.8192, allocations: 8.031 kB / 1.037 GB, free: 3.645 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.586e-05/0.8193, allocations: 41.8 kB / 1.037 GB, free: 3.598 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.313e-05/0.8194, allocations: 43.44 kB / 1.037 GB, free: 3.555 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005748/0.8199, allocations: 362.3 kB / 1.038 GB, free: 3.188 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.82, allocations: 4 kB / 1.038 GB, free: 3.184 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.82, allocations: 15.16 kB / 1.038 GB, free: 3.172 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.8202, allocations: 92.48 kB / 1.038 GB, free: 3.098 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.8202, allocations: 0 / 1.038 GB, free: 3.098 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.8202, allocations: 0 / 1.038 GB, free: 3.098 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.8202, allocations: 4 kB / 1.038 GB, free: 3.094 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.8204, allocations: 49.73 kB / 1.038 GB, free: 3.062 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000777/0.8211, allocations: 0.5188 MB / 1.038 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.8213, allocations: 84.5 kB / 1.038 GB, free: 2.512 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.502e-05/0.8214, allocations: 35.48 kB / 1.038 GB, free: 2.484 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.8214, allocations: 160 / 1.038 GB, free: 2.484 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.8216, allocations: 94.61 kB / 1.038 GB, free: 2.395 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.8216, allocations: 3.938 kB / 1.038 GB, free: 2.391 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0002676/0.8219, allocations: 139.2 kB / 1.039 GB, free: 2.266 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.8219, allocations: 59.41 kB / 1.039 GB, free: 2.195 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005416/0.8225, allocations: 472.8 kB / 1.039 GB, free: 1.816 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.8225, allocations: 33.52 kB / 1.039 GB, free: 1.781 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.8226, allocations: 215.9 kB / 1.039 GB, free: 1.656 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.8227, allocations: 31 kB / 1.039 GB, free: 1.629 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/0.8227, allocations: 2.875 kB / 1.039 GB, free: 1.629 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.8229, allocations: 356.2 kB / 1.04 GB, free: 1.293 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.823, allocations: 62.23 kB / 1.04 GB, free: 1.25 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.8231, allocations: 101.4 kB / 1.04 GB, free: 1.168 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.8232, allocations: 63.75 kB / 1.04 GB, free: 1.129 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8232, allocations: 0 / 1.04 GB, free: 1.129 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003252/0.8235, allocations: 230.2 kB / 1.04 GB, free: 0.9414 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.8236, allocations: 11.94 kB / 1.04 GB, free: 0.9297 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.8236, allocations: 0 / 1.04 GB, free: 0.9297 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.8236, allocations: 0 / 1.04 GB, free: 0.9297 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.8238, allocations: 39.36 kB / 1.04 GB, free: 0.8945 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.8238, allocations: 4 kB / 1.04 GB, free: 0.8906 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.8239, allocations: 15.12 kB / 1.04 GB, free: 0.8789 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.824, allocations: 7.984 kB / 1.04 GB, free: 0.8711 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 7.82e-05/0.824, allocations: 116.9 kB / 1.04 GB, free: 0.7539 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/0.8241, allocations: 43.19 kB / 1.04 GB, free: 0.7148 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.8244, allocations: 152.8 kB / 1.04 GB, free: 0.5859 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.8244, allocations: 4 kB / 1.04 GB, free: 0.582 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.8244, allocations: 4 kB / 1.04 GB, free: 0.5781 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.8244, allocations: 3.984 kB / 1.04 GB, free: 0.5742 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/0.8247, allocations: 318.9 kB / 1.041 GB, free: 272 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.8247, allocations: 0 / 1.041 GB, free: 272 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.665e-05/0.8247, allocations: 11.94 kB / 1.041 GB, free: 260 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.8248, allocations: 4.188 kB / 1.041 GB, free: 256 kB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.8248, allocations: 3.375 kB / 1.041 GB, free: 256 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.8248, allocations: 7.891 kB / 1.041 GB, free: 248 kB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.8248, allocations: 7.922 kB / 1.041 GB, free: 240 kB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.8251, allocations: 206 kB / 1.041 GB, free: 52 kB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.8252, allocations: 119.7 kB / 1.041 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.8253, allocations: 7.5 kB / 1.041 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.781e-05/0.8254, allocations: 4 kB / 1.041 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.8254, allocations: 19.92 kB / 1.041 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.8255, allocations: 3.188 kB / 1.041 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003551/0.8258, allocations: 360.5 kB / 1.042 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8258, allocations: 4.062 kB / 1.042 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002892/0.8261, allocations: 59.19 kB / 1.042 GB, free: 15.55 MB / 0.6667 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.001318/0.8274, allocations: 1.042 MB / 1.043 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002202/0.8277, allocations: 112.7 kB / 1.043 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.8277, allocations: 0 / 1.043 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 7.053e-05/0.8278, allocations: 37.25 kB / 1.043 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.8281, allocations: 60.88 kB / 1.043 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009623/0.8291, allocations: 0.585 MB / 1.043 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.8295, allocations: 0.8322 MB / 1.044 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 9.756e-05/0.8296, allocations: 29.53 kB / 1.044 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.8297, allocations: 124.8 kB / 1.044 GB, free: 13.01 MB / 0.6667 GB Notification: Performance of SimCode: time 2.71e-07/0.8297, allocations: 0 / 1.044 GB, free: 13.01 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.8498, allocations: 7.758 MB / 1.052 GB, free: 5.359 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/0.8501, allocations: 202.2 kB / 1.052 GB, free: 5.141 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.049/2.899, allocations: 0 / 1.052 GB, free: 5.141 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)