Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001102/0.001102, allocations: 111.1 kB / 17.06 MB, free: 6.113 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.001198/0.001198, allocations: 199 kB / 18 MB, free: 5.188 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.389/1.389, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.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.001244/0.001244, allocations: 47.94 kB / 327.9 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09782/0.09907, allocations: 46.61 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.257/0.3561, allocations: 19.5 MB / 394 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0164/0.3726, allocations: 5.997 MB / 400 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006106/0.3787, allocations: 156.6 kB / 400.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01327/0.3921, allocations: 5.852 MB / 406 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01176/0.4039, allocations: 3.367 MB / 409.3 MB, free: 8.242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00437/0.4083, allocations: 1.569 MB / 410.9 MB, free: 7.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01931/0.4276, allocations: 11.37 MB / 422.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0124/0.44, allocations: 7.668 MB / 430 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007972/0.448, allocations: 3.599 MB / 433.5 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009527/0.4576, allocations: 4.779 MB / 438.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004624/0.4623, allocations: 0.7187 MB / 439 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007061/0.4694, allocations: 1.678 MB / 440.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006741/0.4761, allocations: 4.302 MB / 445 MB, free: 8.812 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008278/0.4845, allocations: 4.48 MB / 449.5 MB, free: 4.309 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01921/0.5037, allocations: 13.69 MB / 463.2 MB, free: 6.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.5037, allocations: 0 / 463.2 MB, free: 6.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5038, allocations: 0 / 463.2 MB, free: 6.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000447/0.5042, allocations: 0 / 463.2 MB, free: 6.574 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.02699/0.5312, allocations: 9.696 MB / 472.9 MB, free: 12.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.31e-05/0.5313, allocations: 8.031 kB / 472.9 MB, free: 12.78 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04921/0.5805, allocations: 5.244 MB / 478.1 MB, free: 7.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02302/0.6036, allocations: 8.367 MB / 486.5 MB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005042/0.6042, allocations: 427.6 kB / 486.9 MB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003126/0.6073, allocations: 0.5814 MB / 487.5 MB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03742/0.6447, allocations: 16.56 MB / 0.4923 GB, free: 12.47 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004638/0.6453, allocations: 103.1 kB / 0.4924 GB, free: 12.37 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001885/0.6472, allocations: 263.8 kB / 0.4926 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004817/0.652, allocations: 2.76 MB / 0.4953 GB, free: 9.352 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03014/0.6822, allocations: 13.63 MB / 0.5086 GB, free: 11.7 MB / 446.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.5158/1.198, allocations: 67.65 MB / 0.5747 GB, free: 105.2 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02184/1.22, allocations: 7.902 MB / 0.5824 GB, free: 104.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006298/1.226, allocations: 4.508 MB / 0.5868 GB, free: 102.4 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02123/1.248, allocations: 12.42 MB / 0.5989 GB, free: 96.72 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.624e-05/1.248, allocations: 64.41 kB / 0.599 GB, free: 96.66 MB / 478.1 MB Notification: Performance of pre-optimization done (n=280): time 5.951e-06/1.248, allocations: 0 / 0.599 GB, free: 96.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=340): time 0.1613/1.409, allocations: 49.28 MB / 0.6471 GB, free: 58.48 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/1.409, allocations: 394.1 kB / 0.6475 GB, free: 58.01 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008837/1.418, allocations: 7.183 MB / 0.6545 GB, free: 50.85 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000826/1.419, allocations: 85.06 kB / 0.6546 GB, free: 50.76 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002419/1.421, allocations: 5.027 MB / 0.6595 GB, free: 45.73 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001751/1.423, allocations: 1.274 MB / 0.6607 GB, free: 44.47 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002502/1.426, allocations: 1.86 MB / 0.6626 GB, free: 42.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.793e-05/1.426, allocations: 305.1 kB / 0.6628 GB, free: 42.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004894/1.431, allocations: 4.547 MB / 0.6673 GB, free: 37.74 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006985/1.438, allocations: 9.276 MB / 0.6763 GB, free: 26.25 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01373/1.451, allocations: 14.54 MB / 0.6905 GB, free: 9.469 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.756e-05/1.451, allocations: 44 kB / 0.6906 GB, free: 9.426 MB / 478.1 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.0397/1.491, allocations: 19.76 MB / 0.7099 GB, free: 5.613 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/1.491, allocations: 72 kB / 0.71 GB, free: 5.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001899/1.492, allocations: 160 kB / 0.7101 GB, free: 5.387 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02253/1.514, allocations: 7.048 MB / 0.717 GB, free: 14.32 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006942/1.521, allocations: 1.926 MB / 0.7189 GB, free: 12.39 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2895/1.811, allocations: 35.31 MB / 0.7533 GB, free: 166.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009076/1.82, allocations: 0.5846 MB / 0.7539 GB, free: 166.1 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002123/1.822, allocations: 0.4885 MB / 0.7544 GB, free: 166.1 MB / 0.5138 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.008856/1.831, allocations: 3.482 MB / 0.7578 GB, free: 165.7 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001804/1.833, allocations: 0.6394 MB / 0.7584 GB, free: 165.7 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03099/1.864, allocations: 13.33 MB / 0.7714 GB, free: 161.6 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001094/1.864, allocations: 38.25 kB / 0.7715 GB, free: 161.6 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.856e-05/1.864, allocations: 20.09 kB / 0.7715 GB, free: 161.6 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.925e-05/1.864, allocations: 17.44 kB / 0.7715 GB, free: 161.6 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05139/1.915, allocations: 26.6 MB / 0.7975 GB, free: 150.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.074e-05/1.915, allocations: 8.625 kB / 0.7975 GB, free: 150.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001864/1.917, allocations: 423 kB / 0.7979 GB, free: 150.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0193/1.937, allocations: 6.642 MB / 0.8044 GB, free: 147.4 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001121/1.938, allocations: 60.94 kB / 0.8044 GB, free: 147.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03853/1.976, allocations: 34.01 MB / 0.8377 GB, free: 113.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/1.976, allocations: 11.94 kB / 0.8377 GB, free: 113.4 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03047/2.007, allocations: 18.77 MB / 0.856 GB, free: 94.83 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005873/2.013, allocations: 1.383 MB / 0.8573 GB, free: 93.52 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001486/2.014, allocations: 66.83 kB / 0.8574 GB, free: 93.46 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003764/2.018, allocations: 303.5 kB / 0.8577 GB, free: 93.16 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009269/2.019, allocations: 248.5 kB / 0.8579 GB, free: 92.92 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002729/2.019, allocations: 90 kB / 0.858 GB, free: 92.83 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007218/2.026, allocations: 4.607 MB / 0.8625 GB, free: 88.25 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.51e-07/2.026, allocations: 0 / 0.8625 GB, free: 88.25 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01132/2.038, allocations: 2.147 MB / 0.8646 GB, free: 86.11 MB / 0.5138 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.000928/2.039, allocations: 211.9 kB / 0.8648 GB, free: 85.91 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01699/2.056, allocations: 11.62 MB / 0.8762 GB, free: 74.32 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/2.056, allocations: 4 kB / 0.8762 GB, free: 74.31 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007745/2.064, allocations: 5.011 MB / 0.8811 GB, free: 69.26 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006685/2.07, allocations: 0.9968 MB / 0.882 GB, free: 68.3 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03356/2.104, allocations: 19.65 MB / 0.9012 GB, free: 48.61 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006582/2.11, allocations: 5.56 MB / 0.9067 GB, free: 43.01 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005797/2.116, allocations: 2.613 MB / 0.9092 GB, free: 40.39 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/2.118, allocations: 391.4 kB / 0.9096 GB, free: 40.01 MB / 0.5138 GB Notification: Performance of SimCode: time 1.212e-06/2.118, allocations: 0 / 0.9096 GB, free: 40.01 MB / 0.5138 GB Notification: Performance of Templates: time 0.3932/2.511, allocations: 95.51 MB / 1.003 GB, free: 126.9 MB / 0.5138 GB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1)