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.001819/0.001819, allocations: 102.5 kB / 16.45 MB, free: 6.449 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.001406/0.001406, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.423/1.423, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.8188/0.8188, allocations: 133.9 MB / 442.8 MB, free: 11.28 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.001856/0.001856, allocations: 65.56 kB / 0.6134 GB, free: 8.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1754, allocations: 85.84 MB / 0.6972 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.5726/0.7481, allocations: 186.8 MB / 0.8797 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008658/0.7567, allocations: 4.871 MB / 0.8844 GB, free: 8.703 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.7577, allocations: 47.56 kB / 0.8845 GB, free: 8.656 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.759, allocations: 457.3 kB / 0.8849 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003641/0.7626, allocations: 1.462 MB / 0.8863 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002097/0.7647, allocations: 0.7839 MB / 0.8871 GB, free: 5.965 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002485/0.7672, allocations: 1.848 MB / 0.8889 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007456/0.768, allocations: 0.5042 MB / 0.8894 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001775/0.7697, allocations: 0.9106 MB / 0.8903 GB, free: 2.68 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001207/0.7709, allocations: 0.5825 MB / 0.8908 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.965e-05/0.771, allocations: 60 kB / 0.8909 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003053/0.7741, allocations: 1.485 MB / 0.8923 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003587/0.7745, allocations: 279.1 kB / 0.8926 GB, free: 288 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000506/0.775, allocations: 402.1 kB / 0.893 GB, free: 15.88 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002419/0.7774, allocations: 1.429 MB / 0.8944 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.7774, allocations: 0 / 0.8944 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7774, allocations: 0 / 0.8944 GB, free: 14.45 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.7774, allocations: 4 kB / 0.8944 GB, free: 14.45 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.001861/0.7793, allocations: 1.132 MB / 0.8955 GB, free: 13.27 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.7793, allocations: 13.11 kB / 0.8955 GB, free: 13.25 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001493/0.7795, allocations: 90.45 kB / 0.8956 GB, free: 13.16 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.7808, allocations: 215.2 kB / 0.8958 GB, free: 12.95 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.7818, allocations: 0.6205 MB / 0.8964 GB, free: 12.29 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.648e-05/0.7818, allocations: 33 kB / 0.8964 GB, free: 12.25 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-05/0.7819, allocations: 52 kB / 0.8965 GB, free: 12.2 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008902/0.7828, allocations: 498.3 kB / 0.897 GB, free: 11.7 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.7828, allocations: 0 / 0.897 GB, free: 11.7 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.088e-05/0.7829, allocations: 19.94 kB / 0.897 GB, free: 11.68 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.32e-05/0.7829, allocations: 21 kB / 0.897 GB, free: 11.66 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008303/0.7838, allocations: 431.7 kB / 0.8974 GB, free: 11.24 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.002861/0.7866, allocations: 2.006 MB / 0.8994 GB, free: 9.062 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006034/0.7872, allocations: 327.5 kB / 0.8997 GB, free: 8.734 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003591/0.7876, allocations: 193.3 kB / 0.8999 GB, free: 8.543 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003275/0.7879, allocations: 194.5 kB / 0.9001 GB, free: 8.316 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.453e-05/0.7879, allocations: 42.84 kB / 0.9001 GB, free: 8.266 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 1.563e-06/0.7879, allocations: 0 / 0.9001 GB, free: 8.266 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.001315/0.7893, allocations: 0.5457 MB / 0.9006 GB, free: 7.715 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.7893, allocations: 55.41 kB / 0.9007 GB, free: 7.648 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006364/0.7899, allocations: 0.5069 MB / 0.9012 GB, free: 7.133 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/0.79, allocations: 37.7 kB / 0.9012 GB, free: 7.09 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002537/0.7902, allocations: 304.6 kB / 0.9015 GB, free: 6.789 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.7904, allocations: 119 kB / 0.9016 GB, free: 6.672 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.7905, allocations: 81.91 kB / 0.9017 GB, free: 6.586 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000201/0.7907, allocations: 362.8 kB / 0.902 GB, free: 6.223 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002865/0.791, allocations: 142.1 kB / 0.9022 GB, free: 6.082 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003698/0.7913, allocations: 224.5 kB / 0.9024 GB, free: 5.836 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000627/0.792, allocations: 336.1 kB / 0.9027 GB, free: 5.496 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.792, allocations: 0 / 0.9027 GB, free: 5.496 MB / 0.67 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007953/0.7928, allocations: 432.7 kB / 0.9031 GB, free: 5.066 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.7928, allocations: 4 kB / 0.9031 GB, free: 5.062 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.7928, allocations: 3.938 kB / 0.9031 GB, free: 5.059 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.7928, allocations: 4 kB / 0.9031 GB, free: 5.055 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000371/0.7932, allocations: 83.92 kB / 0.9032 GB, free: 4.973 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.7932, allocations: 0 / 0.9032 GB, free: 4.973 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004708/0.7937, allocations: 39.77 kB / 0.9033 GB, free: 4.934 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.7937, allocations: 12 kB / 0.9033 GB, free: 4.922 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004788/0.7942, allocations: 308 kB / 0.9036 GB, free: 4.617 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003474/0.7945, allocations: 211.6 kB / 0.9038 GB, free: 4.383 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005729/0.7951, allocations: 323.5 kB / 0.9041 GB, free: 4.055 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/0.7951, allocations: 0 / 0.9041 GB, free: 4.055 MB / 0.67 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000737/0.7958, allocations: 432.7 kB / 0.9045 GB, free: 3.625 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.7959, allocations: 9.547 kB / 0.9045 GB, free: 3.617 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.7959, allocations: 4 kB / 0.9045 GB, free: 3.613 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-06/0.7959, allocations: 7.875 kB / 0.9045 GB, free: 3.605 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.7962, allocations: 75.84 kB / 0.9046 GB, free: 3.531 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.7962, allocations: 2.672 kB / 0.9046 GB, free: 3.531 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004435/0.7966, allocations: 39.95 kB / 0.9046 GB, free: 3.492 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.7967, allocations: 12 kB / 0.9046 GB, free: 3.48 MB / 0.67 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.0001611/0.7968, allocations: 196.2 kB / 0.9048 GB, free: 3.281 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.7969, allocations: 63.62 kB / 0.9049 GB, free: 3.219 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008603/0.7978, allocations: 425.6 kB / 0.9053 GB, free: 2.797 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.7978, allocations: 4 kB / 0.9053 GB, free: 2.793 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.7978, allocations: 4 kB / 0.9053 GB, free: 2.789 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006737/0.7985, allocations: 432.2 kB / 0.9057 GB, free: 2.336 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/0.8003, allocations: 1.17 MB / 0.9068 GB, free: 1.09 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.8003, allocations: 4 kB / 0.9069 GB, free: 1.086 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004194/0.8008, allocations: 83.88 kB / 0.9069 GB, free: 1.004 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.8008, allocations: 4 kB / 0.9069 GB, free: 1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.8008, allocations: 8 kB / 0.9069 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.8008, allocations: 4 kB / 0.9069 GB, free: 0.9883 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.8008, allocations: 0 / 0.9069 GB, free: 0.9883 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.802, allocations: 0.7344 MB / 0.9077 GB, free: 224 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002295/0.8022, allocations: 184.6 kB / 0.9078 GB, free: 20 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.74e-05/0.8023, allocations: 12.88 kB / 0.9079 GB, free: 8 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004436/0.8027, allocations: 23.97 kB / 0.9079 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.172e-05/0.8028, allocations: 28 kB / 0.9079 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/0.8028, allocations: 12 kB / 0.9079 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004474/0.8033, allocations: 366.8 kB / 0.9083 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.8033, allocations: 4 kB / 0.9083 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008547/0.8041, allocations: 327.3 kB / 0.9086 GB, free: 15.27 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.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.001716/0.8058, allocations: 1.342 MB / 0.9099 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001042/0.8069, allocations: 0.489 MB / 0.9104 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8069, allocations: 0 / 0.9104 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003246/0.8072, allocations: 172 kB / 0.9105 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.8088, allocations: 370.9 kB / 0.9109 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006476/0.8153, allocations: 4.64 MB / 0.9154 GB, free: 8.102 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006038/0.8159, allocations: 0.9333 MB / 0.9163 GB, free: 7.141 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005522/0.8164, allocations: 184.8 kB / 0.9165 GB, free: 6.957 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/0.8167, allocations: 219.4 kB / 0.9167 GB, free: 6.742 MB / 0.6856 GB Notification: Performance of SimCode: time 6.31e-07/0.8167, allocations: 0 / 0.9167 GB, free: 6.742 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04583/0.8626, allocations: 16.9 MB / 0.9332 GB, free: 6.109 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.615/9.477, allocations: 10.2 kB / 0.9332 GB, free: 6.102 MB / 0.7012 GB " [Timeout remaining time 650] (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: 13.06951584298804] Failed to read output from testmodel.py, exit status != 0: 9.55474464299914 9.57713236 8.795629603 Calling exit ...