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.001064/0.001068, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001112/0.001112, allocations: 192.7 kB / 16.14 MB, free: 6.715 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.232/1.232, allocations: 205.1 MB / 222 MB, free: 4.957 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.584/1.584, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001315/0.001316, allocations: 64.41 kB / 0.6709 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1813, allocations: 114.6 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003587/0.1849, allocations: 2.31 MB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001866/0.1868, allocations: 1.34 MB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.187, allocations: 4 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005358/0.1875, allocations: 183.6 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002729/0.1878, allocations: 123.5 kB / 0.7867 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.1881, allocations: 125.9 kB / 0.7868 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000259/0.1884, allocations: 251.1 kB / 0.787 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.1886, allocations: 52.72 kB / 0.7871 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.1887, allocations: 95.45 kB / 0.7872 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.1888, allocations: 107.4 kB / 0.7873 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.179e-05/0.1889, allocations: 12 kB / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.189, allocations: 55.95 kB / 0.7873 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.132e-05/0.1891, allocations: 83.67 kB / 0.7874 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.1892, allocations: 146.8 kB / 0.7875 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.1896, allocations: 374.5 kB / 0.7879 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1896, allocations: 0 / 0.7879 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.12e-07/0.1896, allocations: 0 / 0.7879 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.1896, allocations: 0 / 0.7879 GB, free: 8.645 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.0008747/0.1905, allocations: 0.7152 MB / 0.7886 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.1905, allocations: 8.031 kB / 0.7886 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.598e-05/0.1906, allocations: 38.75 kB / 0.7886 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.495e-05/0.1906, allocations: 44.38 kB / 0.7887 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004104/0.191, allocations: 408 kB / 0.7891 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.1911, allocations: 12.12 kB / 0.7891 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.1911, allocations: 15.98 kB / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.1913, allocations: 93.58 kB / 0.7892 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-06/0.1913, allocations: 0 / 0.7892 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.1913, allocations: 4 kB / 0.7892 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.1913, allocations: 4 kB / 0.7892 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.1915, allocations: 51.91 kB / 0.7893 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000661/0.1921, allocations: 0.4887 MB / 0.7897 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/0.1925, allocations: 110.7 kB / 0.7898 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.906e-05/0.1926, allocations: 36.84 kB / 0.7899 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.1926, allocations: 0 / 0.7899 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.1928, allocations: 95.31 kB / 0.79 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.1928, allocations: 0 / 0.79 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003517/0.1931, allocations: 181.2 kB / 0.7901 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.1932, allocations: 51.41 kB / 0.7902 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004607/0.1937, allocations: 0.4988 MB / 0.7907 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.1937, allocations: 33.64 kB / 0.7907 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.1938, allocations: 224 kB / 0.7909 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.1939, allocations: 27.78 kB / 0.7909 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.306e-05/0.1939, allocations: 57.59 kB / 0.791 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1941, allocations: 358.8 kB / 0.7913 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.1942, allocations: 47.98 kB / 0.7914 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.1943, allocations: 76.23 kB / 0.7915 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.1945, allocations: 100.2 kB / 0.7916 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1945, allocations: 7.875 kB / 0.7916 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003073/0.1948, allocations: 201.1 kB / 0.7918 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1948, allocations: 4 kB / 0.7918 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1948, allocations: 7.984 kB / 0.7918 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.1949, allocations: 0 / 0.7918 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.195, allocations: 39.92 kB / 0.7918 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.195, allocations: 0 / 0.7918 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.1952, allocations: 19.83 kB / 0.7918 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.1952, allocations: 12 kB / 0.7918 GB, free: 4.367 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.1954, allocations: 193.7 kB / 0.792 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.1954, allocations: 43.44 kB / 0.7921 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.868e-05/0.1955, allocations: 47.91 kB / 0.7921 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1955, allocations: 0 / 0.7921 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1955, allocations: 0 / 0.7921 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.1955, allocations: 0 / 0.7921 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.1958, allocations: 321.4 kB / 0.7924 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1958, allocations: 0 / 0.7924 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.353e-05/0.1958, allocations: 12 kB / 0.7924 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1958, allocations: 0 / 0.7924 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.1959, allocations: 7.984 kB / 0.7924 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1959, allocations: 0 / 0.7924 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1959, allocations: 4 kB / 0.7924 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.1962, allocations: 212.6 kB / 0.7926 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.514e-05/0.1963, allocations: 120.5 kB / 0.7928 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.1963, allocations: 4 kB / 0.7928 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.896e-05/0.1964, allocations: 4 kB / 0.7928 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.1965, allocations: 20.03 kB / 0.7928 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.1965, allocations: 4 kB / 0.7928 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003279/0.1968, allocations: 354.8 kB / 0.7931 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1968, allocations: 0 / 0.7931 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002503/0.1971, allocations: 51.94 kB / 0.7932 GB, free: 2.902 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.001334/0.1984, allocations: 1.073 MB / 0.7942 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002437/0.1987, allocations: 111.8 kB / 0.7943 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1987, allocations: 0 / 0.7943 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.805e-05/0.1988, allocations: 43.92 kB / 0.7944 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.1992, allocations: 69.34 kB / 0.7944 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003548/0.2027, allocations: 3.257 MB / 0.7976 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.2031, allocations: 0.8298 MB / 0.7984 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001145/0.2032, allocations: 29.94 kB / 0.7985 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.2034, allocations: 131.4 kB / 0.7986 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.2034, allocations: 0 / 0.7986 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4185/0.6218, allocations: 7.296 MB / 0.8057 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002735/0.6222, allocations: 243.8 kB / 0.8059 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.11/2.733, allocations: 0 / 0.8059 GB, free: 6.012 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)