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.001416/0.001416, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.207/1.207, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.53/1.53, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001409/0.001409, allocations: 74.22 kB / 0.6716 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.185, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003305/0.1884, allocations: 2.249 MB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.1901, allocations: 1.367 MB / 0.787 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.1903, allocations: 4 kB / 0.787 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004823/0.1908, allocations: 191.5 kB / 0.7872 GB, free: 9.559 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002799/0.191, allocations: 131.3 kB / 0.7873 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.1913, allocations: 146.5 kB / 0.7875 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.1916, allocations: 271 kB / 0.7877 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.1917, allocations: 52.72 kB / 0.7878 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.1919, allocations: 99.56 kB / 0.7879 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.192, allocations: 115.4 kB / 0.788 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.451e-05/0.1921, allocations: 16 kB / 0.788 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.1922, allocations: 51.98 kB / 0.788 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.936e-05/0.1923, allocations: 103.6 kB / 0.7881 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.1924, allocations: 146.8 kB / 0.7883 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003624/0.1928, allocations: 386.5 kB / 0.7886 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1928, allocations: 4 kB / 0.7886 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1928, allocations: 0 / 0.7886 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.1928, allocations: 0 / 0.7886 GB, free: 8.062 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.0009358/0.1937, allocations: 0.7036 MB / 0.7893 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.1938, allocations: 8.031 kB / 0.7893 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.349e-05/0.1938, allocations: 42.73 kB / 0.7894 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.631e-05/0.1939, allocations: 48.28 kB / 0.7894 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004185/0.1943, allocations: 408 kB / 0.7898 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.1944, allocations: 16.12 kB / 0.7898 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.1944, allocations: 8 kB / 0.7898 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.1946, allocations: 100.4 kB / 0.7899 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.1946, allocations: 0 / 0.7899 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.1946, allocations: 4 kB / 0.7899 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1946, allocations: 4 kB / 0.7899 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.1947, allocations: 55.91 kB / 0.79 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006624/0.1954, allocations: 492.5 kB / 0.7905 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.1957, allocations: 110.6 kB / 0.7906 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.27e-05/0.1958, allocations: 40.83 kB / 0.7906 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.1958, allocations: 0 / 0.7906 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.196, allocations: 91.31 kB / 0.7907 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.196, allocations: 0 / 0.7907 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003342/0.1963, allocations: 181 kB / 0.7909 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.1964, allocations: 59.41 kB / 0.7909 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004317/0.1968, allocations: 0.4949 MB / 0.7914 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.1969, allocations: 33.69 kB / 0.7914 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.197, allocations: 216 kB / 0.7917 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.197, allocations: 35.78 kB / 0.7917 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-05/0.1971, allocations: 49.61 kB / 0.7917 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1972, allocations: 358.8 kB / 0.7921 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.929e-05/0.1973, allocations: 47.97 kB / 0.7921 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.1975, allocations: 80.98 kB / 0.7922 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.1976, allocations: 105.6 kB / 0.7923 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1976, allocations: 3.938 kB / 0.7923 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003027/0.198, allocations: 200 kB / 0.7925 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.198, allocations: 11.94 kB / 0.7925 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.198, allocations: 384 / 0.7925 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.198, allocations: 0 / 0.7925 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.1982, allocations: 35.92 kB / 0.7925 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.1982, allocations: 4 kB / 0.7925 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.1983, allocations: 23.86 kB / 0.7926 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.1983, allocations: 8.031 kB / 0.7926 GB, free: 3.797 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.0001563/0.1985, allocations: 196.7 kB / 0.7928 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.1985, allocations: 43.44 kB / 0.7928 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.655e-05/0.1986, allocations: 47.92 kB / 0.7928 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1986, allocations: 0 / 0.7928 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1986, allocations: 3.984 kB / 0.7929 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1986, allocations: 0 / 0.7929 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.1989, allocations: 321.3 kB / 0.7932 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1989, allocations: 0 / 0.7932 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.166e-05/0.1989, allocations: 15.98 kB / 0.7932 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.199, allocations: 0 / 0.7932 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.199, allocations: 8 kB / 0.7932 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.199, allocations: 4 kB / 0.7932 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.199, allocations: 0 / 0.7932 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.1993, allocations: 216.4 kB / 0.7934 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.305e-05/0.1994, allocations: 108.6 kB / 0.7935 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/0.1994, allocations: 12.06 kB / 0.7935 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.504e-05/0.1995, allocations: 7.984 kB / 0.7935 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.1996, allocations: 11.98 kB / 0.7935 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.1996, allocations: 4 kB / 0.7935 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002977/0.1999, allocations: 350.8 kB / 0.7939 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1999, allocations: 0 / 0.7939 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002482/0.2001, allocations: 55.92 kB / 0.7939 GB, free: 2.328 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.001273/0.2014, allocations: 1.07 MB / 0.795 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002376/0.2017, allocations: 103.9 kB / 0.7951 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2017, allocations: 4 kB / 0.7951 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.381e-05/0.2018, allocations: 47.84 kB / 0.7951 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.2021, allocations: 76.81 kB / 0.7952 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/0.2052, allocations: 3.178 MB / 0.7983 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.2055, allocations: 0.826 MB / 0.7991 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000108/0.2056, allocations: 37.92 kB / 0.7991 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.2058, allocations: 123.4 kB / 0.7992 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of SimCode: time 2.81e-07/0.2058, allocations: 0 / 0.7992 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3816/0.5874, allocations: 7.572 MB / 0.8066 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.887/8.475, allocations: 12.3 kB / 0.8067 GB, free: 5.457 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)