Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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) 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(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009199/0.009199, allocations: 98.17 kB / 15.73 MB, free: 6.012 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.002003/0.002003, allocations: 196.2 kB / 16.68 MB, free: 5.93 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.468/1.468, allocations: 205.1 MB / 222.6 MB, free: 4.477 MB / 174.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: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 50.3 kB / 326.5 MB, free: 14.56 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09369/0.09484, allocations: 46.63 MB / 373.2 MB, free: 1.426 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02016/0.1151, allocations: 19.48 MB / 392.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01763/0.1327, allocations: 6.005 MB / 398.7 MB, free: 7.832 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005066/0.1378, allocations: 159.4 kB / 398.8 MB, free: 7.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0139/0.1518, allocations: 5.849 MB / 404.7 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01412/0.166, allocations: 3.361 MB / 408 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005505/0.1715, allocations: 1.564 MB / 409.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02375/0.1953, allocations: 11.37 MB / 421 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01531/0.2107, allocations: 7.67 MB / 428.6 MB, free: 9.715 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01022/0.2209, allocations: 3.587 MB / 432.2 MB, free: 6.117 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01138/0.2324, allocations: 4.764 MB / 437 MB, free: 1.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00351/0.2359, allocations: 0.7187 MB / 437.7 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006522/0.2425, allocations: 1.662 MB / 439.4 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007797/0.2503, allocations: 4.224 MB / 443.6 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01067/0.261, allocations: 4.483 MB / 448.1 MB, free: 6.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2555/0.5166, allocations: 13.73 MB / 461.8 MB, free: 28.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.5166, allocations: 0 / 461.8 MB, free: 28.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.5166, allocations: 3.359 kB / 461.8 MB, free: 28.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005957/0.5172, allocations: 4.406 kB / 461.8 MB, free: 28.76 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.03495/0.5522, allocations: 9.94 MB / 471.8 MB, free: 24.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/0.5523, allocations: 13.36 kB / 471.8 MB, free: 24.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04676/0.599, allocations: 5.289 MB / 477.1 MB, free: 24.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01951/0.6186, allocations: 8.405 MB / 485.5 MB, free: 22.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002924/0.6189, allocations: 428.2 kB / 485.9 MB, free: 22.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003127/0.6221, allocations: 0.5804 MB / 486.5 MB, free: 22.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03421/0.6563, allocations: 16.56 MB / 0.4912 GB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003523/0.6567, allocations: 102.6 kB / 0.4913 GB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001148/0.6578, allocations: 264.7 kB / 0.4916 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003686/0.6615, allocations: 2.765 MB / 0.4943 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0283/0.6899, allocations: 13.63 MB / 0.5076 GB, free: 11.8 MB / 398.1 MB 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.1001/0.79, allocations: 67.77 MB / 0.5738 GB, free: 6.91 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02147/0.8115, allocations: 7.897 MB / 0.5815 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007642/0.8192, allocations: 4.511 MB / 0.5859 GB, free: 10.37 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0274/0.8466, allocations: 12.43 MB / 0.598 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.313e-05/0.8467, allocations: 68.06 kB / 0.5981 GB, free: 13.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=280): time 5.941e-06/0.8467, allocations: 1.094 kB / 0.5981 GB, free: 13.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=340): time 0.4254/1.272, allocations: 49.71 MB / 0.6466 GB, free: 175.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001808/1.272, allocations: 394.5 kB / 0.647 GB, free: 175 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01127/1.284, allocations: 7.202 MB / 0.654 GB, free: 172.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001262/1.285, allocations: 77.3 kB / 0.6541 GB, free: 172.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00328/1.288, allocations: 5.202 MB / 0.6592 GB, free: 168.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002143/1.29, allocations: 1.324 MB / 0.6605 GB, free: 167.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00307/1.293, allocations: 1.873 MB / 0.6623 GB, free: 166.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.132e-05/1.294, allocations: 301.1 kB / 0.6626 GB, free: 166.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005454/1.299, allocations: 4.552 MB / 0.6671 GB, free: 163.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007335/1.306, allocations: 9.265 MB / 0.6761 GB, free: 152.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01499/1.321, allocations: 14.55 MB / 0.6903 GB, free: 135.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002034/1.322, allocations: 44 kB / 0.6904 GB, free: 135.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.04095/1.363, allocations: 19.8 MB / 0.7097 GB, free: 115.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002825/1.363, allocations: 76 kB / 0.7098 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004062/1.363, allocations: 163.9 kB / 0.7099 GB, free: 115.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02146/1.385, allocations: 7.038 MB / 0.7168 GB, free: 108.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006741/1.392, allocations: 1.93 MB / 0.7187 GB, free: 106.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0451/1.437, allocations: 35.33 MB / 0.7532 GB, free: 70.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01022/1.447, allocations: 0.589 MB / 0.7538 GB, free: 70.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002065/1.449, allocations: 500 kB / 0.7542 GB, free: 69.62 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 733 * Number of states: 0 () * Number of discrete variables: 66 (cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],Mid.color[3],Mid.color[2],Mid.color[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.cylinderColor[1],Rod.color[3],Rod.color[2],Rod.color[1],Rod.body.sphereColor[3],Rod.body.sphereColor[2],Rod.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1049): * Single equations (assignments): 1043 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,93,51.6%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.008935/1.458, allocations: 3.483 MB / 0.7576 GB, free: 66.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002214/1.46, allocations: 0.6713 MB / 0.7583 GB, free: 65.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02876/1.489, allocations: 13.32 MB / 0.7713 GB, free: 52.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.905e-05/1.489, allocations: 38.41 kB / 0.7713 GB, free: 52.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.556e-05/1.489, allocations: 24 kB / 0.7714 GB, free: 52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.645e-05/1.489, allocations: 23.81 kB / 0.7714 GB, free: 51.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04884/1.538, allocations: 26.59 MB / 0.7973 GB, free: 24.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-05/1.538, allocations: 11.94 kB / 0.7974 GB, free: 24.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002105/1.54, allocations: 427.3 kB / 0.7978 GB, free: 24.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01936/1.56, allocations: 6.644 MB / 0.8043 GB, free: 17.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009168/1.561, allocations: 64 kB / 0.8043 GB, free: 17.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3/1.861, allocations: 34.02 MB / 0.8375 GB, free: 156 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/1.861, allocations: 11.69 kB / 0.8376 GB, free: 156 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03336/1.894, allocations: 18.8 MB / 0.8559 GB, free: 143.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005045/1.899, allocations: 1.42 MB / 0.8573 GB, free: 142.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002198/1.901, allocations: 60 kB / 0.8574 GB, free: 142.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004436/1.906, allocations: 307.5 kB / 0.8577 GB, free: 142.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009701/1.907, allocations: 253.4 kB / 0.8579 GB, free: 142.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002964/1.907, allocations: 91.98 kB / 0.858 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.007624/1.915, allocations: 4.603 MB / 0.8625 GB, free: 137.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.5e-07/1.915, allocations: 0 / 0.8625 GB, free: 137.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00971/1.925, allocations: 2.147 MB / 0.8646 GB, free: 135.4 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 2 (Inertia.phi,Inertia.w) * 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 (215): * Single equations (assignments): 209 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(7,87,55.1%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006569/1.925, allocations: 209.7 kB / 0.8648 GB, free: 135.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01663/1.942, allocations: 11.63 MB / 0.8761 GB, free: 123.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/1.942, allocations: 0 / 0.8761 GB, free: 123.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007835/1.95, allocations: 5.015 MB / 0.881 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009734/1.959, allocations: 0.9964 MB / 0.882 GB, free: 117.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04075/2, allocations: 19.93 MB / 0.9015 GB, free: 97.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009188/2.009, allocations: 5.561 MB / 0.9069 GB, free: 92.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006467/2.016, allocations: 2.605 MB / 0.9094 GB, free: 89.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00122/2.017, allocations: 395.3 kB / 0.9098 GB, free: 89.12 MB / 0.4981 GB Notification: Performance of SimCode: time 9.42e-07/2.017, allocations: 0 / 0.9098 GB, free: 89.12 MB / 0.4981 GB Notification: Performance of Templates: time 0.3812/2.398, allocations: 94.24 MB / 1.002 GB, free: 144.7 MB / 0.4981 GB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1)