Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009188/0.0009188, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8661/0.8661, allocations: 177.2 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.742/1.742, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.354e-05/1.528e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002401/0.002416, allocations: 2.214 MB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.003854, allocations: 1.5 MB / 1.003 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.468e-05/0.003949, allocations: 7.938 kB / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004224/0.004371, allocations: 183.4 kB / 1.003 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.004666, allocations: 179 kB / 1.004 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.004853, allocations: 147.4 kB / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.00509, allocations: 282.9 kB / 1.004 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.005203, allocations: 36.92 kB / 1.004 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.00533, allocations: 151.5 kB / 1.004 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.005445, allocations: 95.7 kB / 1.004 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.005467, allocations: 12 kB / 1.004 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.754e-05/0.005555, allocations: 59.91 kB / 1.004 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.636e-05/0.005631, allocations: 99.61 kB / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.411e-05/0.005695, allocations: 71.67 kB / 1.005 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.006008, allocations: 394.5 kB / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.00601, allocations: 4 kB / 1.005 GB, free: 8.059 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.52e-07/0.006011, allocations: 0 / 1.005 GB, free: 8.059 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.006016, allocations: 0 / 1.005 GB, free: 8.059 MB / 0.9636 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.0006511/0.006667, allocations: 0.6513 MB / 1.006 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.0067, allocations: 8.75 kB / 1.006 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.063e-05/0.006731, allocations: 42.73 kB / 1.006 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.997e-05/0.006791, allocations: 48.61 kB / 1.006 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.007123, allocations: 348.6 kB / 1.006 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.007137, allocations: 12.38 kB / 1.006 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.007156, allocations: 12.38 kB / 1.006 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.007309, allocations: 123.4 kB / 1.006 GB, free: 6.746 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.007316, allocations: 0 / 1.006 GB, free: 6.746 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.007325, allocations: 0 / 1.006 GB, free: 6.746 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-06/0.00733, allocations: 4 kB / 1.006 GB, free: 6.742 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.048e-05/0.00742, allocations: 55.97 kB / 1.006 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/0.007887, allocations: 439.6 kB / 1.007 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.008039, allocations: 106.6 kB / 1.007 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.363e-05/0.008083, allocations: 32.84 kB / 1.007 GB, free: 6.066 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.0081, allocations: 0 / 1.007 GB, free: 6.066 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001236/0.008223, allocations: 113 kB / 1.007 GB, free: 5.938 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.008225, allocations: 0 / 1.007 GB, free: 5.938 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.000245/0.00847, allocations: 177.2 kB / 1.007 GB, free: 5.758 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.008497, allocations: 59.34 kB / 1.007 GB, free: 5.688 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003434/0.008841, allocations: 0.5106 MB / 1.008 GB, free: 5.164 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.008856, allocations: 37.64 kB / 1.008 GB, free: 5.121 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.008971, allocations: 220 kB / 1.008 GB, free: 4.902 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.397e-05/0.009055, allocations: 35.88 kB / 1.008 GB, free: 4.867 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.151e-05/0.009106, allocations: 45.64 kB / 1.008 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.613e-05/0.009202, allocations: 362.8 kB / 1.008 GB, free: 4.453 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.771e-05/0.00927, allocations: 47.97 kB / 1.008 GB, free: 4.406 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.553e-05/0.009355, allocations: 104.2 kB / 1.008 GB, free: 4.289 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.009466, allocations: 91.94 kB / 1.009 GB, free: 4.195 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.009468, allocations: 4 kB / 1.009 GB, free: 4.191 MB / 0.9636 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001968/0.009665, allocations: 219.4 kB / 1.009 GB, free: 3.973 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.009677, allocations: 8 kB / 1.009 GB, free: 3.965 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.009681, allocations: 0 / 1.009 GB, free: 3.965 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.009695, allocations: 3.984 kB / 1.009 GB, free: 3.961 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.009803, allocations: 35.92 kB / 1.009 GB, free: 3.926 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.009808, allocations: 0 / 1.009 GB, free: 3.926 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.162e-05/0.009869, allocations: 23.88 kB / 1.009 GB, free: 3.902 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.009887, allocations: 8 kB / 1.009 GB, free: 3.895 MB / 0.9636 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.0001228/0.01001, allocations: 186.6 kB / 1.009 GB, free: 3.703 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.01004, allocations: 55.69 kB / 1.009 GB, free: 3.648 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/0.01022, allocations: 157.7 kB / 1.009 GB, free: 3.48 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.01022, allocations: 7.984 kB / 1.009 GB, free: 3.473 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.01023, allocations: 0 / 1.009 GB, free: 3.473 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.01023, allocations: 0 / 1.009 GB, free: 3.473 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.0104, allocations: 280.5 kB / 1.009 GB, free: 3.156 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.0104, allocations: 0 / 1.009 GB, free: 3.156 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.749e-05/0.01044, allocations: 15.94 kB / 1.009 GB, free: 3.141 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.01044, allocations: 4.406 kB / 1.009 GB, free: 3.137 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.01045, allocations: 4 kB / 1.009 GB, free: 3.133 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.01045, allocations: 4 kB / 1.009 GB, free: 3.129 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01045, allocations: 0 / 1.009 GB, free: 3.129 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.01067, allocations: 224.6 kB / 1.01 GB, free: 2.891 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.01071, allocations: 47.67 kB / 1.01 GB, free: 2.844 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.01073, allocations: 0 / 1.01 GB, free: 2.844 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.308e-05/0.01077, allocations: 4 kB / 1.01 GB, free: 2.84 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.01081, allocations: 23.91 kB / 1.01 GB, free: 2.816 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.01082, allocations: 0 / 1.01 GB, free: 2.816 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002317/0.01105, allocations: 362.8 kB / 1.01 GB, free: 2.465 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01105, allocations: 0 / 1.01 GB, free: 2.465 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001697/0.01122, allocations: 55.94 kB / 1.01 GB, free: 2.41 MB / 0.9636 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 (assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.0009617/0.01218, allocations: 1.103 MB / 1.011 GB, free: 1.465 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001642/0.01235, allocations: 103.8 kB / 1.011 GB, free: 1.363 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.01235, allocations: 0 / 1.011 GB, free: 1.363 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.281e-05/0.0124, allocations: 39.92 kB / 1.011 GB, free: 1.324 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.01263, allocations: 69.45 kB / 1.011 GB, free: 1.266 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.01495, allocations: 3.137 MB / 1.015 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.01508, allocations: 228.8 kB / 1.015 GB, free: 13.8 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 7.281e-05/0.01515, allocations: 41.91 kB / 1.015 GB, free: 13.75 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.01527, allocations: 132.5 kB / 1.015 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of SimCode: time 5.91e-07/0.01527, allocations: 0 / 1.015 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02093/0.0362, allocations: 8.69 MB / 1.023 GB, free: 5.039 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.902/6.939, allocations: 7.391 kB / 1.023 GB, free: 5.035 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv --start-time 0 --stop-time 1200 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 11.013819608837366] Failed to read output from testmodel.py, exit status != 0: 7.0400939006358385 7.049877742 7.04217997 Calling exit ...