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.00155/0.00155, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001633/0.001633, allocations: 187.8 kB / 16.25 MB, free: 6.629 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.623/1.623, allocations: 205.1 MB / 222.1 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.395/0.395, allocations: 54.94 MB / 324.4 MB, free: 172 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.002062/0.002062, allocations: 59.91 kB / 394.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1757, allocations: 59.59 MB / 454.4 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Delays.Examples.Delay): time 0.4801/0.6558, allocations: 180.8 MB / 0.6203 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007496/0.6634, allocations: 4.617 MB / 0.6248 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.6648, allocations: 23.88 kB / 0.6249 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001635/0.6665, allocations: 457.8 kB / 0.6253 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003698/0.6702, allocations: 1.203 MB / 0.6265 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002283/0.6725, allocations: 0.7523 MB / 0.6272 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00336/0.6759, allocations: 2.199 MB / 0.6294 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.6769, allocations: 0.6447 MB / 0.63 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002477/0.6794, allocations: 1.027 MB / 0.631 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/0.6808, allocations: 0.6837 MB / 0.6317 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.681, allocations: 76 kB / 0.6317 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002465/0.6834, allocations: 1.232 MB / 0.6329 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004192/0.6839, allocations: 343 kB / 0.6333 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007279/0.6846, allocations: 489.8 kB / 0.6337 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002608/0.6872, allocations: 1.609 MB / 0.6353 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.6872, allocations: 0 / 0.6353 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6872, allocations: 0 / 0.6353 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.6873, allocations: 4 kB / 0.6353 GB, free: 3.609 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.002056/0.6893, allocations: 1.208 MB / 0.6365 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.6894, allocations: 11.97 kB / 0.6365 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.6906, allocations: 198.8 kB / 0.6367 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008859/0.6915, allocations: 0.6087 MB / 0.6373 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.734e-05/0.6916, allocations: 41.94 kB / 0.6373 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.709e-05/0.6917, allocations: 67.92 kB / 0.6374 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002026/0.6937, allocations: 0.7637 MB / 0.6381 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.6937, allocations: 3.938 kB / 0.6381 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.621e-05/0.6938, allocations: 31.94 kB / 0.6382 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.42e-05/0.6939, allocations: 21.31 kB / 0.6382 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3045/0.9984, allocations: 0.6789 MB / 0.6389 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.003621/1.002, allocations: 2.421 MB / 0.6412 GB, free: 162.2 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/1.004, allocations: 0.4956 MB / 0.6417 GB, free: 162.2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/1.004, allocations: 210.8 kB / 0.6419 GB, free: 162.2 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.188e-05/1.004, allocations: 6.438 kB / 0.6419 GB, free: 162.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/1.004, allocations: 41.34 kB / 0.6419 GB, free: 162.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 2.254e-06/1.004, allocations: 0.5625 kB / 0.6419 GB, free: 162.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.002775/1.007, allocations: 0.8362 MB / 0.6428 GB, free: 162.1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/1.007, allocations: 56.78 kB / 0.6428 GB, free: 162 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006284/1.007, allocations: 0.6027 MB / 0.6434 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.559e-05/1.007, allocations: 35.23 kB / 0.6434 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/1.008, allocations: 350.7 kB / 0.6438 GB, free: 161.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/1.008, allocations: 125.4 kB / 0.6439 GB, free: 161.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/1.008, allocations: 87.28 kB / 0.644 GB, free: 161.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.438e-05/1.008, allocations: 373.2 kB / 0.6443 GB, free: 161.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005569/1.009, allocations: 213 kB / 0.6445 GB, free: 161.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006345/1.009, allocations: 304.9 kB / 0.6448 GB, free: 161.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009264/1.01, allocations: 488.2 kB / 0.6453 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/1.01, allocations: 2.906 kB / 0.6453 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00119/1.011, allocations: 0.5935 MB / 0.6459 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/1.011, allocations: 5.688 kB / 0.6459 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.011, allocations: 4.562 kB / 0.6459 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/1.012, allocations: 5.594 kB / 0.6459 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005506/1.012, allocations: 111.1 kB / 0.646 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/1.012, allocations: 4.281 kB / 0.646 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008832/1.013, allocations: 106.7 kB / 0.6461 GB, free: 161 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/1.013, allocations: 14.62 kB / 0.6461 GB, free: 161 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005274/1.014, allocations: 348.4 kB / 0.6465 GB, free: 160.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002886/1.014, allocations: 250.2 kB / 0.6467 GB, free: 160.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005501/1.014, allocations: 381.5 kB / 0.6471 GB, free: 160.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.126e-06/1.014, allocations: 2.875 kB / 0.6471 GB, free: 160.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.001014/1.015, allocations: 496.6 kB / 0.6475 GB, free: 160.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/1.015, allocations: 6.188 kB / 0.6475 GB, free: 160.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/1.015, allocations: 3.219 kB / 0.6475 GB, free: 160.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/1.016, allocations: 2.875 kB / 0.6475 GB, free: 160.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004873/1.016, allocations: 82.88 kB / 0.6476 GB, free: 160.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/1.016, allocations: 6.281 kB / 0.6476 GB, free: 160.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008588/1.017, allocations: 68.03 kB / 0.6477 GB, free: 160.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/1.017, allocations: 12.97 kB / 0.6477 GB, free: 160.4 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.0002677/1.017, allocations: 213.8 kB / 0.6479 GB, free: 160.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/1.017, allocations: 69.78 kB / 0.648 GB, free: 160.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/1.018, allocations: 77.28 kB / 0.648 GB, free: 160.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.299e-06/1.018, allocations: 2.875 kB / 0.6481 GB, free: 160.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/1.018, allocations: 0.5625 kB / 0.6481 GB, free: 160.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001336/1.019, allocations: 0.5451 MB / 0.6486 GB, free: 159.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002841/1.022, allocations: 1.316 MB / 0.6499 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/1.022, allocations: 6.344 kB / 0.6499 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000804/1.023, allocations: 115.9 kB / 0.65 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.68e-05/1.023, allocations: 7.531 kB / 0.65 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.402e-05/1.023, allocations: 9.875 kB / 0.65 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-05/1.023, allocations: 5.859 kB / 0.65 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.023, allocations: 9.344 kB / 0.65 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/1.025, allocations: 0.9144 MB / 0.6509 GB, free: 158.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004876/1.026, allocations: 206.9 kB / 0.6511 GB, free: 158.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/1.026, allocations: 21.09 kB / 0.6511 GB, free: 158.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/1.027, allocations: 73.67 kB / 0.6512 GB, free: 158.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/1.027, allocations: 26.28 kB / 0.6512 GB, free: 158.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/1.027, allocations: 28.39 kB / 0.6512 GB, free: 158.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007773/1.028, allocations: 434.8 kB / 0.6517 GB, free: 158.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.91e-07/1.028, allocations: 0 / 0.6517 GB, free: 158.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001579/1.03, allocations: 377.8 kB / 0.652 GB, free: 158.3 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.0005999/1.03, allocations: 163.6 kB / 0.6522 GB, free: 158.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002269/1.033, allocations: 0.7282 MB / 0.6529 GB, free: 158 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/1.033, allocations: 2.812 kB / 0.6529 GB, free: 158 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007434/1.033, allocations: 251.5 kB / 0.6531 GB, free: 158 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002653/1.036, allocations: 436.4 kB / 0.6535 GB, free: 157.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003285/1.039, allocations: 1.697 MB / 0.6552 GB, free: 156.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005209/1.04, allocations: 0.9612 MB / 0.6561 GB, free: 156.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001264/1.041, allocations: 200.1 kB / 0.6563 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/1.041, allocations: 57.17 kB / 0.6564 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of SimCode: time 1.152e-06/1.041, allocations: 3 kB / 0.6564 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.039/1.08, allocations: 14.58 MB / 0.6706 GB, free: 155.3 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)