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.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/package.mo", uses=false) 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.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: translateModel(IDEAS.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Delays.Examples.Delay") translateModel(IDEAS.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 105.6 kB / 16.41 MB, free: 6.496 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.001954/0.001954, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.462/1.462, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7747/0.7747, allocations: 132.2 MB / 423.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 71.25 kB / 0.582 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1607, allocations: 80.21 MB / 0.6603 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.5402/0.7009, allocations: 183.2 MB / 0.8393 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007837/0.7088, allocations: 4.865 MB / 0.844 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.7101, allocations: 29.78 kB / 0.844 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.7116, allocations: 432.5 kB / 0.8444 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00392/0.7156, allocations: 1.413 MB / 0.8458 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002204/0.7178, allocations: 0.7794 MB / 0.8466 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002408/0.7202, allocations: 1.836 MB / 0.8484 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008285/0.7211, allocations: 0.6067 MB / 0.849 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001898/0.723, allocations: 0.89 MB / 0.8498 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/0.7241, allocations: 0.5358 MB / 0.8504 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.7243, allocations: 57.66 kB / 0.8504 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002649/0.7269, allocations: 1.425 MB / 0.8518 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003064/0.7272, allocations: 261.8 kB / 0.8521 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004846/0.7277, allocations: 404.5 kB / 0.8524 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002242/0.73, allocations: 1.425 MB / 0.8538 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.73, allocations: 0 / 0.8538 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.352e-06/0.73, allocations: 0 / 0.8538 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.682e-05/0.73, allocations: 1.812 kB / 0.8538 GB, free: 14.52 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.001784/0.7318, allocations: 1.104 MB / 0.8549 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.7319, allocations: 10.12 kB / 0.8549 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/0.7332, allocations: 205.2 kB / 0.8551 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.7343, allocations: 0.6169 MB / 0.8557 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.7343, allocations: 35.03 kB / 0.8558 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.101e-05/0.7344, allocations: 52.47 kB / 0.8558 GB, free: 13 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008803/0.7353, allocations: 0.4911 MB / 0.8563 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.7353, allocations: 0 / 0.8563 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.032e-05/0.7354, allocations: 16.56 kB / 0.8563 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.205e-05/0.7354, allocations: 20.69 kB / 0.8563 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007589/0.7362, allocations: 433.6 kB / 0.8567 GB, free: 12.5 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.002963/0.7391, allocations: 2.009 MB / 0.8587 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005828/0.7397, allocations: 340.5 kB / 0.859 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003292/0.7401, allocations: 209.3 kB / 0.8592 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002823/0.7404, allocations: 194.5 kB / 0.8594 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.7404, allocations: 38.84 kB / 0.8594 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 1.943e-06/0.7404, allocations: 0 / 0.8594 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.001243/0.7417, allocations: 0.5417 MB / 0.86 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.7417, allocations: 59.34 kB / 0.86 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005915/0.7423, allocations: 0.5069 MB / 0.8605 GB, free: 8.609 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.7424, allocations: 33.7 kB / 0.8606 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.7426, allocations: 308.2 kB / 0.8609 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.7427, allocations: 114.3 kB / 0.861 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.7428, allocations: 70.02 kB / 0.861 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.743, allocations: 362.8 kB / 0.8614 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.7433, allocations: 142.1 kB / 0.8615 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.7436, allocations: 228.5 kB / 0.8617 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005664/0.7442, allocations: 340.2 kB / 0.8621 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.7442, allocations: 4 kB / 0.8621 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007781/0.745, allocations: 424.6 kB / 0.8625 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.745, allocations: 13.81 kB / 0.8625 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.745, allocations: 0.875 kB / 0.8625 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.745, allocations: 7.938 kB / 0.8625 GB, free: 6.535 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/0.7454, allocations: 67.84 kB / 0.8625 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.7454, allocations: 7.938 kB / 0.8626 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005132/0.7459, allocations: 43.84 kB / 0.8626 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.152e-05/0.746, allocations: 16 kB / 0.8626 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004523/0.7464, allocations: 300 kB / 0.8629 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003088/0.7468, allocations: 211.6 kB / 0.8631 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005333/0.7473, allocations: 343.2 kB / 0.8634 GB, free: 5.527 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.7473, allocations: 0 / 0.8634 GB, free: 5.527 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007271/0.748, allocations: 424.6 kB / 0.8638 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.7481, allocations: 7.938 kB / 0.8638 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-06/0.7481, allocations: 0 / 0.8638 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.72e-06/0.7481, allocations: 4 kB / 0.8638 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.7484, allocations: 71.84 kB / 0.8639 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.7484, allocations: 0 / 0.8639 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000493/0.7489, allocations: 35.81 kB / 0.8639 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.749, allocations: 20.09 kB / 0.864 GB, free: 4.969 MB / 0.6231 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.0001516/0.7491, allocations: 196.1 kB / 0.8642 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.7492, allocations: 63.25 kB / 0.8642 GB, free: 4.707 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007902/0.75, allocations: 424.7 kB / 0.8646 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.75, allocations: 4 kB / 0.8646 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.7501, allocations: 0 / 0.8646 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000607/0.7507, allocations: 440.2 kB / 0.865 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.7526, allocations: 1.174 MB / 0.8662 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.7526, allocations: 0 / 0.8662 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/0.753, allocations: 87.89 kB / 0.8663 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.753, allocations: 4 kB / 0.8663 GB, free: 2.48 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.753, allocations: 8 kB / 0.8663 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.753, allocations: 4 kB / 0.8663 GB, free: 2.469 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7531, allocations: 0 / 0.8663 GB, free: 2.469 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.7541, allocations: 0.7232 MB / 0.867 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002857/0.7544, allocations: 188.4 kB / 0.8672 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.7545, allocations: 8 kB / 0.8672 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004757/0.755, allocations: 25.86 kB / 0.8672 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.91e-05/0.7551, allocations: 23.92 kB / 0.8672 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/0.7551, allocations: 19.92 kB / 0.8672 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004147/0.7555, allocations: 362.8 kB / 0.8676 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7555, allocations: 4 kB / 0.8676 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008888/0.7564, allocations: 319.3 kB / 0.8679 GB, free: 0.7656 MB / 0.6231 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.0004625/0.7569, allocations: 183.2 kB / 0.8681 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001036/0.758, allocations: 0.5228 MB / 0.8686 GB, free: 64 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.758, allocations: 4.375 kB / 0.8686 GB, free: 60 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003302/0.7583, allocations: 179.9 kB / 0.8688 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.7599, allocations: 360.7 kB / 0.8691 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.7619, allocations: 1.285 MB / 0.8704 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005255/0.7625, allocations: 0.9256 MB / 0.8713 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.7626, allocations: 51.44 kB / 0.8713 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of SimCode: time 4.81e-07/0.7626, allocations: 0 / 0.8713 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of Templates: time 0.0154/0.778, allocations: 9.853 MB / 0.8809 GB, free: 3.453 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Delays.Examples.Delay.makefile (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 & ./IDEAS_IDEAS.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe 2>&1)