Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.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.001342/0.001342, allocations: 114.5 kB / 17.13 MB, free: 6.027 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.002146/0.002146, allocations: 207.2 kB / 20.1 MB, free: 3.074 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.553/1.553, 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/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.041/1.041, allocations: 150 MB / 459.5 MB, free: 5.297 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Delays.Examples.Delay,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Delays.Examples.Delay,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002078/0.002078, allocations: 67.45 kB / 0.6361 GB, free: 30.51 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1961, allocations: 89.13 MB / 0.7231 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.7556/0.9517, allocations: 186.8 MB / 0.9056 GB, free: 2.598 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01157/0.9633, allocations: 4.891 MB / 0.9104 GB, free: 2.449 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002148/0.9654, allocations: 44.28 kB / 0.9104 GB, free: 2.449 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002132/0.9675, allocations: 448 kB / 0.9108 GB, free: 2.445 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006695/0.9742, allocations: 1.468 MB / 0.9123 GB, free: 2.375 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003501/0.9777, allocations: 0.792 MB / 0.913 GB, free: 2.348 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004067/0.9818, allocations: 1.847 MB / 0.9148 GB, free: 2.34 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001421/0.9832, allocations: 0.4987 MB / 0.9153 GB, free: 2.289 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004267/0.9875, allocations: 1.123 MB / 0.9164 GB, free: 2.273 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002345/0.9898, allocations: 0.5638 MB / 0.917 GB, free: 2.273 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003289/0.9902, allocations: 58.97 kB / 0.917 GB, free: 2.273 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004766/0.9949, allocations: 1.471 MB / 0.9185 GB, free: 2.254 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007082/0.9956, allocations: 275.6 kB / 0.9187 GB, free: 2.25 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001196/0.9968, allocations: 402.5 kB / 0.9191 GB, free: 2.148 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004599/1.001, allocations: 1.429 MB / 0.9205 GB, free: 1.965 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/1.001, allocations: 2.125 kB / 0.9205 GB, free: 1.965 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.246e-06/1.001, allocations: 0 / 0.9205 GB, free: 1.965 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.169e-05/1.001, allocations: 3.938 kB / 0.9205 GB, free: 1.961 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.003371/1.005, allocations: 1.123 MB / 0.9216 GB, free: 17.26 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/1.005, allocations: 10.84 kB / 0.9216 GB, free: 17.26 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002065/1.005, allocations: 89.28 kB / 0.9217 GB, free: 17.22 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002126/1.007, allocations: 217.6 kB / 0.9219 GB, free: 17.17 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/1.009, allocations: 0.621 MB / 0.9225 GB, free: 16.88 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.216e-05/1.009, allocations: 36.38 kB / 0.9226 GB, free: 16.88 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/1.009, allocations: 47.16 kB / 0.9226 GB, free: 16.88 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/1.011, allocations: 0.4923 MB / 0.9231 GB, free: 16.83 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/1.011, allocations: 0 / 0.9231 GB, free: 16.83 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-05/1.011, allocations: 19 kB / 0.9231 GB, free: 16.83 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.982e-05/1.011, allocations: 21.25 kB / 0.9231 GB, free: 16.82 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/1.012, allocations: 439.9 kB / 0.9235 GB, free: 16.82 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004339/1.016, allocations: 2.093 MB / 0.9256 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008858/1.017, allocations: 327.3 kB / 0.9259 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004843/1.018, allocations: 202.8 kB / 0.9261 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00043/1.018, allocations: 195.9 kB / 0.9263 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/1.018, allocations: 39.31 kB / 0.9263 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=33): time 2.936e-06/1.018, allocations: 4 kB / 0.9263 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of matching and sorting (n=33): time 0.001841/1.02, allocations: 0.5407 MB / 0.9269 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/1.02, allocations: 57.44 kB / 0.9269 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009216/1.021, allocations: 0.5105 MB / 0.9274 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.229e-05/1.021, allocations: 39.42 kB / 0.9274 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003235/1.021, allocations: 308.3 kB / 0.9277 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/1.021, allocations: 125.5 kB / 0.9279 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/1.022, allocations: 65.98 kB / 0.9279 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002371/1.022, allocations: 370.5 kB / 0.9283 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003862/1.022, allocations: 140.6 kB / 0.9284 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004528/1.023, allocations: 223.4 kB / 0.9286 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008074/1.023, allocations: 343 kB / 0.9289 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/1.024, allocations: 0 / 0.9289 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001129/1.025, allocations: 430.2 kB / 0.9294 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/1.025, allocations: 4.719 kB / 0.9294 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/1.025, allocations: 3.219 kB / 0.9294 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/1.025, allocations: 6.969 kB / 0.9294 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000502/1.025, allocations: 71.3 kB / 0.9294 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/1.025, allocations: 6.562 kB / 0.9294 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007707/1.026, allocations: 38.19 kB / 0.9295 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.124e-05/1.026, allocations: 14.66 kB / 0.9295 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006505/1.027, allocations: 304.7 kB / 0.9298 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004243/1.027, allocations: 214.7 kB / 0.93 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000758/1.028, allocations: 330.3 kB / 0.9303 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.476e-06/1.028, allocations: 2.5 kB / 0.9303 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001074/1.029, allocations: 430.2 kB / 0.9307 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/1.029, allocations: 6.688 kB / 0.9307 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/1.029, allocations: 2.906 kB / 0.9307 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/1.029, allocations: 2.125 kB / 0.9307 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/1.029, allocations: 79.75 kB / 0.9308 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/1.029, allocations: 3.938 kB / 0.9308 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007407/1.03, allocations: 34.75 kB / 0.9308 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/1.03, allocations: 17.69 kB / 0.9309 GB, free: 14.1 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.000238/1.03, allocations: 196.9 kB / 0.931 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/1.031, allocations: 63.06 kB / 0.9311 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/1.032, allocations: 424.5 kB / 0.9315 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/1.032, allocations: 7.531 kB / 0.9315 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.032, allocations: 0 / 0.9315 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009267/1.033, allocations: 439.5 kB / 0.9319 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002046/1.035, allocations: 1.176 MB / 0.9331 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/1.035, allocations: 2.812 kB / 0.9331 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004181/1.035, allocations: 84.98 kB / 0.9332 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/1.035, allocations: 4.469 kB / 0.9332 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/1.035, allocations: 6.906 kB / 0.9332 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/1.035, allocations: 6.016 kB / 0.9332 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/1.035, allocations: 2.344 kB / 0.9332 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/1.036, allocations: 0.7147 MB / 0.9339 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003101/1.037, allocations: 180.8 kB / 0.9341 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/1.037, allocations: 12.55 kB / 0.9341 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005009/1.037, allocations: 24.66 kB / 0.9341 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/1.037, allocations: 26.56 kB / 0.9341 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/1.037, allocations: 16.86 kB / 0.9341 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004716/1.038, allocations: 369 kB / 0.9345 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9.1e-08/1.038, allocations: 4 kB / 0.9345 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001066/1.039, allocations: 327 kB / 0.9348 GB, free: 12.8 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.001832/1.041, allocations: 1.313 MB / 0.9361 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001092/1.042, allocations: 0.4894 MB / 0.9366 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.042, allocations: 9.188 kB / 0.9366 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003116/1.042, allocations: 169 kB / 0.9367 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/1.044, allocations: 358.5 kB / 0.9371 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009067/1.053, allocations: 4.686 MB / 0.9417 GB, free: 9.461 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000919/1.054, allocations: 0.9301 MB / 0.9426 GB, free: 8.738 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009029/1.055, allocations: 191.4 kB / 0.9427 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004312/1.055, allocations: 216 kB / 0.9429 GB, free: 8.543 MB / 0.6856 GB Notification: Performance of SimCode: time 1.302e-06/1.055, allocations: 0 / 0.9429 GB, free: 8.543 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06051/1.116, allocations: 16.91 MB / 0.9595 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.185/10.3, allocations: 18.23 kB / 0.9595 GB, free: 14.79 MB / 0.7012 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.12 IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay.fmu > IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.412905493052676] Failed to read output from testmodel.py, exit status != 0: 10.384787073126063 10.400798644 9.39596252 Calling exit ...