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.00733/0.00733, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.002052/0.002052, allocations: 194.6 kB / 16.68 MB, free: 5.969 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8583/0.8583, allocations: 135.6 MB / 426.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.62 kB / 0.5857 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1334, allocations: 81.02 MB / 0.6648 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.4897/0.6232, allocations: 183.2 MB / 0.8438 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007614/0.6308, allocations: 4.868 MB / 0.8485 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005493/0.6314, allocations: 32.25 kB / 0.8486 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.6325, allocations: 437.1 kB / 0.849 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003002/0.6355, allocations: 1.406 MB / 0.8504 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.6373, allocations: 0.7832 MB / 0.8511 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002026/0.6393, allocations: 1.837 MB / 0.8529 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007414/0.6401, allocations: 0.6079 MB / 0.8535 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/0.6416, allocations: 0.8651 MB / 0.8544 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.6426, allocations: 0.547 MB / 0.8549 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.187e-05/0.6427, allocations: 62.09 kB / 0.8549 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002345/0.6451, allocations: 1.413 MB / 0.8563 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002689/0.6454, allocations: 261.8 kB / 0.8566 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004125/0.6458, allocations: 410.3 kB / 0.857 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001798/0.6476, allocations: 1.425 MB / 0.8584 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.6476, allocations: 0 / 0.8584 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.012e-06/0.6476, allocations: 0 / 0.8584 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.6476, allocations: 0 / 0.8584 GB, free: 8.227 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.001689/0.6493, allocations: 1.132 MB / 0.8595 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.6494, allocations: 9.109 kB / 0.8595 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001121/0.6495, allocations: 86.53 kB / 0.8596 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/0.6508, allocations: 223.2 kB / 0.8598 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009935/0.6518, allocations: 0.6166 MB / 0.8604 GB, free: 6.246 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/0.6519, allocations: 41 kB / 0.8604 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-05/0.652, allocations: 44 kB / 0.8605 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009348/0.6529, allocations: 498.3 kB / 0.8609 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.6529, allocations: 0 / 0.8609 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.524e-05/0.653, allocations: 23.94 kB / 0.8609 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/0.653, allocations: 17 kB / 0.861 GB, free: 5.629 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008769/0.6539, allocations: 435.7 kB / 0.8614 GB, free: 5.207 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.002803/0.6567, allocations: 2.002 MB / 0.8633 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006341/0.6574, allocations: 348.1 kB / 0.8637 GB, free: 2.68 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000377/0.6578, allocations: 205.3 kB / 0.8639 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003081/0.6581, allocations: 194.5 kB / 0.864 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.6581, allocations: 42.84 kB / 0.8641 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 1.482e-06/0.6581, allocations: 0 / 0.8641 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.001314/0.6595, allocations: 0.5451 MB / 0.8646 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.6595, allocations: 63.33 kB / 0.8647 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006417/0.6602, allocations: 0.5069 MB / 0.8652 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/0.6602, allocations: 37.7 kB / 0.8652 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.6605, allocations: 304.6 kB / 0.8655 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.6606, allocations: 126.9 kB / 0.8656 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.6607, allocations: 62.03 kB / 0.8657 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.6609, allocations: 366.7 kB / 0.866 GB, free: 160 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003128/0.6612, allocations: 150.1 kB / 0.8662 GB, free: 8 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003928/0.6616, allocations: 216.5 kB / 0.8664 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000667/0.6623, allocations: 343.6 kB / 0.8667 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.6623, allocations: 7.625 kB / 0.8667 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008409/0.6632, allocations: 432.8 kB / 0.8671 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.6632, allocations: 4 kB / 0.8671 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.6632, allocations: 3.938 kB / 0.8671 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.6632, allocations: 8.094 kB / 0.8671 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003644/0.6636, allocations: 71.91 kB / 0.8672 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.6636, allocations: 3.984 kB / 0.8672 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004588/0.6641, allocations: 42.17 kB / 0.8673 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/0.6641, allocations: 12 kB / 0.8673 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004902/0.6646, allocations: 308 kB / 0.8676 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000365/0.665, allocations: 216.2 kB / 0.8678 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006263/0.6656, allocations: 331.1 kB / 0.8681 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.974e-06/0.6657, allocations: 1.016 kB / 0.8681 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007937/0.6665, allocations: 429.1 kB / 0.8685 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.6665, allocations: 5.562 kB / 0.8685 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.6665, allocations: 4 kB / 0.8685 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.529e-06/0.6665, allocations: 3.938 kB / 0.8685 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003373/0.6668, allocations: 75.89 kB / 0.8686 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.6669, allocations: 8.094 kB / 0.8686 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00045/0.6673, allocations: 27.88 kB / 0.8686 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.6674, allocations: 12 kB / 0.8686 GB, free: 13.41 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.000147/0.6675, allocations: 200.2 kB / 0.8688 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.6676, allocations: 63.58 kB / 0.8689 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008655/0.6685, allocations: 422.1 kB / 0.8693 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.6685, allocations: 8 kB / 0.8693 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.6685, allocations: 0 / 0.8693 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007068/0.6693, allocations: 440.4 kB / 0.8697 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001941/0.6712, allocations: 1.171 MB / 0.8709 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.6712, allocations: 4 kB / 0.8709 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004503/0.6717, allocations: 83.89 kB / 0.8709 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.6717, allocations: 11.88 kB / 0.8709 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.26e-05/0.6717, allocations: 11.98 kB / 0.871 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.6717, allocations: 4.188 kB / 0.871 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.6718, allocations: 4 kB / 0.871 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.673, allocations: 0.7269 MB / 0.8717 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.6732, allocations: 180.7 kB / 0.8718 GB, free: 9.934 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.009e-05/0.6733, allocations: 9.125 kB / 0.8719 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004755/0.6738, allocations: 23.97 kB / 0.8719 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.945e-05/0.6739, allocations: 28 kB / 0.8719 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.605e-05/0.6739, allocations: 19.98 kB / 0.8719 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004536/0.6744, allocations: 366.8 kB / 0.8723 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6744, allocations: 0 / 0.8723 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008172/0.6752, allocations: 323.3 kB / 0.8726 GB, free: 9.184 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.001866/0.6771, allocations: 1.361 MB / 0.8739 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.6782, allocations: 0.5158 MB / 0.8744 GB, free: 7.273 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.6782, allocations: 4 kB / 0.8744 GB, free: 7.27 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003512/0.6786, allocations: 175.8 kB / 0.8746 GB, free: 7.098 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.6803, allocations: 363.8 kB / 0.8749 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006587/0.6869, allocations: 4.639 MB / 0.8795 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006194/0.6875, allocations: 0.9295 MB / 0.8804 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005529/0.688, allocations: 184.8 kB / 0.8805 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003368/0.6884, allocations: 215.4 kB / 0.8808 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of SimCode: time 2.51e-07/0.6884, allocations: 0 / 0.8808 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04448/0.7329, allocations: 16.88 MB / 0.8972 GB, free: 15.97 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.851/9.584, allocations: 6.594 kB / 0.8972 GB, free: 15.97 MB / 0.67 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)