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.001606/0.001606, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001537/0.001537, allocations: 213.5 kB / 22.99 MB, free: 4.605 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.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.005/1.005, allocations: 149.9 MB / 463 MB, free: 10.33 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.002363/0.002363, allocations: 73.92 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1835, allocations: 89.17 MB / 0.7281 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.5526/0.736, allocations: 162 MB / 0.8863 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008796/0.7448, allocations: 4.575 MB / 0.8908 GB, free: 14.65 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000777/0.7456, allocations: 43.62 kB / 0.8908 GB, free: 14.61 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.7469, allocations: 413.4 kB / 0.8912 GB, free: 14.2 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003683/0.7506, allocations: 1.47 MB / 0.8926 GB, free: 12.73 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001999/0.7526, allocations: 0.7924 MB / 0.8934 GB, free: 11.94 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002486/0.755, allocations: 1.879 MB / 0.8952 GB, free: 10.05 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007793/0.7558, allocations: 465 kB / 0.8957 GB, free: 9.59 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002262/0.7581, allocations: 1.133 MB / 0.8968 GB, free: 8.453 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00123/0.7593, allocations: 0.5438 MB / 0.8973 GB, free: 7.91 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.7594, allocations: 63.94 kB / 0.8974 GB, free: 7.848 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002314/0.7617, allocations: 1.142 MB / 0.8985 GB, free: 6.703 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003132/0.7621, allocations: 275.1 kB / 0.8988 GB, free: 6.434 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000428/0.7625, allocations: 330.5 kB / 0.8991 GB, free: 6.109 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002041/0.7645, allocations: 1.405 MB / 0.9004 GB, free: 4.699 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7645, allocations: 4 kB / 0.9005 GB, free: 4.695 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7645, allocations: 0 / 0.9005 GB, free: 4.695 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.465e-05/0.7645, allocations: 0 / 0.9005 GB, free: 4.695 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.001809/0.7664, allocations: 1.048 MB / 0.9015 GB, free: 3.613 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.7664, allocations: 8.031 kB / 0.9015 GB, free: 3.605 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/0.7665, allocations: 94.45 kB / 0.9016 GB, free: 3.504 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.7677, allocations: 219.2 kB / 0.9018 GB, free: 3.289 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.7688, allocations: 0.5601 MB / 0.9023 GB, free: 2.699 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/0.7689, allocations: 33 kB / 0.9024 GB, free: 2.664 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.769, allocations: 48 kB / 0.9024 GB, free: 2.617 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.77, allocations: 0.6373 MB / 0.903 GB, free: 1.934 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.77, allocations: 3.984 kB / 0.903 GB, free: 1.93 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.915e-05/0.7701, allocations: 20 kB / 0.9031 GB, free: 1.91 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.887e-05/0.7701, allocations: 20.94 kB / 0.9031 GB, free: 1.891 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008279/0.7709, allocations: 439.7 kB / 0.9035 GB, free: 1.461 MB / 0.67 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.002605/0.7735, allocations: 1.32 MB / 0.9048 GB, free: 96 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006722/0.7742, allocations: 335.5 kB / 0.9051 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003502/0.7746, allocations: 200.6 kB / 0.9053 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002235/0.7748, allocations: 36.25 kB / 0.9053 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.7748, allocations: 38.84 kB / 0.9054 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=33): time 1.754e-06/0.7748, allocations: 0 / 0.9054 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of matching and sorting (n=33): time 0.001332/0.7761, allocations: 0.546 MB / 0.9059 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.7762, allocations: 59.34 kB / 0.906 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006439/0.7768, allocations: 0.5108 MB / 0.9065 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.598e-05/0.7769, allocations: 37.7 kB / 0.9065 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002724/0.7771, allocations: 304.6 kB / 0.9068 GB, free: 14 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.7773, allocations: 126.9 kB / 0.9069 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.7774, allocations: 66.03 kB / 0.907 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001915/0.7776, allocations: 370.8 kB / 0.9073 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.7779, allocations: 142.1 kB / 0.9075 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004848/0.7784, allocations: 369.9 kB / 0.9078 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006134/0.779, allocations: 345.6 kB / 0.9081 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.779, allocations: 4 kB / 0.9081 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007829/0.7798, allocations: 429 kB / 0.9085 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.7798, allocations: 4 kB / 0.9086 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.7798, allocations: 4 kB / 0.9086 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.7798, allocations: 3.938 kB / 0.9086 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/0.7802, allocations: 71.91 kB / 0.9086 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.7802, allocations: 5.094 kB / 0.9086 GB, free: 12 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004732/0.7806, allocations: 46.97 kB / 0.9087 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/0.7807, allocations: 12 kB / 0.9087 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004838/0.7812, allocations: 308 kB / 0.909 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004317/0.7816, allocations: 365.6 kB / 0.9093 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000597/0.7822, allocations: 343.2 kB / 0.9097 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.262e-06/0.7822, allocations: 4 kB / 0.9097 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007546/0.7829, allocations: 428.8 kB / 0.9101 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.783, allocations: 4 kB / 0.9101 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.783, allocations: 4 kB / 0.9101 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.258e-06/0.783, allocations: 0 / 0.9101 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.7833, allocations: 75.83 kB / 0.9102 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.7833, allocations: 5.562 kB / 0.9102 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004522/0.7838, allocations: 39.92 kB / 0.9102 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.7838, allocations: 8 kB / 0.9102 GB, free: 10.32 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.0001805/0.784, allocations: 204.1 kB / 0.9104 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.7841, allocations: 59.62 kB / 0.9105 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008363/0.7849, allocations: 423 kB / 0.9109 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.7849, allocations: 4 kB / 0.9109 GB, free: 9.625 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.7849, allocations: 0 / 0.9109 GB, free: 9.625 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006666/0.7856, allocations: 441.6 kB / 0.9113 GB, free: 9.164 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/0.7875, allocations: 1.069 MB / 0.9123 GB, free: 8.027 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.7875, allocations: 0 / 0.9123 GB, free: 8.027 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004171/0.7879, allocations: 92.08 kB / 0.9124 GB, free: 7.938 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.7879, allocations: 0 / 0.9124 GB, free: 7.938 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.788, allocations: 12 kB / 0.9124 GB, free: 7.926 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.788, allocations: 0 / 0.9124 GB, free: 7.926 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.788, allocations: 7.938 kB / 0.9124 GB, free: 7.918 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.7891, allocations: 0.7074 MB / 0.9131 GB, free: 7.176 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/0.7894, allocations: 107.6 kB / 0.9132 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.315e-05/0.7895, allocations: 11.98 kB / 0.9132 GB, free: 7.059 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004623/0.7899, allocations: 23.73 kB / 0.9133 GB, free: 7.039 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/0.79, allocations: 31.83 kB / 0.9133 GB, free: 7.008 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.442e-05/0.79, allocations: 19.98 kB / 0.9133 GB, free: 6.988 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004626/0.7905, allocations: 366.8 kB / 0.9137 GB, free: 6.633 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.7905, allocations: 0 / 0.9137 GB, free: 6.633 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008459/0.7913, allocations: 327.3 kB / 0.914 GB, free: 6.312 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.001677/0.793, allocations: 1.322 MB / 0.9153 GB, free: 4.945 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001049/0.7941, allocations: 0.4915 MB / 0.9157 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7941, allocations: 0 / 0.9157 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.7944, allocations: 172.5 kB / 0.9159 GB, free: 4.285 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.796, allocations: 352.8 kB / 0.9162 GB, free: 3.957 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006595/0.8026, allocations: 4.685 MB / 0.9208 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.8029, allocations: 340.5 kB / 0.9211 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0005896/0.8035, allocations: 188.8 kB / 0.9213 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003289/0.8039, allocations: 219.4 kB / 0.9215 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of SimCode: time 7.51e-07/0.8039, allocations: 0 / 0.9215 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05423/0.8581, allocations: 18.77 MB / 0.9399 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.84, allocations: 6.906 kB / 0.9399 GB, free: 12.05 MB / 0.7169 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: 16.861711984034628] Failed to read output from testmodel.py, exit status != 0: 12.965881699230522 12.985185568 12.21723123 Calling exit ...