Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009484/0.0009485, allocations: 98.11 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005889/0.005889, allocations: 169.6 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.684/1.684, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.0004835, allocations: 15.09 kB / 0.6744 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1863, allocations: 116.3 MB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002445/0.1888, allocations: 1.971 MB / 0.7899 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001952/0.1908, allocations: 1.313 MB / 0.7912 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.1909, allocations: 0 / 0.7912 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005137/0.1915, allocations: 187.7 kB / 0.7914 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.1917, allocations: 115.5 kB / 0.7915 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.1921, allocations: 125.4 kB / 0.7916 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.1924, allocations: 255 kB / 0.7919 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.1925, allocations: 52.72 kB / 0.7919 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.1927, allocations: 91.5 kB / 0.792 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.1928, allocations: 103.5 kB / 0.7921 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.1928, allocations: 8 kB / 0.7921 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.193, allocations: 55.91 kB / 0.7922 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.947e-05/0.193, allocations: 83.61 kB / 0.7922 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.1932, allocations: 164.6 kB / 0.7924 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.1935, allocations: 374.4 kB / 0.7927 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.1935, allocations: 0 / 0.7927 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1935, allocations: 0 / 0.7927 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.1935, allocations: 0 / 0.7927 GB, free: 6.547 MB / 0.6075 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.0007586/0.1943, allocations: 0.6494 MB / 0.7934 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.644e-05/0.1943, allocations: 15.97 kB / 0.7934 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.139e-05/0.1944, allocations: 34.75 kB / 0.7934 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.764e-05/0.1944, allocations: 48.38 kB / 0.7935 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/0.1949, allocations: 408 kB / 0.7939 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.1949, allocations: 12.12 kB / 0.7939 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.1949, allocations: 4 kB / 0.7939 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.1951, allocations: 105.6 kB / 0.794 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.1951, allocations: 0 / 0.794 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1952, allocations: 0 / 0.794 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1952, allocations: 0 / 0.794 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.1953, allocations: 47.98 kB / 0.794 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006845/0.196, allocations: 0.5003 MB / 0.7945 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.1963, allocations: 106.7 kB / 0.7946 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.871e-05/0.1964, allocations: 40.84 kB / 0.7947 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.1964, allocations: 3.984 kB / 0.7947 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.1966, allocations: 83.38 kB / 0.7947 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 3.686e-06/0.1966, allocations: 3.984 kB / 0.7947 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003427/0.197, allocations: 177 kB / 0.7949 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.197, allocations: 55.41 kB / 0.795 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000493/0.1975, allocations: 0.5027 MB / 0.7955 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.1975, allocations: 33.7 kB / 0.7955 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.1977, allocations: 224 kB / 0.7957 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.1977, allocations: 27.7 kB / 0.7957 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.1978, allocations: 29.7 kB / 0.7958 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1979, allocations: 358.8 kB / 0.7961 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.198, allocations: 47.98 kB / 0.7961 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.1981, allocations: 74.53 kB / 0.7962 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.1983, allocations: 108.6 kB / 0.7963 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1983, allocations: 384 / 0.7963 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003177/0.1986, allocations: 205 kB / 0.7965 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1987, allocations: 11.94 kB / 0.7965 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1987, allocations: 0 / 0.7965 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.1987, allocations: 3.938 kB / 0.7965 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.1989, allocations: 39.92 kB / 0.7966 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.1989, allocations: 4 kB / 0.7966 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.199, allocations: 23.86 kB / 0.7966 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.199, allocations: 12 kB / 0.7966 GB, free: 2.34 MB / 0.6075 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 ($PRE.mFue_flow.tab.nextTimeEvent,$whenCondition1,mFue_flow.tab.nextTimeEventScaled,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEvent,assFue.hys.y,$PRE.assFue.hys.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001649/0.1992, allocations: 189.7 kB / 0.7968 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.1993, allocations: 43.44 kB / 0.7968 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.282e-05/0.1993, allocations: 43.92 kB / 0.7969 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1993, allocations: 0 / 0.7969 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1994, allocations: 3.984 kB / 0.7969 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1994, allocations: 4 kB / 0.7969 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.1996, allocations: 325.4 kB / 0.7972 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1996, allocations: 0 / 0.7972 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.193e-05/0.1997, allocations: 11.98 kB / 0.7972 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1997, allocations: 0 / 0.7972 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.1997, allocations: 0 / 0.7972 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1997, allocations: 0 / 0.7972 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1997, allocations: 4 kB / 0.7972 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.2001, allocations: 220.4 kB / 0.7974 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.097e-05/0.2001, allocations: 112.6 kB / 0.7975 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.2002, allocations: 4 kB / 0.7975 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.304e-05/0.2003, allocations: 11.98 kB / 0.7975 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.2003, allocations: 7.984 kB / 0.7975 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.2004, allocations: 4 kB / 0.7975 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003306/0.2007, allocations: 358.8 kB / 0.7979 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2007, allocations: 0 / 0.7979 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002567/0.201, allocations: 55.98 kB / 0.7979 GB, free: 0.875 MB / 0.6075 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 (mFue_flow.tab.nextTimeEventScaled,assFue.hys.y,mFue_flow.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001394/0.2024, allocations: 1.071 MB / 0.799 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000245/0.2026, allocations: 115.7 kB / 0.7991 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2026, allocations: 4.062 kB / 0.7991 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 8.78e-05/0.2027, allocations: 39.98 kB / 0.7991 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.2031, allocations: 61.11 kB / 0.7992 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/0.2066, allocations: 3.287 MB / 0.8024 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.2069, allocations: 0.8298 MB / 0.8032 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001152/0.207, allocations: 37.92 kB / 0.8033 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.2072, allocations: 123.4 kB / 0.8034 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of SimCode: time 4.81e-07/0.2072, allocations: 0 / 0.8034 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5338/0.741, allocations: 7.156 MB / 0.8104 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/0.7412, allocations: 257.8 kB / 0.8106 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.629, allocations: 0 / 0.8106 GB, free: 4.098 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1)