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.001711/0.001711, allocations: 119 kB / 19.69 MB, free: 2.199 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.002114/0.002114, allocations: 221.8 kB / 23.01 MB, free: 5.043 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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 7.98 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 0.9824/0.9824, allocations: 150 MB / 463.2 MB, free: 10.47 MB / 366.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.002093/0.002093, allocations: 67.42 kB / 0.6412 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1943, allocations: 89.17 MB / 0.7283 GB, free: 1.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.6849/0.8792, allocations: 187.1 MB / 0.9111 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.009597/0.8888, allocations: 4.903 MB / 0.9159 GB, free: 7.219 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.8902, allocations: 47.56 kB / 0.9159 GB, free: 7.172 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001569/0.8918, allocations: 453.4 kB / 0.9163 GB, free: 6.727 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00481/0.8966, allocations: 1.494 MB / 0.9178 GB, free: 5.227 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002654/0.8992, allocations: 0.8155 MB / 0.9186 GB, free: 4.418 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003271/0.9025, allocations: 1.889 MB / 0.9204 GB, free: 2.523 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009016/0.9034, allocations: 469 kB / 0.9209 GB, free: 2.051 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003369/0.9068, allocations: 1.14 MB / 0.922 GB, free: 0.9062 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001637/0.9084, allocations: 0.5771 MB / 0.9226 GB, free: 344 kB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001463/0.9086, allocations: 56 kB / 0.9226 GB, free: 288 kB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003212/0.9118, allocations: 1.489 MB / 0.9241 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004009/0.9122, allocations: 275.1 kB / 0.9243 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.000613/0.9128, allocations: 402.1 kB / 0.9247 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003856/0.9166, allocations: 1.425 MB / 0.9261 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.9166, allocations: 0 / 0.9261 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.294e-06/0.9166, allocations: 4 kB / 0.9261 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.054e-05/0.9167, allocations: 0 / 0.9261 GB, free: 12.69 MB / 0.7012 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.003001/0.9197, allocations: 1.052 MB / 0.9271 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 6.736e-05/0.9197, allocations: 12.03 kB / 0.9272 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001762/0.9199, allocations: 86.52 kB / 0.9272 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002222/0.9221, allocations: 215.2 kB / 0.9274 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001942/0.9241, allocations: 0.56 MB / 0.928 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.999e-05/0.9242, allocations: 40.98 kB / 0.928 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.9243, allocations: 44 kB / 0.9281 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.9259, allocations: 0.4944 MB / 0.9286 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.9259, allocations: 4 kB / 0.9286 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.642e-05/0.926, allocations: 20 kB / 0.9286 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.871e-05/0.926, allocations: 20.94 kB / 0.9286 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.9273, allocations: 431.7 kB / 0.929 GB, free: 9.648 MB / 0.7012 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.004897/0.9322, allocations: 2.041 MB / 0.931 GB, free: 7.418 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.9332, allocations: 337.5 kB / 0.9313 GB, free: 7.082 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005395/0.9337, allocations: 189.3 kB / 0.9315 GB, free: 6.895 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003232/0.9341, allocations: 40.25 kB / 0.9315 GB, free: 6.855 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.3e-05/0.9341, allocations: 42.78 kB / 0.9316 GB, free: 6.805 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=33): time 3.426e-06/0.9341, allocations: 7.938 kB / 0.9316 GB, free: 6.797 MB / 0.7012 GB Notification: Performance of matching and sorting (n=33): time 0.002107/0.9362, allocations: 0.5382 MB / 0.9321 GB, free: 6.254 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.377e-05/0.9363, allocations: 63.33 kB / 0.9322 GB, free: 6.18 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.9373, allocations: 0.5147 MB / 0.9327 GB, free: 5.656 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-05/0.9374, allocations: 37.7 kB / 0.9327 GB, free: 5.613 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003739/0.9378, allocations: 304.6 kB / 0.933 GB, free: 5.312 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/0.938, allocations: 130.8 kB / 0.9331 GB, free: 5.184 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.9382, allocations: 66.03 kB / 0.9332 GB, free: 5.113 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002524/0.9384, allocations: 366.8 kB / 0.9335 GB, free: 4.746 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004641/0.9389, allocations: 142.1 kB / 0.9337 GB, free: 4.605 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005882/0.9395, allocations: 219.6 kB / 0.9339 GB, free: 4.367 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.9406, allocations: 348.7 kB / 0.9342 GB, free: 4.016 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.9406, allocations: 0 / 0.9342 GB, free: 4.016 MB / 0.7012 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001494/0.9421, allocations: 429 kB / 0.9346 GB, free: 3.59 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.9421, allocations: 4 kB / 0.9346 GB, free: 3.586 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.9421, allocations: 0 / 0.9346 GB, free: 3.586 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.744e-05/0.9421, allocations: 7.938 kB / 0.9346 GB, free: 3.578 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006707/0.9428, allocations: 75.52 kB / 0.9347 GB, free: 3.508 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.9428, allocations: 4.094 kB / 0.9347 GB, free: 3.504 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009375/0.9438, allocations: 43.77 kB / 0.9348 GB, free: 3.461 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.101e-05/0.9438, allocations: 8 kB / 0.9348 GB, free: 3.453 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009079/0.9447, allocations: 308 kB / 0.9351 GB, free: 3.148 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006413/0.9454, allocations: 219.3 kB / 0.9353 GB, free: 2.91 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001092/0.9465, allocations: 327.3 kB / 0.9356 GB, free: 2.578 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.116e-06/0.9465, allocations: 0 / 0.9356 GB, free: 2.578 MB / 0.7012 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001502/0.948, allocations: 428.9 kB / 0.936 GB, free: 2.152 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.948, allocations: 11.98 kB / 0.936 GB, free: 2.141 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.948, allocations: 0 / 0.936 GB, free: 2.141 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.374e-06/0.948, allocations: 0 / 0.936 GB, free: 2.141 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006449/0.9487, allocations: 75.84 kB / 0.9361 GB, free: 2.066 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.9487, allocations: 4 kB / 0.9361 GB, free: 2.062 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008952/0.9496, allocations: 31.83 kB / 0.9361 GB, free: 2.031 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-05/0.9496, allocations: 20.08 kB / 0.9361 GB, free: 2.012 MB / 0.7012 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.0002774/0.9499, allocations: 196.2 kB / 0.9363 GB, free: 1.812 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002221/0.9501, allocations: 59.62 kB / 0.9364 GB, free: 1.754 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.9517, allocations: 432.4 kB / 0.9368 GB, free: 1.324 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.9517, allocations: 4 kB / 0.9368 GB, free: 1.32 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.9517, allocations: 0 / 0.9368 GB, free: 1.32 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001076/0.9527, allocations: 437.6 kB / 0.9372 GB, free: 0.8633 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003483/0.9562, allocations: 1.151 MB / 0.9383 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.9562, allocations: 3.938 kB / 0.9383 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007025/0.9569, allocations: 83.89 kB / 0.9384 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.311e-05/0.9569, allocations: 7.938 kB / 0.9384 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.303e-05/0.957, allocations: 11.98 kB / 0.9384 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-06/0.957, allocations: 4 kB / 0.9384 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/0.957, allocations: 4 kB / 0.9384 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/0.959, allocations: 0.7152 MB / 0.9391 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005539/0.9595, allocations: 103.6 kB / 0.9392 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.9597, allocations: 8 kB / 0.9392 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008174/0.9605, allocations: 23.97 kB / 0.9393 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.9606, allocations: 31.83 kB / 0.9393 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.625e-05/0.9607, allocations: 17.12 kB / 0.9393 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008023/0.9615, allocations: 362.8 kB / 0.9397 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9615, allocations: 4 kB / 0.9397 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001724/0.9632, allocations: 319.5 kB / 0.94 GB, free: 13.93 MB / 0.7169 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.00292/0.9661, allocations: 1.318 MB / 0.9413 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001864/0.968, allocations: 0.4919 MB / 0.9417 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/0.968, allocations: 8 kB / 0.9417 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005545/0.9686, allocations: 171.8 kB / 0.9419 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/0.9719, allocations: 351.5 kB / 0.9422 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01278/0.9846, allocations: 4.673 MB / 0.9468 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009526/0.9856, allocations: 0.9373 MB / 0.9477 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001139/0.9867, allocations: 188.7 kB / 0.9479 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006268/0.9874, allocations: 223.4 kB / 0.9481 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of SimCode: time 1.643e-06/0.9874, allocations: 0 / 0.9481 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07674/1.064, allocations: 17.24 MB / 0.965 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/13.14, allocations: 5.359 kB / 0.965 GB, free: 4.457 MB / 0.7325 GB " [Timeout remaining time 647] (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: 17.11823823300074] Failed to read output from testmodel.py, exit status != 0: 13.25114554800166 13.266823857 12.346754447 Calling exit ...