Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.007667/0.007667, allocations: 103.8 kB / 15.74 MB, free: 6.449 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.001634/0.001634, allocations: 195.5 kB / 16.67 MB, free: 6.355 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.471/1.471, allocations: 205.1 MB / 222.6 MB, free: 4.539 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.00127/0.00127, allocations: 49.39 kB / 326.6 MB, free: 14.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1063, allocations: 46.62 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02233/0.1286, allocations: 19.48 MB / 392.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01374/0.1424, allocations: 6.005 MB / 398.7 MB, free: 7.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004001/0.1465, allocations: 159.4 kB / 398.8 MB, free: 7.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01102/0.1575, allocations: 5.849 MB / 404.7 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009782/0.1674, allocations: 3.463 MB / 408.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00469/0.1721, allocations: 1.576 MB / 409.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01985/0.1919, allocations: 11.36 MB / 421.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01165/0.2036, allocations: 7.682 MB / 428.7 MB, free: 9.496 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00703/0.2107, allocations: 3.595 MB / 432.3 MB, free: 5.891 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007714/0.2184, allocations: 4.787 MB / 437.1 MB, free: 1.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002531/0.221, allocations: 0.7148 MB / 437.8 MB, free: 384 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004743/0.2258, allocations: 1.674 MB / 439.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005645/0.2314, allocations: 4.298 MB / 443.8 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008135/0.2396, allocations: 4.483 MB / 448.3 MB, free: 5.883 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2157/0.4553, allocations: 13.73 MB / 462 MB, free: 28.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/0.4554, allocations: 3.938 kB / 462 MB, free: 28.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4554, allocations: 0 / 462 MB, free: 28.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005704/0.456, allocations: 1.562 kB / 462 MB, free: 28.87 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.03651/0.4925, allocations: 9.943 MB / 472 MB, free: 25.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.4926, allocations: 11.56 kB / 472 MB, free: 25.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05025/0.5428, allocations: 5.287 MB / 477.3 MB, free: 24.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02272/0.5656, allocations: 8.409 MB / 485.7 MB, free: 22.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004139/0.566, allocations: 428.4 kB / 486.1 MB, free: 22.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003603/0.5697, allocations: 0.5818 MB / 486.7 MB, free: 22.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0298/0.5995, allocations: 16.56 MB / 0.4914 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002582/0.5998, allocations: 101.7 kB / 0.4915 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00081/0.6006, allocations: 267.1 kB / 0.4918 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003819/0.6044, allocations: 2.768 MB / 0.4945 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0281/0.6325, allocations: 13.62 MB / 0.5078 GB, free: 11.84 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.1051/0.7377, allocations: 67.78 MB / 0.574 GB, free: 6.957 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02073/0.7585, allocations: 7.903 MB / 0.5817 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006049/0.7646, allocations: 4.505 MB / 0.5861 GB, free: 10.44 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02663/0.7912, allocations: 12.43 MB / 0.5983 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.103e-05/0.7914, allocations: 75.67 kB / 0.5983 GB, free: 13.83 MB / 494.1 MB Notification: Performance of pre-optimization done (n=280): time 5.65e-06/0.7914, allocations: 0 / 0.5983 GB, free: 13.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=340): time 0.421/1.212, allocations: 49.69 MB / 0.6469 GB, free: 173 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/1.212, allocations: 403.6 kB / 0.6472 GB, free: 172.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009498/1.222, allocations: 7.195 MB / 0.6543 GB, free: 170.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008553/1.223, allocations: 78.86 kB / 0.6543 GB, free: 170 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002966/1.226, allocations: 5.205 MB / 0.6594 GB, free: 166.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001957/1.228, allocations: 1.32 MB / 0.6607 GB, free: 165.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002802/1.231, allocations: 1.887 MB / 0.6626 GB, free: 164.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.417e-05/1.231, allocations: 305 kB / 0.6628 GB, free: 163.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005263/1.236, allocations: 4.544 MB / 0.6673 GB, free: 161.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006859/1.243, allocations: 9.27 MB / 0.6763 GB, free: 150.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01433/1.257, allocations: 14.54 MB / 0.6905 GB, free: 133.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001384/1.257, allocations: 48 kB / 0.6906 GB, free: 133.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.03939/1.297, allocations: 19.8 MB / 0.7099 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.902e-05/1.297, allocations: 78.56 kB / 0.71 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001278/1.297, allocations: 160 kB / 0.7101 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01871/1.316, allocations: 7.044 MB / 0.717 GB, free: 106.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006097/1.322, allocations: 1.926 MB / 0.7189 GB, free: 104.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03936/1.361, allocations: 35.33 MB / 0.7534 GB, free: 68.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008745/1.37, allocations: 0.5876 MB / 0.754 GB, free: 68.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001141/1.371, allocations: 0.4921 MB / 0.7545 GB, free: 67.78 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.005756/1.377, allocations: 3.483 MB / 0.7579 GB, free: 64.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001228/1.378, allocations: 0.6674 MB / 0.7585 GB, free: 63.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02473/1.403, allocations: 13.33 MB / 0.7715 GB, free: 50.22 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.475e-05/1.403, allocations: 32 kB / 0.7716 GB, free: 50.19 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.939e-05/1.403, allocations: 23.94 kB / 0.7716 GB, free: 50.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-05/1.403, allocations: 19.94 kB / 0.7716 GB, free: 50.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05058/1.454, allocations: 26.61 MB / 0.7976 GB, free: 23.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-05/1.454, allocations: 8 kB / 0.7976 GB, free: 23.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00199/1.456, allocations: 416.2 kB / 0.798 GB, free: 22.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01965/1.476, allocations: 6.649 MB / 0.8045 GB, free: 16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009659/1.477, allocations: 63.98 kB / 0.8045 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3007/1.777, allocations: 34.02 MB / 0.8378 GB, free: 153.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.457e-06/1.777, allocations: 9.719 kB / 0.8378 GB, free: 153.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03384/1.811, allocations: 18.81 MB / 0.8561 GB, free: 142.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006319/1.818, allocations: 1.41 MB / 0.8575 GB, free: 141.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002922/1.82, allocations: 69.33 kB / 0.8576 GB, free: 141.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005301/1.826, allocations: 307.2 kB / 0.8579 GB, free: 141.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001204/1.827, allocations: 244.6 kB / 0.8581 GB, free: 141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003129/1.827, allocations: 89.33 kB / 0.8582 GB, free: 141 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.008317/1.836, allocations: 4.611 MB / 0.8627 GB, free: 136.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.11e-07/1.836, allocations: 0 / 0.8627 GB, free: 136.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01215/1.848, allocations: 2.144 MB / 0.8648 GB, free: 134.2 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.001017/1.849, allocations: 215.7 kB / 0.865 GB, free: 134 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01641/1.865, allocations: 11.63 MB / 0.8764 GB, free: 122.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.865, allocations: 4 kB / 0.8764 GB, free: 122.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007798/1.873, allocations: 5.021 MB / 0.8813 GB, free: 117.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00758/1.881, allocations: 0.9916 MB / 0.8822 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03744/1.918, allocations: 19.94 MB / 0.9017 GB, free: 96.58 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007552/1.926, allocations: 5.549 MB / 0.9071 GB, free: 90.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006032/1.932, allocations: 2.617 MB / 0.9097 GB, free: 88.37 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001215/1.933, allocations: 391.4 kB / 0.91 GB, free: 87.98 MB / 0.4981 GB Notification: Performance of SimCode: time 6.71e-07/1.933, allocations: 4 kB / 0.91 GB, free: 87.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.3792/2.312, allocations: 94.24 MB / 1.002 GB, free: 169.3 MB / 0.5137 GB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1)