Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001259/0.001259, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001536/0.001536, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.389/1.389, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8309/0.8309, allocations: 134 MB / 446.4 MB, free: 10.37 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Delays.Examples.Delay,fileNamePrefix="IDEAS_IDEAS_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Delays.Examples.Delay,fileNamePrefix="IDEAS_IDEAS_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001943/0.001943, allocations: 63.59 kB / 0.6185 GB, free: 6.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1626, allocations: 85.91 MB / 0.7024 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.547/0.7096, allocations: 161.9 MB / 0.8605 GB, free: 1.305 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008031/0.7176, allocations: 4.567 MB / 0.8649 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009657/0.7186, allocations: 43.62 kB / 0.865 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.7199, allocations: 421.5 kB / 0.8654 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003752/0.7237, allocations: 1.462 MB / 0.8668 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002065/0.7257, allocations: 0.7878 MB / 0.8676 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002577/0.7283, allocations: 1.879 MB / 0.8694 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008555/0.7292, allocations: 471.4 kB / 0.8699 GB, free: 7.668 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002162/0.7313, allocations: 0.9184 MB / 0.8708 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001527/0.7328, allocations: 0.5535 MB / 0.8713 GB, free: 6.195 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002154/0.7331, allocations: 64 kB / 0.8714 GB, free: 6.133 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002536/0.7356, allocations: 1.169 MB / 0.8725 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004087/0.736, allocations: 275.1 kB / 0.8728 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000637/0.7366, allocations: 330.5 kB / 0.8731 GB, free: 4.367 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002577/0.7392, allocations: 1.401 MB / 0.8744 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.7392, allocations: 0 / 0.8744 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of FrontEnd: time 4.107e-06/0.7392, allocations: 3.984 kB / 0.8745 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.049e-05/0.7393, allocations: 3.938 kB / 0.8745 GB, free: 2.953 MB / 0.6387 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.001832/0.7411, allocations: 1.052 MB / 0.8755 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.7411, allocations: 8.031 kB / 0.8755 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001049/0.7412, allocations: 90.52 kB / 0.8756 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/0.7424, allocations: 219.2 kB / 0.8758 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.7435, allocations: 0.5406 MB / 0.8763 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/0.7435, allocations: 37 kB / 0.8763 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.333e-05/0.7436, allocations: 47.98 kB / 0.8764 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000928/0.7445, allocations: 0.6489 MB / 0.877 GB, free: 208 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.7445, allocations: 3.984 kB / 0.877 GB, free: 204 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.076e-05/0.7446, allocations: 27.92 kB / 0.8771 GB, free: 176 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/0.7446, allocations: 17 kB / 0.8771 GB, free: 160 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000786/0.7454, allocations: 431.8 kB / 0.8775 GB, free: 15.73 MB / 0.6544 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.002437/0.7478, allocations: 1.309 MB / 0.8788 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005645/0.7484, allocations: 327.5 kB / 0.8791 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003293/0.7487, allocations: 196.5 kB / 0.8793 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002146/0.7489, allocations: 36.27 kB / 0.8793 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.749, allocations: 42.78 kB / 0.8793 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 1.743e-06/0.749, allocations: 0 / 0.8793 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.001229/0.7502, allocations: 0.5463 MB / 0.8799 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.7502, allocations: 55.41 kB / 0.8799 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006067/0.7509, allocations: 0.503 MB / 0.8804 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.7509, allocations: 37.7 kB / 0.8805 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.7511, allocations: 312.6 kB / 0.8808 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.7512, allocations: 122.9 kB / 0.8809 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.7514, allocations: 73.97 kB / 0.8809 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.7515, allocations: 362.8 kB / 0.8813 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.7518, allocations: 141.7 kB / 0.8814 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004429/0.7522, allocations: 408.4 kB / 0.8818 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005868/0.7528, allocations: 335.7 kB / 0.8821 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.7528, allocations: 0 / 0.8821 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007404/0.7536, allocations: 436.8 kB / 0.8825 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.7536, allocations: 4 kB / 0.8826 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.7536, allocations: 3.938 kB / 0.8826 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.7536, allocations: 4.094 kB / 0.8826 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003379/0.754, allocations: 71.91 kB / 0.8826 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.754, allocations: 0 / 0.8826 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000462/0.7544, allocations: 43.81 kB / 0.8827 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.7544, allocations: 8 kB / 0.8827 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004542/0.7549, allocations: 304 kB / 0.883 GB, free: 9.918 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004437/0.7553, allocations: 408 kB / 0.8834 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005611/0.7559, allocations: 339.3 kB / 0.8837 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.253e-06/0.7559, allocations: 0 / 0.8837 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007767/0.7567, allocations: 428.7 kB / 0.8841 GB, free: 8.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.228e-06/0.7567, allocations: 4 kB / 0.8841 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-06/0.7567, allocations: 4.094 kB / 0.8841 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.971e-06/0.7567, allocations: 7.938 kB / 0.8841 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.757, allocations: 67.89 kB / 0.8842 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.757, allocations: 4 kB / 0.8842 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004201/0.7574, allocations: 31.88 kB / 0.8842 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.7575, allocations: 16 kB / 0.8842 GB, free: 8.547 MB / 0.6544 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.0001517/0.7576, allocations: 200.1 kB / 0.8844 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.7577, allocations: 63.62 kB / 0.8845 GB, free: 8.281 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008011/0.7585, allocations: 429.5 kB / 0.8849 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.7585, allocations: 4 kB / 0.8849 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.7585, allocations: 3.984 kB / 0.8849 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006319/0.7592, allocations: 428.3 kB / 0.8853 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.7609, allocations: 1.072 MB / 0.8863 GB, free: 6.258 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.7609, allocations: 4 kB / 0.8863 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004056/0.7613, allocations: 79.89 kB / 0.8864 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.7614, allocations: 4 kB / 0.8864 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/0.7614, allocations: 12 kB / 0.8864 GB, free: 6.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.7614, allocations: 4.75 kB / 0.8864 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.7614, allocations: 11.92 kB / 0.8865 GB, free: 6.145 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.7625, allocations: 0.7228 MB / 0.8872 GB, free: 5.387 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.7628, allocations: 107.6 kB / 0.8873 GB, free: 5.281 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.189e-05/0.7628, allocations: 8 kB / 0.8873 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004373/0.7633, allocations: 26.55 kB / 0.8873 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.052e-05/0.7634, allocations: 31.83 kB / 0.8873 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.7634, allocations: 19.19 kB / 0.8873 GB, free: 5.203 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000435/0.7638, allocations: 362.8 kB / 0.8877 GB, free: 4.852 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.7638, allocations: 0 / 0.8877 GB, free: 4.852 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008017/0.7646, allocations: 331.3 kB / 0.888 GB, free: 4.527 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.U,del.dynBal.m,del.dynBal.mXi[1]) * 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.001586/0.7662, allocations: 1.346 MB / 0.8893 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009592/0.7672, allocations: 491.8 kB / 0.8898 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7672, allocations: 0 / 0.8898 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003025/0.7675, allocations: 175.9 kB / 0.89 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/0.769, allocations: 362.6 kB / 0.8903 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006176/0.7752, allocations: 4.635 MB / 0.8948 GB, free: 13.38 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.7755, allocations: 340.4 kB / 0.8952 GB, free: 13.02 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000552/0.7761, allocations: 180.8 kB / 0.8953 GB, free: 12.84 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/0.7764, allocations: 219.4 kB / 0.8955 GB, free: 12.62 MB / 0.67 GB Notification: Performance of SimCode: time 5.51e-07/0.7764, allocations: 0 / 0.8955 GB, free: 12.62 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04941/0.8258, allocations: 18.79 MB / 0.9139 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.9, allocations: 10.11 kB / 0.9139 GB, free: 10.25 MB / 0.6856 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe ; mkfifo IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe >> ../files/IDEAS_IDEAS.Fluid.Delays.Examples.Delay.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Delays_Examples_Delay.fmu > IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.470252329017967] Failed to read output from testmodel.py, exit status != 0: 12.010149828158319 12.026762786 11.284479017 Calling exit ...