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.001293/0.001293, allocations: 114.8 kB / 17.16 MB, free: 5.895 MB / 14.72 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.00138/0.00138, allocations: 210.2 kB / 20.13 MB, free: 2.949 MB / 14.72 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 1.619/1.619, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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 3.048/3.048, allocations: 0.5003 GB / 0.8026 GB, free: 6.973 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 63.91 kB / 1.165 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.961/0.9632, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.00376/0.9669, allocations: 2.302 MB / 1.342 GB, free: 14.67 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002575/0.9695, allocations: 1.617 MB / 1.344 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002342/0.9698, allocations: 2.219 kB / 1.344 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007098/0.9705, allocations: 179.8 kB / 1.344 GB, free: 13.47 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005707/0.971, allocations: 184.6 kB / 1.344 GB, free: 13.37 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.9715, allocations: 136.5 kB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004415/0.9719, allocations: 280.7 kB / 1.345 GB, free: 13.16 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.9721, allocations: 36.09 kB / 1.345 GB, free: 13.14 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002105/0.9723, allocations: 123.6 kB / 1.345 GB, free: 13.08 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.9725, allocations: 116 kB / 1.345 GB, free: 13.03 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.733e-05/0.9725, allocations: 13.75 kB / 1.345 GB, free: 13.03 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.9727, allocations: 61.52 kB / 1.345 GB, free: 13.01 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.9728, allocations: 100.6 kB / 1.345 GB, free: 12.97 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.9729, allocations: 146.7 kB / 1.345 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005799/0.9735, allocations: 410.5 kB / 1.346 GB, free: 12.68 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.9735, allocations: 0 / 1.346 GB, free: 12.68 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9735, allocations: 0 / 1.346 GB, free: 12.68 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.9735, allocations: 1.375 kB / 1.346 GB, free: 12.68 MB / 1.061 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.001018/0.9745, allocations: 0.7285 MB / 1.346 GB, free: 12.07 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.9746, allocations: 9.891 kB / 1.346 GB, free: 12.07 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.331e-05/0.9746, allocations: 3.125 kB / 1.346 GB, free: 12.07 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.038e-05/0.9746, allocations: 42.28 kB / 1.346 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.244e-05/0.9747, allocations: 54.67 kB / 1.346 GB, free: 11.99 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004995/0.9752, allocations: 418.1 kB / 1.347 GB, free: 11.66 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.9752, allocations: 11.16 kB / 1.347 GB, free: 11.66 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.9753, allocations: 6.312 kB / 1.347 GB, free: 11.66 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.9755, allocations: 92.77 kB / 1.347 GB, free: 11.61 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.9755, allocations: 0 / 1.347 GB, free: 11.61 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.9755, allocations: 5.797 kB / 1.347 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.9755, allocations: 9.094 kB / 1.347 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.9757, allocations: 50.72 kB / 1.347 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007864/0.9764, allocations: 495.4 kB / 1.348 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003718/0.9768, allocations: 107.3 kB / 1.348 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.057e-05/0.9769, allocations: 32.05 kB / 1.348 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.9769, allocations: 5.609 kB / 1.348 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.9771, allocations: 89.75 kB / 1.348 GB, free: 11.07 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.9771, allocations: 0 / 1.348 GB, free: 11.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0004234/0.9775, allocations: 192.3 kB / 1.348 GB, free: 10.97 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.9776, allocations: 57.34 kB / 1.348 GB, free: 10.9 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000635/0.9782, allocations: 0.502 MB / 1.348 GB, free: 10.68 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.9782, allocations: 32.23 kB / 1.349 GB, free: 10.65 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.9784, allocations: 224.1 kB / 1.349 GB, free: 10.46 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.9784, allocations: 31.58 kB / 1.349 GB, free: 10.44 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.9785, allocations: 45.84 kB / 1.349 GB, free: 10.41 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.9786, allocations: 360.2 kB / 1.349 GB, free: 10.08 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.9788, allocations: 50.55 kB / 1.349 GB, free: 10.06 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.9789, allocations: 83.28 kB / 1.349 GB, free: 10.01 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.9791, allocations: 106.8 kB / 1.349 GB, free: 9.953 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.9791, allocations: 0 / 1.349 GB, free: 9.953 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003853/0.9795, allocations: 206.1 kB / 1.35 GB, free: 9.852 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.9795, allocations: 7.344 kB / 1.35 GB, free: 9.852 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.9795, allocations: 2.016 kB / 1.35 GB, free: 9.852 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.9795, allocations: 5.062 kB / 1.35 GB, free: 9.848 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.9797, allocations: 37.77 kB / 1.35 GB, free: 9.844 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.9797, allocations: 1.406 kB / 1.35 GB, free: 9.844 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.9799, allocations: 22.42 kB / 1.35 GB, free: 9.832 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.9799, allocations: 7.469 kB / 1.35 GB, free: 9.832 MB / 1.061 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.0001939/0.9801, allocations: 195.1 kB / 1.35 GB, free: 9.684 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.094e-05/0.9802, allocations: 49.09 kB / 1.35 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.458e-05/0.9802, allocations: 54.97 kB / 1.35 GB, free: 9.629 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.9803, allocations: 5.922 kB / 1.35 GB, free: 9.625 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.9803, allocations: 0 / 1.35 GB, free: 9.625 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.9803, allocations: 1.719 kB / 1.35 GB, free: 9.625 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.9806, allocations: 319.2 kB / 1.35 GB, free: 9.379 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.9806, allocations: 1.188 kB / 1.35 GB, free: 9.379 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.824e-05/0.9807, allocations: 8.531 kB / 1.35 GB, free: 9.379 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.9807, allocations: 1.219 kB / 1.35 GB, free: 9.379 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.9807, allocations: 6.078 kB / 1.35 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.9807, allocations: 0.5156 kB / 1.35 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.9807, allocations: 1 kB / 1.35 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004062/0.9811, allocations: 228.7 kB / 1.35 GB, free: 9.23 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-05/0.9812, allocations: 111.3 kB / 1.351 GB, free: 9.113 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.339e-05/0.9812, allocations: 7.672 kB / 1.351 GB, free: 9.109 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.415e-05/0.9813, allocations: 8.781 kB / 1.351 GB, free: 9.105 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/0.9814, allocations: 14.67 kB / 1.351 GB, free: 9.102 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.9814, allocations: 3.672 kB / 1.351 GB, free: 9.102 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004629/0.9819, allocations: 359.8 kB / 1.351 GB, free: 8.945 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9819, allocations: 5.094 kB / 1.351 GB, free: 8.941 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003273/0.9822, allocations: 55.23 kB / 1.351 GB, free: 8.926 MB / 1.061 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.00222/0.9844, allocations: 1.064 MB / 1.352 GB, free: 8.148 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003074/0.9847, allocations: 104.3 kB / 1.352 GB, free: 8.113 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.9847, allocations: 0.8438 kB / 1.352 GB, free: 8.113 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.831e-05/0.9848, allocations: 39.83 kB / 1.352 GB, free: 8.098 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.9853, allocations: 70.83 kB / 1.352 GB, free: 8.082 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00448/0.9898, allocations: 3.174 MB / 1.355 GB, free: 6.238 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.9902, allocations: 0.8259 MB / 1.356 GB, free: 5.527 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001855/0.9904, allocations: 41.19 kB / 1.356 GB, free: 5.512 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.9906, allocations: 129.8 kB / 1.356 GB, free: 5.414 MB / 1.061 GB Notification: Performance of SimCode: time 6.11e-07/0.9906, allocations: 0 / 1.356 GB, free: 5.414 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03493/1.025, allocations: 7.863 MB / 1.364 GB, free: 4.055 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.997/10.02, allocations: 26.97 kB / 1.364 GB, free: 4.035 MB / 1.061 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=800 --tolerance=1e-06 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: 16.860500290989876] Failed to read output from testmodel.py, exit status != 0: 10.211044238007162 10.224887093 9.248187647 Calling exit ...