Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.0009996/0.0009996, allocations: 86.88 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.001386/0.001386, 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.487/1.487, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.0004674/0.0004674, allocations: 18.81 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2541, allocations: 47.59 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.09077/0.3449, allocations: 101.3 MB / 427.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.05141/0.3964, allocations: 20.42 MB / 448.2 MB, free: 9.484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0247/0.4211, allocations: 0.4948 MB / 448.7 MB, free: 8.988 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01697/0.4381, allocations: 5.288 MB / 453.9 MB, free: 3.676 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2807/0.7189, allocations: 15.65 MB / 469.6 MB, free: 4.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007691/0.7266, allocations: 1.494 MB / 471.1 MB, free: 4.195 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1217/0.8483, allocations: 98.58 MB / 0.5563 GB, free: 9.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01431/0.8626, allocations: 9.31 MB / 0.5654 GB, free: 2.387 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006897/0.8696, allocations: 3.103 MB / 0.5684 GB, free: 256 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007429/0.877, allocations: 4.63 MB / 0.573 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001717/0.8788, allocations: 294.8 kB / 0.5732 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00376/0.8826, allocations: 1.139 MB / 0.5744 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005613/0.8882, allocations: 3.85 MB / 0.5781 GB, free: 8.793 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002768/0.891, allocations: 1.63 MB / 0.5797 GB, free: 8.195 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01166/0.9027, allocations: 10.99 MB / 0.5904 GB, free: 14.64 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.9027, allocations: 0 / 0.5904 GB, free: 14.64 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.9027, allocations: 0 / 0.5904 GB, free: 14.64 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004264/0.9031, allocations: 0 / 0.5904 GB, free: 14.64 MB / 478.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.01768/0.9208, allocations: 8.437 MB / 0.5987 GB, free: 6.828 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.9209, allocations: 8.031 kB / 0.5987 GB, free: 6.82 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03726/0.9582, allocations: 5.4 MB / 0.604 GB, free: 1.605 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0178/0.976, allocations: 8.216 MB / 0.612 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003702/0.9764, allocations: 447.6 kB / 0.6124 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00239/0.9788, allocations: 0.6169 MB / 0.613 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3675/1.346, allocations: 17.14 MB / 0.6298 GB, free: 209.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004735/1.347, allocations: 100.2 kB / 0.6299 GB, free: 209.1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001172/1.348, allocations: 280 kB / 0.6301 GB, free: 209.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004844/1.353, allocations: 2.858 MB / 0.6329 GB, free: 209.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02913/1.382, allocations: 14.04 MB / 0.6466 GB, free: 203.2 MB / 494.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.08493/1.467, allocations: 69.46 MB / 0.7145 GB, free: 135 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01719/1.484, allocations: 7.489 MB / 0.7218 GB, free: 127.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00527/1.49, allocations: 4.454 MB / 0.7261 GB, free: 122.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01938/1.509, allocations: 12.75 MB / 0.7386 GB, free: 110 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.544e-05/1.509, allocations: 64.56 kB / 0.7386 GB, free: 109.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=293): time 6.903e-06/1.509, allocations: 3.844 kB / 0.7386 GB, free: 109.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=365): time 0.1304/1.64, allocations: 43.93 MB / 0.7815 GB, free: 66.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/1.64, allocations: 394.3 kB / 0.7819 GB, free: 65.65 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.012/1.652, allocations: 7.342 MB / 0.7891 GB, free: 58.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001348/1.653, allocations: 81.7 kB / 0.7892 GB, free: 58.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003624/1.657, allocations: 5.238 MB / 0.7943 GB, free: 53.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002338/1.659, allocations: 1.347 MB / 0.7956 GB, free: 51.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007006/1.66, allocations: 192 kB / 0.7958 GB, free: 51.49 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000382/1.66, allocations: 0.703 MB / 0.7965 GB, free: 50.78 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005613/1.666, allocations: 4.243 MB / 0.8006 GB, free: 46.53 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008744/1.675, allocations: 9.156 MB / 0.8096 GB, free: 35 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008446/1.683, allocations: 6.073 MB / 0.8155 GB, free: 28.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.812e-05/1.683, allocations: 48 kB / 0.8155 GB, free: 28.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.0343/1.718, allocations: 17.91 MB / 0.833 GB, free: 10.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001814/1.718, allocations: 84.03 kB / 0.8331 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002348/1.718, allocations: 167.9 kB / 0.8333 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01427/1.732, allocations: 5.312 MB / 0.8384 GB, free: 5.328 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006756/1.739, allocations: 2.012 MB / 0.8404 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2734/2.012, allocations: 29.02 MB / 0.8688 GB, free: 176.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009136/2.022, allocations: 0.5594 MB / 0.8693 GB, free: 176.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002342/2.024, allocations: 0.515 MB / 0.8698 GB, free: 176.2 MB / 494.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,72.0%) 101,(1,100.0%) 4} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.007171/2.031, allocations: 3.617 MB / 0.8733 GB, free: 174.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001668/2.033, allocations: 0.6609 MB / 0.874 GB, free: 174.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02039/2.053, allocations: 11.25 MB / 0.885 GB, free: 171.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.866e-05/2.053, allocations: 37.72 kB / 0.885 GB, free: 171.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-05/2.053, allocations: 19.06 kB / 0.885 GB, free: 171.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.54e-05/2.054, allocations: 22.31 kB / 0.885 GB, free: 171.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03864/2.092, allocations: 22.13 MB / 0.9067 GB, free: 150.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-05/2.092, allocations: 11.98 kB / 0.9067 GB, free: 150.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002025/2.094, allocations: 447.3 kB / 0.9071 GB, free: 150.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0123/2.107, allocations: 5.035 MB / 0.912 GB, free: 145.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008468/2.107, allocations: 69.17 kB / 0.9121 GB, free: 145.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0311/2.139, allocations: 28.4 MB / 0.9398 GB, free: 116.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/2.139, allocations: 19.83 kB / 0.9398 GB, free: 116.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02502/2.164, allocations: 16.45 MB / 0.9559 GB, free: 100.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003548/2.167, allocations: 1.343 MB / 0.9572 GB, free: 98.95 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001587/2.169, allocations: 69 kB / 0.9573 GB, free: 98.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00352/2.172, allocations: 275.4 kB / 0.9575 GB, free: 98.62 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008943/2.173, allocations: 270.8 kB / 0.9578 GB, free: 98.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002827/2.174, allocations: 92 kB / 0.9579 GB, free: 98.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008142/2.182, allocations: 4.687 MB / 0.9625 GB, free: 93.61 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.72e-07/2.182, allocations: 0 / 0.9625 GB, free: 93.61 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01037/2.192, allocations: 2.186 MB / 0.9646 GB, free: 91.43 MB / 494.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,72.0%) 96,(1,100.0%) 4} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008278/2.193, allocations: 228.6 kB / 0.9648 GB, free: 91.22 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01573/2.209, allocations: 10.74 MB / 0.9753 GB, free: 80.51 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.6e-05/2.209, allocations: 4 kB / 0.9753 GB, free: 80.51 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006468/2.215, allocations: 4.464 MB / 0.9797 GB, free: 76 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007222/2.223, allocations: 0.9833 MB / 0.9806 GB, free: 75.04 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03367/2.256, allocations: 22.41 MB / 1.002 GB, free: 52.79 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007909/2.264, allocations: 5.77 MB / 1.008 GB, free: 46.98 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007708/2.272, allocations: 2.751 MB / 1.011 GB, free: 44.22 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001628/2.274, allocations: 407.4 kB / 1.011 GB, free: 43.82 MB / 494.1 MB Notification: Performance of SimCode: time 1.062e-06/2.274, allocations: 0 / 1.011 GB, free: 43.82 MB / 494.1 MB Notification: Performance of Templates: time 0.3603/2.634, allocations: 90.83 MB / 1.1 GB, free: 132.9 MB / 494.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1)