Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Delays.Examples.Delay") translateModel(Annex60.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001395/0.001395, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 192.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.1 MB / 222.4 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4151/0.4151, allocations: 54.94 MB / 324.7 MB, free: 15.89 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 71.89 kB / 395.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1492, allocations: 59.59 MB / 454.9 MB, free: 180 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Delays.Examples.Delay): time 0.4831/0.6323, allocations: 183.2 MB / 0.6232 GB, free: 152 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008705/0.6411, allocations: 4.63 MB / 0.6277 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.6425, allocations: 31.81 kB / 0.6277 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.6441, allocations: 0.5049 MB / 0.6282 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003851/0.648, allocations: 1.271 MB / 0.6295 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002513/0.6505, allocations: 0.821 MB / 0.6303 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0031/0.6536, allocations: 2.197 MB / 0.6324 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009317/0.6545, allocations: 0.6535 MB / 0.633 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002193/0.6567, allocations: 1.024 MB / 0.634 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.658, allocations: 0.6284 MB / 0.6347 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.6582, allocations: 83.94 kB / 0.6347 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002463/0.6607, allocations: 1.177 MB / 0.6359 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003947/0.6611, allocations: 343.1 kB / 0.6362 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005994/0.6617, allocations: 493.8 kB / 0.6367 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002583/0.6643, allocations: 1.554 MB / 0.6382 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.6643, allocations: 0 / 0.6382 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6643, allocations: 0 / 0.6382 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.638e-05/0.6643, allocations: 0 / 0.6382 GB, free: 0.7227 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.2819/0.9462, allocations: 1.197 MB / 0.6394 GB, free: 163.8 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.52e-05/0.9463, allocations: 9.375 kB / 0.6394 GB, free: 163.8 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001531/0.9479, allocations: 198.5 kB / 0.6396 GB, free: 163.7 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.9489, allocations: 0.6092 MB / 0.6402 GB, free: 163.4 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.522e-05/0.949, allocations: 46.78 kB / 0.6402 GB, free: 163.4 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.9491, allocations: 58.31 kB / 0.6403 GB, free: 163.4 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.9513, allocations: 0.768 MB / 0.641 GB, free: 163.4 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.9514, allocations: 3.938 kB / 0.641 GB, free: 163.4 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-05/0.9515, allocations: 26.84 kB / 0.641 GB, free: 163.4 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.163e-05/0.9515, allocations: 20.78 kB / 0.6411 GB, free: 163.4 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.9533, allocations: 0.6815 MB / 0.6417 GB, free: 163.4 MB / 0.4981 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.003588/0.9569, allocations: 2.452 MB / 0.6441 GB, free: 162.2 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.9585, allocations: 0.4988 MB / 0.6446 GB, free: 162.2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004126/0.9589, allocations: 212.2 kB / 0.6448 GB, free: 162.1 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.624e-05/0.959, allocations: 9.234 kB / 0.6448 GB, free: 162.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.087e-05/0.9591, allocations: 43.59 kB / 0.6449 GB, free: 162.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 7.013e-06/0.9591, allocations: 1.406 kB / 0.6449 GB, free: 162.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.002978/0.9621, allocations: 0.8314 MB / 0.6457 GB, free: 162 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.9621, allocations: 55.91 kB / 0.6457 GB, free: 162 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009254/0.9631, allocations: 0.6016 MB / 0.6463 GB, free: 161.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.283e-05/0.9632, allocations: 42.2 kB / 0.6464 GB, free: 161.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.9635, allocations: 342.8 kB / 0.6467 GB, free: 161.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.9637, allocations: 130.5 kB / 0.6468 GB, free: 161.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.9638, allocations: 80.81 kB / 0.6469 GB, free: 161.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.964, allocations: 374.6 kB / 0.6472 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000533/0.9646, allocations: 217.7 kB / 0.6474 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005741/0.9651, allocations: 307.9 kB / 0.6477 GB, free: 160.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.9662, allocations: 480.2 kB / 0.6482 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.9662, allocations: 3.938 kB / 0.6482 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001369/0.9676, allocations: 0.5956 MB / 0.6488 GB, free: 160.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.9676, allocations: 5.656 kB / 0.6488 GB, free: 160.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.9676, allocations: 3.594 kB / 0.6488 GB, free: 160.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.9676, allocations: 2.906 kB / 0.6488 GB, free: 160.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005569/0.9682, allocations: 115.5 kB / 0.6489 GB, free: 160.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.9682, allocations: 6.281 kB / 0.6489 GB, free: 160.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007871/0.969, allocations: 74.28 kB / 0.649 GB, free: 160.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.9691, allocations: 18.66 kB / 0.649 GB, free: 160.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005878/0.9697, allocations: 345.5 kB / 0.6493 GB, free: 160.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002913/0.97, allocations: 248.8 kB / 0.6496 GB, free: 160.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005392/0.9705, allocations: 389.5 kB / 0.6499 GB, free: 159.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.073e-06/0.9705, allocations: 2.844 kB / 0.6499 GB, free: 159.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.0007729/0.9713, allocations: 496.3 kB / 0.6504 GB, free: 159.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.9713, allocations: 6.594 kB / 0.6504 GB, free: 159.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.9713, allocations: 3.75 kB / 0.6504 GB, free: 159.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.9714, allocations: 2.781 kB / 0.6504 GB, free: 159.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.9717, allocations: 82.28 kB / 0.6505 GB, free: 159.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.9717, allocations: 2.719 kB / 0.6505 GB, free: 159.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005641/0.9723, allocations: 46.08 kB / 0.6505 GB, free: 159.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.9723, allocations: 14.95 kB / 0.6506 GB, free: 159.7 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (48): * Single equations (assignments): 48 * 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.0002172/0.9726, allocations: 208 kB / 0.6508 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.9727, allocations: 66.81 kB / 0.6508 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/0.9729, allocations: 74.72 kB / 0.6509 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.9729, allocations: 4.969 kB / 0.6509 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.9729, allocations: 1.266 kB / 0.6509 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001172/0.9741, allocations: 0.5425 MB / 0.6514 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/0.9766, allocations: 1.32 MB / 0.6527 GB, free: 158.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/0.9766, allocations: 0 / 0.6527 GB, free: 158.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006228/0.9773, allocations: 123.3 kB / 0.6528 GB, free: 158.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.126e-06/0.9773, allocations: 6.562 kB / 0.6528 GB, free: 158.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.9773, allocations: 9.375 kB / 0.6529 GB, free: 158.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-05/0.9773, allocations: 8.359 kB / 0.6529 GB, free: 158.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.9774, allocations: 1.484 kB / 0.6529 GB, free: 158.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.9792, allocations: 0.9253 MB / 0.6538 GB, free: 158.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004131/0.9797, allocations: 210.3 kB / 0.654 GB, free: 157.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.9798, allocations: 16.88 kB / 0.654 GB, free: 157.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006924/0.9805, allocations: 47.86 kB / 0.654 GB, free: 157.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.649e-05/0.9806, allocations: 31.23 kB / 0.6541 GB, free: 157.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.216e-05/0.9807, allocations: 24.41 kB / 0.6541 GB, free: 157.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005034/0.9812, allocations: 435.9 kB / 0.6545 GB, free: 157.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9812, allocations: 5.703 kB / 0.6545 GB, free: 157.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001204/0.9824, allocations: 378.9 kB / 0.6549 GB, free: 157.6 MB / 0.4981 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 (35): * Single equations (assignments): 35 * 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.0006756/0.9831, allocations: 163.1 kB / 0.655 GB, free: 157.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001987/0.9851, allocations: 0.7361 MB / 0.6557 GB, free: 157.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/0.9851, allocations: 0 / 0.6557 GB, free: 157.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005882/0.9857, allocations: 250.6 kB / 0.656 GB, free: 157.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/0.988, allocations: 429.9 kB / 0.6564 GB, free: 157.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002855/0.9909, allocations: 1.442 MB / 0.6578 GB, free: 156.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.9914, allocations: 0.96 MB / 0.6587 GB, free: 155.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009277/0.9923, allocations: 195.5 kB / 0.6589 GB, free: 155.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.9925, allocations: 60.38 kB / 0.659 GB, free: 155.7 MB / 0.4981 GB Notification: Performance of SimCode: time 6.81e-07/0.9925, allocations: 0 / 0.659 GB, free: 155.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.0384/1.031, allocations: 14.71 MB / 0.6733 GB, free: 154.4 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Delays.Examples.Delay.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Delays.Examples.Delay.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Delays.Examples.Delay.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Delays.Examples.Delay.sim & ./Annex60_1.0.0_Annex60.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Delays.Examples.Delay.pipe 2>&1)