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-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: 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.0009397/0.0009396, allocations: 98.44 kB / 15.05 MB, free: 1.105 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.0009717/0.0009718, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.208/1.208, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8469/0.8469, allocations: 135.2 MB / 426.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002958, allocations: 8 kB / 0.5068 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1498, allocations: 82.32 MB / 0.5872 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.3827/0.5326, allocations: 152.5 MB / 0.7362 GB, free: 152 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0069/0.5395, allocations: 4.772 MB / 0.7408 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006111/0.5401, allocations: 27 kB / 0.7408 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.5413, allocations: 440 kB / 0.7413 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003297/0.5446, allocations: 1.385 MB / 0.7426 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.5467, allocations: 0.866 MB / 0.7435 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00151/0.5482, allocations: 1.093 MB / 0.7445 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006944/0.5489, allocations: 451.5 kB / 0.745 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001156/0.5501, allocations: 0.5977 MB / 0.7455 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005036/0.5506, allocations: 351.1 kB / 0.7459 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.565e-05/0.5507, allocations: 24 kB / 0.7459 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.552, allocations: 0.6945 MB / 0.7466 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.5522, allocations: 206.5 kB / 0.7468 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.5524, allocations: 169.3 kB / 0.7469 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008542/0.5532, allocations: 0.8695 MB / 0.7478 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.5533, allocations: 0 / 0.7478 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5533, allocations: 0 / 0.7478 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.5533, allocations: 0 / 0.7478 GB, free: 8.152 MB / 0.5606 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.001304/0.5546, allocations: 0.9615 MB / 0.7487 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.5546, allocations: 8.031 kB / 0.7487 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.5557, allocations: 210.9 kB / 0.7489 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008079/0.5566, allocations: 0.5541 MB / 0.7495 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.5566, allocations: 37 kB / 0.7495 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.666e-05/0.5567, allocations: 47.95 kB / 0.7496 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007736/0.5575, allocations: 0.4983 MB / 0.75 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.5575, allocations: 3.984 kB / 0.75 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.956e-05/0.5575, allocations: 20 kB / 0.7501 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.5576, allocations: 17 kB / 0.7501 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007501/0.5583, allocations: 435.7 kB / 0.7505 GB, free: 5.285 MB / 0.5606 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.002787/0.5611, allocations: 2.002 MB / 0.7525 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006092/0.5618, allocations: 359.4 kB / 0.7528 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.653e-05/0.5618, allocations: 12.28 kB / 0.7528 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.5619, allocations: 34.84 kB / 0.7528 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.754e-06/0.5619, allocations: 7.875 kB / 0.7528 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001147/0.563, allocations: 0.5577 MB / 0.7534 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.5631, allocations: 59.36 kB / 0.7534 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005263/0.5636, allocations: 0.5069 MB / 0.7539 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.5636, allocations: 29.7 kB / 0.754 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.5638, allocations: 304.2 kB / 0.7543 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.564, allocations: 118.3 kB / 0.7544 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.698e-05/0.564, allocations: 8 kB / 0.7544 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.5641, allocations: 366.8 kB / 0.7547 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/0.5644, allocations: 136.6 kB / 0.7549 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/0.5647, allocations: 224.9 kB / 0.7551 GB, free: 344 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.565, allocations: 160 kB / 0.7552 GB, free: 184 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.565, allocations: 4 kB / 0.7552 GB, free: 180 kB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006527/0.5656, allocations: 425.7 kB / 0.7556 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/0.5658, allocations: 376.4 kB / 0.756 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5658, allocations: 0 / 0.756 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.5658, allocations: 4 kB / 0.756 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.5661, allocations: 71.91 kB / 0.7561 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.5662, allocations: 8 kB / 0.7561 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004718/0.5666, allocations: 63.7 kB / 0.7561 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.5667, allocations: 16 kB / 0.7562 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.253e-06/0.5667, allocations: 4 kB / 0.7562 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005649/0.5673, allocations: 349 kB / 0.7565 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.5673, allocations: 3.953 kB / 0.7565 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.451e-06/0.5673, allocations: 8.094 kB / 0.7565 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.5676, allocations: 71.89 kB / 0.7566 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.5676, allocations: 7.938 kB / 0.7566 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004303/0.568, allocations: 63.64 kB / 0.7566 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.381e-05/0.5681, allocations: 16.86 kB / 0.7567 GB, free: 14.69 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003086/0.5684, allocations: 289 kB / 0.7569 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.016e-05/0.5685, allocations: 59.25 kB / 0.757 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007689/0.5692, allocations: 433.1 kB / 0.7574 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.5693, allocations: 7.984 kB / 0.7574 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5693, allocations: 0 / 0.7574 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005496/0.5698, allocations: 444.2 kB / 0.7578 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001655/0.5715, allocations: 1.176 MB / 0.759 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.5715, allocations: 3.938 kB / 0.759 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004226/0.5719, allocations: 85.72 kB / 0.7591 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.572, allocations: 7.938 kB / 0.7591 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/0.572, allocations: 15.98 kB / 0.7591 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.572, allocations: 8.188 kB / 0.7591 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.572, allocations: 3.938 kB / 0.7591 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.5731, allocations: 0.811 MB / 0.7599 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002714/0.5734, allocations: 176.4 kB / 0.7601 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.058e-05/0.5734, allocations: 8 kB / 0.7601 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004965/0.5739, allocations: 51.8 kB / 0.7601 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.412e-05/0.574, allocations: 23.97 kB / 0.7601 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.5741, allocations: 19.98 kB / 0.7602 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004246/0.5745, allocations: 354.8 kB / 0.7605 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5745, allocations: 4 kB / 0.7605 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008916/0.5754, allocations: 323.2 kB / 0.7608 GB, free: 10.23 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004105/0.5758, allocations: 184.3 kB / 0.761 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009082/0.5767, allocations: 0.5277 MB / 0.7615 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.5767, allocations: 0 / 0.7615 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002911/0.577, allocations: 181.3 kB / 0.7617 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/0.5787, allocations: 370 kB / 0.762 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.5808, allocations: 1.552 MB / 0.7635 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006462/0.5815, allocations: 0.9451 MB / 0.7645 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005904/0.5821, allocations: 191.7 kB / 0.7646 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.5822, allocations: 47.44 kB / 0.7647 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of SimCode: time 6.42e-07/0.5822, allocations: 0 / 0.7647 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of Templates: time 0.0172/0.5994, allocations: 10.97 MB / 0.7754 GB, free: 11.4 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Delays.Examples.Delay.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: