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.001089/0.001089, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001214/0.001214, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4836/0.4836, allocations: 55.01 MB / 325.4 MB, free: 0.7383 MB / 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.0005485/0.0005485, allocations: 12 kB / 396.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4592/0.4598, allocations: 60.72 MB / 457.4 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Delays.Examples.Delay): time 0.2261/0.6859, allocations: 166.6 MB / 0.6094 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007712/0.6937, allocations: 4.355 MB / 0.6136 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009581/0.6947, allocations: 19.88 kB / 0.6136 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.696, allocations: 345.9 kB / 0.614 GB, free: 11.85 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003107/0.6991, allocations: 0.9957 MB / 0.6149 GB, free: 10.85 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001906/0.701, allocations: 0.6135 MB / 0.6155 GB, free: 10.24 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003724/0.7048, allocations: 2.573 MB / 0.618 GB, free: 7.668 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008777/0.7057, allocations: 0.5014 MB / 0.6185 GB, free: 7.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001929/0.7076, allocations: 0.848 MB / 0.6194 GB, free: 6.309 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009978/0.7086, allocations: 0.6187 MB / 0.62 GB, free: 5.688 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.298e-05/0.7087, allocations: 28 kB / 0.62 GB, free: 5.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001762/0.7105, allocations: 0.7525 MB / 0.6207 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003091/0.7108, allocations: 299 kB / 0.621 GB, free: 4.613 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002289/0.711, allocations: 197.3 kB / 0.6212 GB, free: 4.414 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.7122, allocations: 1.095 MB / 0.6223 GB, free: 3.316 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.7122, allocations: 0 / 0.6223 GB, free: 3.316 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.7122, allocations: 0 / 0.6223 GB, free: 3.316 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.7122, allocations: 0 / 0.6223 GB, free: 3.316 MB / 494.1 MB 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.00172/0.714, allocations: 1.04 MB / 0.6233 GB, free: 2.227 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.714, allocations: 12.03 kB / 0.6233 GB, free: 2.215 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.7152, allocations: 198.8 kB / 0.6235 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009077/0.7161, allocations: 0.5894 MB / 0.6241 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.347e-05/0.7161, allocations: 45.31 kB / 0.6241 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.976e-05/0.7162, allocations: 64 kB / 0.6242 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/0.7182, allocations: 0.7911 MB / 0.6249 GB, free: 492 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.7182, allocations: 4 kB / 0.6249 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.439e-05/0.7183, allocations: 20 kB / 0.625 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-05/0.7183, allocations: 21.31 kB / 0.625 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.7201, allocations: 0.7155 MB / 0.6257 GB, free: 15.72 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.003457/0.7235, allocations: 2.428 MB / 0.6281 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.7249, allocations: 0.5184 MB / 0.6286 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000345/0.7252, allocations: 216.3 kB / 0.6288 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.945e-05/0.7253, allocations: 4 kB / 0.6288 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.7253, allocations: 46.5 kB / 0.6288 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 2.525e-06/0.7254, allocations: 0 / 0.6288 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.002676/0.728, allocations: 0.8954 MB / 0.6297 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.7281, allocations: 59.39 kB / 0.6297 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007224/0.7288, allocations: 0.594 MB / 0.6303 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.063e-05/0.7289, allocations: 41.64 kB / 0.6304 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/0.7292, allocations: 348.4 kB / 0.6307 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.7293, allocations: 122.2 kB / 0.6308 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.7293, allocations: 16 kB / 0.6308 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.7295, allocations: 370.7 kB / 0.6312 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/0.73, allocations: 224.7 kB / 0.6314 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005526/0.7306, allocations: 314.5 kB / 0.6317 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000567/0.7312, allocations: 251.9 kB / 0.6319 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.7312, allocations: 4 kB / 0.6319 GB, free: 9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001331/0.7325, allocations: 0.6172 MB / 0.6325 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.7327, allocations: 134.2 kB / 0.6327 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.7327, allocations: 4 kB / 0.6327 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.7327, allocations: 4 kB / 0.6327 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005753/0.7333, allocations: 123.8 kB / 0.6328 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.876e-05/0.7333, allocations: 7.828 kB / 0.6328 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007578/0.7341, allocations: 109.5 kB / 0.6329 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.7341, allocations: 15.98 kB / 0.6329 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.35e-06/0.7341, allocations: 4 kB / 0.6329 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007178/0.7349, allocations: 415.3 kB / 0.6333 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.7349, allocations: 7.984 kB / 0.6333 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.069e-06/0.7349, allocations: 4 kB / 0.6333 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.7352, allocations: 79.91 kB / 0.6334 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.7353, allocations: 7.938 kB / 0.6334 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004819/0.7357, allocations: 79.55 kB / 0.6335 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.7358, allocations: 16.75 kB / 0.6335 GB, free: 7.363 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000396/0.7362, allocations: 313 kB / 0.6338 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.7363, allocations: 75.11 kB / 0.6339 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/0.7365, allocations: 74.17 kB / 0.634 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.7365, allocations: 4 kB / 0.634 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.7365, allocations: 0 / 0.634 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001123/0.7377, allocations: 0.5665 MB / 0.6345 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002209/0.7399, allocations: 1.353 MB / 0.6358 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.7399, allocations: 1.5 kB / 0.6358 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005563/0.7404, allocations: 120 kB / 0.6359 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.7405, allocations: 4 kB / 0.636 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.58e-05/0.7405, allocations: 15.98 kB / 0.636 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.7405, allocations: 4 kB / 0.636 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.7405, allocations: 3.938 kB / 0.636 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001819/0.7424, allocations: 0.9704 MB / 0.6369 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003118/0.7427, allocations: 212.2 kB / 0.6371 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.708e-05/0.7428, allocations: 8 kB / 0.6371 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006926/0.7435, allocations: 87.94 kB / 0.6372 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.197e-05/0.7436, allocations: 35.86 kB / 0.6373 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.687e-05/0.7436, allocations: 28.78 kB / 0.6373 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005959/0.7442, allocations: 427 kB / 0.6377 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7443, allocations: 4 kB / 0.6377 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00108/0.7453, allocations: 379.1 kB / 0.6381 GB, free: 2.551 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 (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.0004555/0.7458, allocations: 159.3 kB / 0.6382 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001592/0.7474, allocations: 0.7147 MB / 0.6389 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.7474, allocations: 0 / 0.6389 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005389/0.748, allocations: 260.7 kB / 0.6391 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/0.7499, allocations: 448.2 kB / 0.6396 GB, free: 1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2608/1.011, allocations: 1.728 MB / 0.6413 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004723/1.011, allocations: 0.9617 MB / 0.6422 GB, free: 158.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001172/1.012, allocations: 200.1 kB / 0.6424 GB, free: 158.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/1.013, allocations: 55.3 kB / 0.6424 GB, free: 158.7 MB / 0.4981 GB Notification: Performance of SimCode: time 1.623e-06/1.013, allocations: 3 kB / 0.6424 GB, free: 158.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.0255/1.038, allocations: 13.72 MB / 0.6558 GB, free: 158.1 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Delays.Examples.Delay.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: