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.001107/0.001107, allocations: 105.4 kB / 15.7 MB, free: 20 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.001363/0.001363, allocations: 195.8 kB / 16.64 MB, free: 6.609 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.367/1.367, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.639/1.639, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001601/0.001601, allocations: 73.89 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1995, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003756/0.2032, allocations: 2.253 MB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002113/0.2054, allocations: 1.368 MB / 0.7872 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.2056, allocations: 7.938 kB / 0.7872 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005901/0.2062, allocations: 187.5 kB / 0.7874 GB, free: 9.426 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.0003957/0.2067, allocations: 139.3 kB / 0.7875 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003895/0.2071, allocations: 131.7 kB / 0.7876 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003694/0.2074, allocations: 267 kB / 0.7879 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.2076, allocations: 52.72 kB / 0.7879 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.2078, allocations: 111.5 kB / 0.788 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.208, allocations: 111.4 kB / 0.7881 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.361e-05/0.2081, allocations: 16 kB / 0.7882 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.2082, allocations: 51.98 kB / 0.7882 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.2083, allocations: 103.6 kB / 0.7883 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.2085, allocations: 154.8 kB / 0.7885 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004389/0.2089, allocations: 390.5 kB / 0.7888 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2089, allocations: 0 / 0.7888 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.209, allocations: 0 / 0.7888 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.209, allocations: 0 / 0.7888 GB, free: 7.922 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.001055/0.21, allocations: 0.7036 MB / 0.7895 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.2101, allocations: 12.03 kB / 0.7895 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.359e-05/0.2101, allocations: 38.73 kB / 0.7896 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.22e-05/0.2102, allocations: 52.28 kB / 0.7896 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00055/0.2108, allocations: 404.1 kB / 0.79 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.2108, allocations: 12.12 kB / 0.79 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.2108, allocations: 4 kB / 0.79 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.2111, allocations: 101.6 kB / 0.7901 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.2111, allocations: 4 kB / 0.7901 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.2111, allocations: 3.938 kB / 0.7901 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2111, allocations: 7.938 kB / 0.7901 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.2112, allocations: 51.06 kB / 0.7902 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007955/0.2121, allocations: 492.4 kB / 0.7906 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003506/0.2124, allocations: 110.7 kB / 0.7907 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.454e-05/0.2125, allocations: 40.83 kB / 0.7908 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.2125, allocations: 4 kB / 0.7908 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.2127, allocations: 83.36 kB / 0.7909 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.2127, allocations: 0 / 0.7909 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003973/0.2131, allocations: 185 kB / 0.791 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.2132, allocations: 55.41 kB / 0.7911 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005125/0.2137, allocations: 0.5027 MB / 0.7916 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.2137, allocations: 25.7 kB / 0.7916 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.2139, allocations: 220 kB / 0.7918 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.2139, allocations: 27.78 kB / 0.7919 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-05/0.214, allocations: 49.61 kB / 0.7919 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.2141, allocations: 366.8 kB / 0.7922 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.2143, allocations: 51.91 kB / 0.7923 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.2144, allocations: 80.98 kB / 0.7924 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.2146, allocations: 96.41 kB / 0.7925 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2146, allocations: 3.938 kB / 0.7925 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003236/0.2149, allocations: 205 kB / 0.7927 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.2149, allocations: 8.062 kB / 0.7927 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.215, allocations: 0 / 0.7927 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.215, allocations: 4 kB / 0.7927 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.2151, allocations: 39.91 kB / 0.7927 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2152, allocations: 0 / 0.7927 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.2153, allocations: 15.94 kB / 0.7927 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.2153, allocations: 8 kB / 0.7927 GB, free: 3.668 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.0001621/0.2155, allocations: 193.1 kB / 0.7929 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.881e-05/0.2155, allocations: 47.44 kB / 0.793 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.96e-05/0.2156, allocations: 47.91 kB / 0.793 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.2156, allocations: 3.984 kB / 0.793 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2156, allocations: 7.938 kB / 0.793 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.2156, allocations: 0 / 0.793 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.2159, allocations: 321.3 kB / 0.7933 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2159, allocations: 3.938 kB / 0.7933 GB, free: 3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.216, allocations: 15.92 kB / 0.7933 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.216, allocations: 0 / 0.7933 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.216, allocations: 8 kB / 0.7934 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2161, allocations: 4 kB / 0.7934 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2161, allocations: 0 / 0.7934 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.2164, allocations: 216.4 kB / 0.7936 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-05/0.2165, allocations: 112.6 kB / 0.7937 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.2165, allocations: 4 kB / 0.7937 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.597e-05/0.2166, allocations: 7.984 kB / 0.7937 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.2167, allocations: 11.98 kB / 0.7937 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.2167, allocations: 8.062 kB / 0.7937 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003444/0.2171, allocations: 354.8 kB / 0.794 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2171, allocations: 0 / 0.794 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002688/0.2173, allocations: 51.92 kB / 0.7941 GB, free: 2.188 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.001369/0.2187, allocations: 1.066 MB / 0.7951 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002625/0.219, allocations: 111.8 kB / 0.7952 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.219, allocations: 7.938 kB / 0.7952 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.055e-05/0.2191, allocations: 35.98 kB / 0.7953 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.2195, allocations: 68.33 kB / 0.7953 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003512/0.223, allocations: 3.126 MB / 0.7984 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.2234, allocations: 0.826 MB / 0.7992 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001187/0.2235, allocations: 33.92 kB / 0.7992 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.2237, allocations: 123.4 kB / 0.7994 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.2237, allocations: 0 / 0.7994 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/0.249, allocations: 7.608 MB / 0.8068 GB, free: 5.375 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.975/8.224, allocations: 2.922 kB / 0.8068 GB, free: 5.375 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1)