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.356/1.356, allocations: 251.5 MB / 266.7 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009888/0.0009888, allocations: 180.9 kB / 325.9 MB, free: 2.68 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.861/1.861, allocations: 205 MB / 0.576 GB, free: 21 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.001124/0.001124, allocations: 92.19 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003084/0.0003084, allocations: 12.05 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1895, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002446/0.192, allocations: 1.974 MB / 0.8981 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.1934, allocations: 1.187 MB / 0.8993 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.1936, allocations: 11.94 kB / 0.8993 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004908/0.1941, allocations: 175.2 kB / 0.8995 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.1943, allocations: 115.5 kB / 0.8996 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.1946, allocations: 111.8 kB / 0.8997 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.1948, allocations: 235.1 kB / 0.8999 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1949, allocations: 48.38 kB / 0.9 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.364e-05/0.195, allocations: 87.5 kB / 0.9 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.1951, allocations: 107.4 kB / 0.9001 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.1951, allocations: 4 kB / 0.9001 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.75e-05/0.1952, allocations: 32 kB / 0.9002 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.146e-05/0.1953, allocations: 83.67 kB / 0.9003 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.628e-05/0.1954, allocations: 142.8 kB / 0.9004 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.1956, allocations: 358.5 kB / 0.9007 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1957, allocations: 4 kB / 0.9007 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1957, allocations: 0 / 0.9007 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.1957, allocations: 0 / 0.9007 GB, free: 63.4 MB / 0.6042 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.0006644/0.1963, allocations: 0.6339 MB / 0.9014 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1964, allocations: 12.03 kB / 0.9014 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.583e-05/0.1964, allocations: 38.73 kB / 0.9014 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.712e-05/0.1965, allocations: 48.38 kB / 0.9015 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.1968, allocations: 403.8 kB / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.1968, allocations: 8.375 kB / 0.9018 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.1969, allocations: 7.938 kB / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.197, allocations: 89.59 kB / 0.9019 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.1971, allocations: 0 / 0.9019 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1971, allocations: 15.98 kB / 0.902 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1971, allocations: 0 / 0.902 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.1972, allocations: 50.23 kB / 0.902 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005722/0.1978, allocations: 0.4926 MB / 0.9025 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.1981, allocations: 106.7 kB / 0.9026 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.578e-05/0.1982, allocations: 36.84 kB / 0.9026 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.1982, allocations: 3.938 kB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.1984, allocations: 83.38 kB / 0.9027 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.1984, allocations: 0 / 0.9027 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0002997/0.1987, allocations: 177 kB / 0.9029 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.1987, allocations: 55.39 kB / 0.9029 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003555/0.1991, allocations: 0.491 MB / 0.9034 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.1991, allocations: 29.7 kB / 0.9034 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.1992, allocations: 224 kB / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.1993, allocations: 23.8 kB / 0.9037 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.1993, allocations: 33.64 kB / 0.9037 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.687e-05/0.1994, allocations: 358.8 kB / 0.904 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.018e-05/0.1995, allocations: 43.98 kB / 0.9041 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.1996, allocations: 78.55 kB / 0.9042 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.1997, allocations: 99.92 kB / 0.9043 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1997, allocations: 0 / 0.9043 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000262/0.2, allocations: 209 kB / 0.9045 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.2, allocations: 4 kB / 0.9045 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2, allocations: 3.984 kB / 0.9045 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.2001, allocations: 0 / 0.9045 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.2002, allocations: 35.92 kB / 0.9045 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.2002, allocations: 4 kB / 0.9045 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.2003, allocations: 23.86 kB / 0.9045 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.2003, allocations: 12 kB / 0.9045 GB, free: 59.26 MB / 0.6042 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.0001284/0.2005, allocations: 177.8 kB / 0.9047 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/0.2005, allocations: 51.36 kB / 0.9048 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.992e-05/0.2006, allocations: 47.78 kB / 0.9048 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2006, allocations: 0 / 0.9048 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2006, allocations: 4 kB / 0.9048 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2006, allocations: 384 / 0.9048 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.2008, allocations: 317.4 kB / 0.9051 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2008, allocations: 4 kB / 0.9051 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.734e-05/0.2009, allocations: 11.94 kB / 0.9051 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2009, allocations: 3.938 kB / 0.9051 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.2009, allocations: 8 kB / 0.9051 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.2009, allocations: 7.984 kB / 0.9051 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2009, allocations: 3.984 kB / 0.9051 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.2012, allocations: 208.4 kB / 0.9053 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.2012, allocations: 112.6 kB / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.2013, allocations: 8 kB / 0.9055 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.106e-05/0.2014, allocations: 7.984 kB / 0.9055 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.2014, allocations: 11.98 kB / 0.9055 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.2015, allocations: 0 / 0.9055 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002492/0.2017, allocations: 354.8 kB / 0.9058 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2017, allocations: 0 / 0.9058 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002182/0.2019, allocations: 40 kB / 0.9059 GB, free: 57.82 MB / 0.6042 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.001221/0.2032, allocations: 1.06 MB / 0.9069 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002211/0.2034, allocations: 114.2 kB / 0.907 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.2034, allocations: 0 / 0.907 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.515e-05/0.2035, allocations: 35.98 kB / 0.907 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.2038, allocations: 58.33 kB / 0.9071 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.2066, allocations: 3.218 MB / 0.9102 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.2068, allocations: 0.8223 MB / 0.911 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001022/0.207, allocations: 33.94 kB / 0.9111 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.2071, allocations: 123.4 kB / 0.9112 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.2071, allocations: 0 / 0.9112 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2746/0.4817, allocations: 6.847 MB / 0.9179 GB, free: 45.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/0.482, allocations: 263.8 kB / 0.9181 GB, free: 45.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.994/2.476, allocations: 0 / 0.9181 GB, free: 45.31 MB / 0.6042 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)