Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001134/0.001134, allocations: 108.3 kB / 19.73 MB, free: 420 kB / 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.001558/0.001558, allocations: 208.7 kB / 23.02 MB, free: 2.973 MB / 13.93 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.9729/0.9729, allocations: 230.6 MB / 256.8 MB, free: 9.559 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.864/1.864, allocations: 0.5045 GB / 0.8104 GB, free: 2.766 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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_13_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_13_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009029/0.0009029, allocations: 73.66 kB / 1.177 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3158, allocations: 180 MB / 1.352 GB, free: 9.152 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003222/0.319, allocations: 2.22 MB / 1.355 GB, free: 6.914 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001551/0.3206, allocations: 1.502 MB / 1.356 GB, free: 5.406 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.3207, allocations: 7.938 kB / 1.356 GB, free: 5.398 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004787/0.3212, allocations: 175.6 kB / 1.356 GB, free: 5.227 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003576/0.3215, allocations: 179.1 kB / 1.356 GB, free: 5.051 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.3218, allocations: 139.6 kB / 1.357 GB, free: 4.914 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.322, allocations: 279 kB / 1.357 GB, free: 4.641 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.3222, allocations: 36.91 kB / 1.357 GB, free: 4.605 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.3223, allocations: 115.5 kB / 1.357 GB, free: 4.492 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.3224, allocations: 111.4 kB / 1.357 GB, free: 4.383 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.3224, allocations: 16 kB / 1.357 GB, free: 4.367 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.682e-05/0.3225, allocations: 55.92 kB / 1.357 GB, free: 4.312 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 7.977e-05/0.3226, allocations: 103.7 kB / 1.357 GB, free: 4.211 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 7.143e-05/0.3227, allocations: 111 kB / 1.357 GB, free: 4.102 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003166/0.323, allocations: 406.1 kB / 1.358 GB, free: 3.703 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.323, allocations: 0 / 1.358 GB, free: 3.703 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.653e-06/0.323, allocations: 0 / 1.358 GB, free: 3.703 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.323, allocations: 4 kB / 1.358 GB, free: 3.699 MB / 1.042 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.0007293/0.3237, allocations: 0.6569 MB / 1.358 GB, free: 3.012 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3238, allocations: 8.922 kB / 1.358 GB, free: 3.004 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.692e-05/0.3238, allocations: 42.73 kB / 1.358 GB, free: 2.953 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.249e-05/0.3239, allocations: 52.61 kB / 1.358 GB, free: 2.902 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.3242, allocations: 353.3 kB / 1.359 GB, free: 2.527 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.3243, allocations: 12.12 kB / 1.359 GB, free: 2.516 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.3243, allocations: 15.94 kB / 1.359 GB, free: 2.5 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.3244, allocations: 122 kB / 1.359 GB, free: 2.371 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.3245, allocations: 0 / 1.359 GB, free: 2.371 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.3245, allocations: 0 / 1.359 GB, free: 2.371 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3245, allocations: 4 kB / 1.359 GB, free: 2.367 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.254e-05/0.3246, allocations: 55.97 kB / 1.359 GB, free: 2.312 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000531/0.3251, allocations: 439.6 kB / 1.359 GB, free: 1.84 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.3252, allocations: 90.7 kB / 1.36 GB, free: 1.742 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.267e-05/0.3253, allocations: 36.84 kB / 1.36 GB, free: 1.703 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.3253, allocations: 3.938 kB / 1.36 GB, free: 1.699 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.3255, allocations: 109.1 kB / 1.36 GB, free: 1.574 MB / 1.042 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.3255, allocations: 0 / 1.36 GB, free: 1.574 MB / 1.042 GB Notification: Performance of matching and sorting (n=9): time 0.0002516/0.3257, allocations: 181.2 kB / 1.36 GB, free: 1.391 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.3258, allocations: 55.41 kB / 1.36 GB, free: 1.324 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004865/0.3262, allocations: 0.5029 MB / 1.36 GB, free: 0.8086 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.3263, allocations: 33.69 kB / 1.36 GB, free: 0.7695 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.3264, allocations: 239.8 kB / 1.361 GB, free: 0.5312 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.3264, allocations: 27.78 kB / 1.361 GB, free: 0.5039 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-05/0.3265, allocations: 53.66 kB / 1.361 GB, free: 456 kB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.683e-05/0.3266, allocations: 358.8 kB / 1.361 GB, free: 88 kB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-05/0.3267, allocations: 47.97 kB / 1.361 GB, free: 40 kB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.842e-05/0.3268, allocations: 110.6 kB / 1.361 GB, free: 15.92 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.3269, allocations: 95.25 kB / 1.361 GB, free: 15.82 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3269, allocations: 3.938 kB / 1.361 GB, free: 15.82 MB / 1.057 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002025/0.3271, allocations: 217.2 kB / 1.362 GB, free: 15.6 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3271, allocations: 4 kB / 1.362 GB, free: 15.59 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3271, allocations: 4.062 kB / 1.362 GB, free: 15.59 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3271, allocations: 3.984 kB / 1.362 GB, free: 15.59 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.3272, allocations: 32.36 kB / 1.362 GB, free: 15.55 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3273, allocations: 8 kB / 1.362 GB, free: 15.55 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.252e-05/0.3273, allocations: 11.98 kB / 1.362 GB, free: 15.54 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.3273, allocations: 8 kB / 1.362 GB, free: 15.53 MB / 1.057 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.0001299/0.3275, allocations: 204.8 kB / 1.362 GB, free: 15.32 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.3275, allocations: 47.67 kB / 1.362 GB, free: 15.27 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001868/0.3277, allocations: 165.6 kB / 1.362 GB, free: 15.11 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3277, allocations: 4 kB / 1.362 GB, free: 15.1 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3277, allocations: 0 / 1.362 GB, free: 15.1 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3277, allocations: 0 / 1.362 GB, free: 15.1 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.3279, allocations: 280.5 kB / 1.362 GB, free: 14.79 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3279, allocations: 0 / 1.362 GB, free: 14.79 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.994e-05/0.3279, allocations: 12 kB / 1.362 GB, free: 14.77 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3279, allocations: 4 kB / 1.362 GB, free: 14.77 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.3279, allocations: 0 / 1.362 GB, free: 14.77 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3279, allocations: 0 / 1.362 GB, free: 14.77 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3279, allocations: 3.938 kB / 1.362 GB, free: 14.77 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.3281, allocations: 232.6 kB / 1.363 GB, free: 14.52 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.3282, allocations: 47.62 kB / 1.363 GB, free: 14.47 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.3282, allocations: 0 / 1.363 GB, free: 14.47 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.991e-05/0.3282, allocations: 8 kB / 1.363 GB, free: 14.46 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.3283, allocations: 15.97 kB / 1.363 GB, free: 14.45 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.3283, allocations: 4 kB / 1.363 GB, free: 14.45 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0002396/0.3285, allocations: 358.8 kB / 1.363 GB, free: 14.1 MB / 1.057 GB Notification: Performance of sort global known variables: time 7e-08/0.3285, allocations: 0 / 1.363 GB, free: 14.1 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0001889/0.3287, allocations: 51.92 kB / 1.363 GB, free: 14.05 MB / 1.057 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.0009879/0.3297, allocations: 1.101 MB / 1.364 GB, free: 13.1 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0001797/0.3299, allocations: 105.6 kB / 1.364 GB, free: 13 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.3299, allocations: 0 / 1.364 GB, free: 13 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 5.452e-05/0.3299, allocations: 43.86 kB / 1.364 GB, free: 12.96 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.3302, allocations: 64.89 kB / 1.364 GB, free: 12.9 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.3327, allocations: 3.166 MB / 1.367 GB, free: 9.648 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.3328, allocations: 220.8 kB / 1.368 GB, free: 9.41 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 8.15e-05/0.3329, allocations: 41.91 kB / 1.368 GB, free: 9.371 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.333, allocations: 135.4 kB / 1.368 GB, free: 9.238 MB / 1.057 GB Notification: Performance of SimCode: time 7.31e-07/0.333, allocations: 4 kB / 1.368 GB, free: 9.234 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08378/0.4168, allocations: 8.551 MB / 1.376 GB, free: 0.793 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.384/7.8, allocations: 2.844 kB / 1.376 GB, free: 0.793 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu) > Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_fmpy_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 ../Buildings_13_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu) > Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 12.982944777235389]