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.0009536/0.0009536, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009912/0.0009914, allocations: 196.3 kB / 16.14 MB, free: 6.703 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.67/1.67, allocations: 205.1 MB / 222 MB, free: 4.973 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4077/0.4077, allocations: 54.93 MB / 324.3 MB, free: 52 kB / 254.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.001485/0.001485, allocations: 63.91 kB / 394.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1454, allocations: 59.59 MB / 454.3 MB, free: 0.668 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Delays.Examples.Delay): time 0.4488/0.5942, allocations: 181 MB / 0.6203 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01027/0.6046, allocations: 4.702 MB / 0.6249 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.6058, allocations: 23.88 kB / 0.625 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.6074, allocations: 453.8 kB / 0.6254 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003465/0.6109, allocations: 1.218 MB / 0.6266 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002257/0.6132, allocations: 0.7379 MB / 0.6273 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003601/0.6168, allocations: 3.03 MB / 0.6303 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009162/0.6177, allocations: 0.5611 MB / 0.6308 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002509/0.6203, allocations: 0.8987 MB / 0.6317 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001553/0.6218, allocations: 0.6665 MB / 0.6323 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.622, allocations: 43.94 kB / 0.6324 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002758/0.6247, allocations: 1.306 MB / 0.6337 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004158/0.6251, allocations: 303.1 kB / 0.6339 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006469/0.6258, allocations: 445.8 kB / 0.6344 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002599/0.6284, allocations: 1.581 MB / 0.6359 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.6284, allocations: 3.984 kB / 0.6359 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.794e-06/0.6284, allocations: 0 / 0.6359 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.6285, allocations: 4 kB / 0.6359 GB, free: 2.914 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.002255/0.6307, allocations: 1.197 MB / 0.6371 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.6308, allocations: 8.031 kB / 0.6371 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/0.6321, allocations: 206.8 kB / 0.6373 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009834/0.6331, allocations: 0.6057 MB / 0.6379 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/0.6332, allocations: 41.31 kB / 0.6379 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.486e-05/0.6333, allocations: 60 kB / 0.638 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3159/0.9492, allocations: 0.7666 MB / 0.6387 GB, free: 163.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.107e-05/0.9493, allocations: 2.562 kB / 0.6387 GB, free: 163.3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001628/0.9495, allocations: 26.5 kB / 0.6388 GB, free: 163.3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.88e-05/0.9496, allocations: 22.75 kB / 0.6388 GB, free: 163.3 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/0.9516, allocations: 0.6828 MB / 0.6395 GB, free: 163.3 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.003404/0.955, allocations: 2.42 MB / 0.6418 GB, free: 162.2 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.9564, allocations: 0.4945 MB / 0.6423 GB, free: 162.1 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/0.9567, allocations: 210.3 kB / 0.6425 GB, free: 162.1 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.059e-05/0.9568, allocations: 4.594 kB / 0.6425 GB, free: 162.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.9568, allocations: 45.88 kB / 0.6425 GB, free: 162.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 2.084e-06/0.9568, allocations: 0 / 0.6425 GB, free: 162.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.002742/0.9596, allocations: 0.8299 MB / 0.6434 GB, free: 162 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.9596, allocations: 61.86 kB / 0.6434 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006233/0.9602, allocations: 0.607 MB / 0.644 GB, free: 161.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.61e-05/0.9603, allocations: 36.83 kB / 0.644 GB, free: 161.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/0.9606, allocations: 344.4 kB / 0.6444 GB, free: 161.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.9607, allocations: 128.3 kB / 0.6445 GB, free: 161.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.9608, allocations: 82.08 kB / 0.6446 GB, free: 161.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.9609, allocations: 371.3 kB / 0.6449 GB, free: 161.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000475/0.9614, allocations: 214.7 kB / 0.6451 GB, free: 161.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005209/0.962, allocations: 310 kB / 0.6454 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009677/0.9629, allocations: 490.8 kB / 0.6459 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.9629, allocations: 0 / 0.6459 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001221/0.9642, allocations: 0.5913 MB / 0.6465 GB, free: 161 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.9642, allocations: 5.844 kB / 0.6465 GB, free: 161 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.9642, allocations: 3.844 kB / 0.6465 GB, free: 161 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.9642, allocations: 9.531 kB / 0.6465 GB, free: 161 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005512/0.9648, allocations: 112.2 kB / 0.6466 GB, free: 161 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.9648, allocations: 7.781 kB / 0.6466 GB, free: 161 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008183/0.9657, allocations: 102.4 kB / 0.6467 GB, free: 160.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.071e-05/0.9657, allocations: 16.22 kB / 0.6467 GB, free: 160.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005117/0.9662, allocations: 350.4 kB / 0.6471 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003002/0.9665, allocations: 241.4 kB / 0.6473 GB, free: 160.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005564/0.9671, allocations: 391.3 kB / 0.6477 GB, free: 160.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.9671, allocations: 0 / 0.6477 GB, free: 160.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.0007963/0.9679, allocations: 491.6 kB / 0.6481 GB, free: 160.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.9679, allocations: 9.609 kB / 0.6481 GB, free: 160.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/0.9679, allocations: 0 / 0.6481 GB, free: 160.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.642e-06/0.968, allocations: 5.219 kB / 0.6481 GB, free: 160.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003556/0.9683, allocations: 89.97 kB / 0.6482 GB, free: 160.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.9683, allocations: 4.938 kB / 0.6482 GB, free: 160.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006932/0.969, allocations: 71.72 kB / 0.6483 GB, free: 160.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.9691, allocations: 13.27 kB / 0.6483 GB, free: 160.2 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.0002516/0.9693, allocations: 199.8 kB / 0.6485 GB, free: 160 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.9695, allocations: 67.44 kB / 0.6486 GB, free: 160 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001758/0.9696, allocations: 77.25 kB / 0.6486 GB, free: 159.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.9697, allocations: 3 kB / 0.6486 GB, free: 159.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.9697, allocations: 7.875 kB / 0.6486 GB, free: 159.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001134/0.9708, allocations: 0.5461 MB / 0.6492 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/0.9732, allocations: 1.312 MB / 0.6505 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.9732, allocations: 5.094 kB / 0.6505 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000595/0.9738, allocations: 117.7 kB / 0.6506 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.9738, allocations: 2.969 kB / 0.6506 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/0.9739, allocations: 17.45 kB / 0.6506 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.311e-06/0.9739, allocations: 3.547 kB / 0.6506 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.9739, allocations: 5.969 kB / 0.6506 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.9756, allocations: 0.929 MB / 0.6515 GB, free: 158.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003582/0.976, allocations: 204.4 kB / 0.6517 GB, free: 158.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.9761, allocations: 9.5 kB / 0.6517 GB, free: 158.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007803/0.9769, allocations: 80.34 kB / 0.6518 GB, free: 158.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.645e-05/0.977, allocations: 27.06 kB / 0.6518 GB, free: 158.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.387e-05/0.9771, allocations: 21.16 kB / 0.6518 GB, free: 158.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004667/0.9776, allocations: 445 kB / 0.6523 GB, free: 158.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9776, allocations: 0 / 0.6523 GB, free: 158.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001063/0.9786, allocations: 375.2 kB / 0.6526 GB, free: 158.1 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.0005218/0.9792, allocations: 175.2 kB / 0.6528 GB, free: 158 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001562/0.9807, allocations: 0.695 MB / 0.6535 GB, free: 157.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.9808, allocations: 9.875 kB / 0.6535 GB, free: 157.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005842/0.9813, allocations: 242.2 kB / 0.6537 GB, free: 157.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002125/0.9835, allocations: 436.4 kB / 0.6541 GB, free: 157.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00287/0.9864, allocations: 1.702 MB / 0.6558 GB, free: 156.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005337/0.9869, allocations: 0.9675 MB / 0.6567 GB, free: 155.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000901/0.9878, allocations: 197 kB / 0.6569 GB, free: 155.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.988, allocations: 53.62 kB / 0.657 GB, free: 155.9 MB / 0.4981 GB Notification: Performance of SimCode: time 1.012e-06/0.988, allocations: 1.125 kB / 0.657 GB, free: 155.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.03318/1.021, allocations: 14.25 MB / 0.6709 GB, free: 155.1 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)