Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Delays.Examples.Delay,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Delays.Examples.Delay,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005224/0.005224, allocations: 105.3 kB / 15.74 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 184.1 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8004/0.8004, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 65.55 kB / 0.5851 GB, free: 21.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1195, allocations: 80.92 MB / 0.6641 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.4452/0.5647, allocations: 183.2 MB / 0.8431 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006645/0.5714, allocations: 4.858 MB / 0.8478 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003721/0.5718, allocations: 33.66 kB / 0.8479 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009748/0.5728, allocations: 451.8 kB / 0.8483 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002662/0.5755, allocations: 1.473 MB / 0.8497 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.5771, allocations: 0.7768 MB / 0.8505 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001666/0.5787, allocations: 1.853 MB / 0.8523 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006675/0.5794, allocations: 0.6062 MB / 0.8529 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.5807, allocations: 0.8949 MB / 0.8538 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009558/0.5817, allocations: 0.5452 MB / 0.8543 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.957e-05/0.5818, allocations: 61.56 kB / 0.8543 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001917/0.5837, allocations: 1.417 MB / 0.8557 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002444/0.584, allocations: 266.2 kB / 0.856 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003588/0.5843, allocations: 402 kB / 0.8564 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.586, allocations: 1.43 MB / 0.8578 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.586, allocations: 0 / 0.8578 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.172e-06/0.586, allocations: 0 / 0.8578 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.586, allocations: 2.281 kB / 0.8578 GB, free: 9.004 MB / 0.6231 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.001604/0.5876, allocations: 1.131 MB / 0.8589 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.5877, allocations: 9.109 kB / 0.8589 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001042/0.5878, allocations: 90.53 kB / 0.859 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/0.5891, allocations: 215.2 kB / 0.8592 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009751/0.5901, allocations: 0.6205 MB / 0.8598 GB, free: 7.012 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.5901, allocations: 33 kB / 0.8598 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.141e-05/0.5902, allocations: 52 kB / 0.8599 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008675/0.5911, allocations: 0.4906 MB / 0.8603 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.5911, allocations: 0 / 0.8603 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.154e-05/0.5912, allocations: 19.94 kB / 0.8604 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/0.5912, allocations: 17 kB / 0.8604 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008005/0.592, allocations: 439.7 kB / 0.8608 GB, free: 5.969 MB / 0.6231 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.002597/0.5946, allocations: 2.003 MB / 0.8627 GB, free: 3.789 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005621/0.5952, allocations: 345.8 kB / 0.8631 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003493/0.5956, allocations: 209.3 kB / 0.8633 GB, free: 3.238 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002675/0.5958, allocations: 190.5 kB / 0.8635 GB, free: 3.016 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.5959, allocations: 42.84 kB / 0.8635 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 1.603e-06/0.5959, allocations: 0 / 0.8635 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.001248/0.5971, allocations: 0.5451 MB / 0.864 GB, free: 2.414 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.5972, allocations: 55.41 kB / 0.8641 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005835/0.5978, allocations: 0.5146 MB / 0.8646 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/0.5978, allocations: 33.7 kB / 0.8646 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.598, allocations: 304.6 kB / 0.8649 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.5982, allocations: 126.9 kB / 0.865 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.5983, allocations: 69.97 kB / 0.8651 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002259/0.5985, allocations: 362.8 kB / 0.8654 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/0.5988, allocations: 142.1 kB / 0.8656 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003416/0.5992, allocations: 220.5 kB / 0.8658 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005952/0.5998, allocations: 346.9 kB / 0.8661 GB, free: 196 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5998, allocations: 4 kB / 0.8661 GB, free: 192 kB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007857/0.6006, allocations: 432.9 kB / 0.8665 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.6006, allocations: 4 kB / 0.8665 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.6006, allocations: 3.75 kB / 0.8665 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.6006, allocations: 4 kB / 0.8666 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000371/0.601, allocations: 72 kB / 0.8666 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.601, allocations: 3.984 kB / 0.8666 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004837/0.6015, allocations: 43.77 kB / 0.8667 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.6015, allocations: 12 kB / 0.8667 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004407/0.602, allocations: 304 kB / 0.867 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000336/0.6023, allocations: 219.2 kB / 0.8672 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005795/0.6029, allocations: 327.1 kB / 0.8675 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.333e-06/0.6029, allocations: 4 kB / 0.8675 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000717/0.6037, allocations: 429.1 kB / 0.8679 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/0.6037, allocations: 4 kB / 0.8679 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.6037, allocations: 4 kB / 0.8679 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.6037, allocations: 3.938 kB / 0.8679 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/0.604, allocations: 71.89 kB / 0.868 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.6041, allocations: 0 / 0.868 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004624/0.6045, allocations: 39.97 kB / 0.868 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.6046, allocations: 12 kB / 0.868 GB, free: 14.18 MB / 0.6387 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.0001262/0.6047, allocations: 200.2 kB / 0.8682 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.6048, allocations: 67.52 kB / 0.8683 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007903/0.6056, allocations: 416.7 kB / 0.8687 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.6056, allocations: 8 kB / 0.8687 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6056, allocations: 7.922 kB / 0.8687 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006295/0.6063, allocations: 432.5 kB / 0.8691 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.608, allocations: 1.179 MB / 0.8703 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.608, allocations: 4 kB / 0.8703 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004515/0.6085, allocations: 83.89 kB / 0.8703 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.6085, allocations: 4 kB / 0.8703 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.6085, allocations: 11.98 kB / 0.8704 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.6085, allocations: 4.938 kB / 0.8704 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6086, allocations: 6.922 kB / 0.8704 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.6096, allocations: 0.7225 MB / 0.8711 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/0.6099, allocations: 184.6 kB / 0.8713 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.64e-05/0.61, allocations: 12 kB / 0.8713 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004815/0.6105, allocations: 19.97 kB / 0.8713 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/0.6106, allocations: 27.91 kB / 0.8713 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.032e-05/0.6106, allocations: 21.12 kB / 0.8713 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004032/0.611, allocations: 362.8 kB / 0.8717 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.523e-06/0.611, allocations: 0 / 0.8717 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007534/0.6118, allocations: 331.3 kB / 0.872 GB, free: 9.953 MB / 0.6387 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.001628/0.6134, allocations: 1.346 MB / 0.8733 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009545/0.6144, allocations: 0.5152 MB / 0.8738 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6144, allocations: 4 kB / 0.8738 GB, free: 8.051 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003098/0.6147, allocations: 175.8 kB / 0.874 GB, free: 7.879 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.6163, allocations: 370 kB / 0.8743 GB, free: 7.527 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0058/0.6221, allocations: 4.643 MB / 0.8789 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/0.6226, allocations: 0.9295 MB / 0.8798 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005158/0.6231, allocations: 188.8 kB / 0.88 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/0.6234, allocations: 215.4 kB / 0.8802 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of SimCode: time 2.81e-07/0.6234, allocations: 0 / 0.8802 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03634/0.6598, allocations: 16.86 MB / 0.8966 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.345/9.005, allocations: 11.86 kB / 0.8966 GB, free: 0.7422 MB / 0.6544 GB (rm -f IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Delays_Examples_Delay.fmu > IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe 2>&1)