Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.Engine1b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007585/0.0007585, allocations: 96.67 kB / 16.65 MB, free: 6.191 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.0008641/0.0008641, allocations: 181.8 kB / 17.57 MB, free: 5.805 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.387/1.387, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004966/0.0004967, allocations: 8 kB / 280.7 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1048, allocations: 47.58 MB / 328.3 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.3148/0.4196, allocations: 109 MB / 437.3 MB, free: 9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.05816/0.4778, allocations: 21.23 MB / 458.5 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03355/0.5114, allocations: 0.4987 MB / 459 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004216/0.5157, allocations: 0.7344 MB / 459.7 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01294/0.5287, allocations: 3.289 MB / 463 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005694/0.5344, allocations: 1.55 MB / 464.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02254/0.557, allocations: 16.34 MB / 480.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01898/0.576, allocations: 10.69 MB / 491.6 MB, free: 2.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007655/0.5837, allocations: 2.86 MB / 494.5 MB, free: 112 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008645/0.5924, allocations: 4.653 MB / 499.1 MB, free: 11.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002385/0.5948, allocations: 292 kB / 499.4 MB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005328/0.6002, allocations: 1.315 MB / 0.489 GB, free: 9.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006217/0.6064, allocations: 3.864 MB / 0.4928 GB, free: 5.965 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009791/0.6163, allocations: 4.043 MB / 0.4967 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01848/0.6348, allocations: 13.22 MB / 0.5096 GB, free: 4.621 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.6348, allocations: 3.984 kB / 0.5096 GB, free: 4.617 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.6348, allocations: 0 / 0.5096 GB, free: 4.617 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005622/0.6354, allocations: 8 kB / 0.5096 GB, free: 4.609 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2489 * Number of variables: 2489 Notification: Performance of Generate backend data structure: time 0.02255/0.658, allocations: 8.322 MB / 0.5178 GB, free: 12.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.6581, allocations: 16.02 kB / 0.5178 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0479/0.706, allocations: 5.396 MB / 0.523 GB, free: 6.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3369/1.043, allocations: 8.369 MB / 0.5312 GB, free: 148.7 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004858/1.043, allocations: 447.7 kB / 0.5316 GB, free: 148.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002247/1.046, allocations: 0.6093 MB / 0.5322 GB, free: 148.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03234/1.078, allocations: 17.21 MB / 0.549 GB, free: 141.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002863/1.078, allocations: 98.48 kB / 0.5491 GB, free: 141.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007941/1.079, allocations: 280.6 kB / 0.5494 GB, free: 141.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003797/1.083, allocations: 2.858 MB / 0.5522 GB, free: 140.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02606/1.109, allocations: 14.1 MB / 0.566 GB, free: 126.5 MB / 430.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.07769/1.187, allocations: 69.48 MB / 0.6338 GB, free: 55.69 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01778/1.205, allocations: 7.508 MB / 0.6412 GB, free: 48.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005406/1.21, allocations: 4.465 MB / 0.6455 GB, free: 43.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01999/1.23, allocations: 12.76 MB / 0.658 GB, free: 30.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.561e-05/1.23, allocations: 68.5 kB / 0.658 GB, free: 30.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=293): time 5.32e-06/1.23, allocations: 0 / 0.658 GB, free: 30.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=365): time 0.3933/1.624, allocations: 43.91 MB / 0.7009 GB, free: 132.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001755/1.624, allocations: 396.6 kB / 0.7013 GB, free: 132.1 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01224/1.636, allocations: 7.39 MB / 0.7085 GB, free: 129.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009362/1.637, allocations: 81.02 kB / 0.7086 GB, free: 129.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003504/1.641, allocations: 5.242 MB / 0.7137 GB, free: 125.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001768/1.642, allocations: 1.349 MB / 0.715 GB, free: 124.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001146/1.643, allocations: 0.8374 MB / 0.7158 GB, free: 124.1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.457e-05/1.644, allocations: 308.9 kB / 0.7161 GB, free: 123.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005385/1.649, allocations: 4.282 MB / 0.7203 GB, free: 122.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00827/1.657, allocations: 9.189 MB / 0.7293 GB, free: 114.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0179/1.675, allocations: 14.25 MB / 0.7432 GB, free: 102.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001504/1.675, allocations: 48.94 kB / 0.7432 GB, free: 102.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.03296/1.708, allocations: 18.01 MB / 0.7608 GB, free: 84.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/1.708, allocations: 76 kB / 0.7609 GB, free: 84.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001778/1.709, allocations: 168 kB / 0.7611 GB, free: 84.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01459/1.723, allocations: 5.337 MB / 0.7663 GB, free: 78.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006366/1.73, allocations: 2.004 MB / 0.7682 GB, free: 76.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03458/1.764, allocations: 29.03 MB / 0.7966 GB, free: 47.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01001/1.774, allocations: 0.5549 MB / 0.7971 GB, free: 46.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001833/1.776, allocations: 0.5194 MB / 0.7976 GB, free: 46.28 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 762 * Number of states: 0 () * Number of discrete variables: 72 (Rod3.color[3],Rod3.color[2],Rod3.color[1],Rod1.color[3],Rod1.color[2],Rod1.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Mid.color[3],Mid.color[2],Mid.color[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.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],Rod2.color[3],Rod2.color[2],Rod2.color[1],Rod2.body.sphereColor[3],Rod2.body.sphereColor[2],Rod2.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 (1102): * Single equations (assignments): 1096 * 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 {(6,100,72.2%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.006803/1.783, allocations: 3.623 MB / 0.8012 GB, free: 42.65 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001632/1.785, allocations: 0.6634 MB / 0.8018 GB, free: 41.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02086/1.805, allocations: 11.27 MB / 0.8128 GB, free: 30.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.7e-05/1.806, allocations: 36 kB / 0.8129 GB, free: 30.6 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.13e-05/1.806, allocations: 20 kB / 0.8129 GB, free: 30.58 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.351e-05/1.806, allocations: 19.94 kB / 0.8129 GB, free: 30.56 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04263/1.848, allocations: 22.16 MB / 0.8345 GB, free: 8.188 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.847e-05/1.848, allocations: 11.98 kB / 0.8345 GB, free: 8.176 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002257/1.851, allocations: 451.3 kB / 0.835 GB, free: 7.734 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01429/1.865, allocations: 5.035 MB / 0.8399 GB, free: 2.688 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001118/1.866, allocations: 68.75 kB / 0.84 GB, free: 2.621 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3168/2.183, allocations: 28.43 MB / 0.8677 GB, free: 130.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.408e-06/2.183, allocations: 10.5 kB / 0.8677 GB, free: 130.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02935/2.213, allocations: 16.49 MB / 0.8838 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004615/2.217, allocations: 1.346 MB / 0.8851 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002631/2.22, allocations: 64.72 kB / 0.8852 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004997/2.225, allocations: 274.8 kB / 0.8855 GB, free: 123.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001103/2.226, allocations: 267.8 kB / 0.8857 GB, free: 123.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002735/2.226, allocations: 101 kB / 0.8858 GB, free: 123.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.008568/2.235, allocations: 4.731 MB / 0.8904 GB, free: 120.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.81e-07/2.235, allocations: 0 / 0.8904 GB, free: 120.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01289/2.248, allocations: 2.18 MB / 0.8926 GB, free: 118.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * 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 (241): * Single equations (assignments): 235 * 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 {(5,96,72.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001113/2.249, allocations: 219.3 kB / 0.8928 GB, free: 118.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01671/2.266, allocations: 10.84 MB / 0.9034 GB, free: 107.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.548e-05/2.266, allocations: 4 kB / 0.9034 GB, free: 107.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006403/2.272, allocations: 4.466 MB / 0.9077 GB, free: 103.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01607/2.288, allocations: 0.9782 MB / 0.9087 GB, free: 102.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03712/2.325, allocations: 23.38 MB / 0.9315 GB, free: 79.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007906/2.333, allocations: 5.764 MB / 0.9372 GB, free: 73.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.007424/2.341, allocations: 2.748 MB / 0.9398 GB, free: 70.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001455/2.342, allocations: 415.9 kB / 0.9402 GB, free: 70.04 MB / 446.1 MB Notification: Performance of SimCode: time 2.154e-06/2.342, allocations: 0 / 0.9402 GB, free: 70.04 MB / 446.1 MB Notification: Performance of Templates: time 0.3833/2.726, allocations: 92.78 MB / 1.031 GB, free: 114.6 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1)