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.001119/0.001119, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.409/1.409, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001216/0.001216, allocations: 59.86 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2438, allocations: 46.63 MB / 325.3 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.01851/0.2623, allocations: 19.5 MB / 344.8 MB, free: 368 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01356/0.2759, allocations: 5.986 MB / 350.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004762/0.2807, allocations: 159.4 kB / 350.9 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0107/0.2915, allocations: 5.856 MB / 356.8 MB, free: 4.324 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01012/0.3016, allocations: 3.365 MB / 360.2 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00362/0.3053, allocations: 1.56 MB / 361.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01612/0.3214, allocations: 11.39 MB / 373.1 MB, free: 3.965 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009558/0.331, allocations: 7.678 MB / 380.8 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006541/0.3376, allocations: 3.571 MB / 384.4 MB, free: 8.617 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00688/0.3445, allocations: 4.764 MB / 389.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001933/0.3465, allocations: 0.7148 MB / 389.8 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003644/0.3501, allocations: 1.666 MB / 391.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004439/0.3546, allocations: 4.224 MB / 395.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007784/0.3624, allocations: 4.495 MB / 400.2 MB, free: 8.703 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01608/0.3785, allocations: 13.36 MB / 413.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.3786, allocations: 0 / 413.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3786, allocations: 0 / 413.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004143/0.379, allocations: 0 / 413.6 MB, free: 11.3 MB / 350.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.02501/0.404, allocations: 9.695 MB / 423.3 MB, free: 1.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.4041, allocations: 8.031 kB / 423.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04576/0.4499, allocations: 5.236 MB / 428.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01916/0.4691, allocations: 8.195 MB / 436.7 MB, free: 3.992 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003908/0.4695, allocations: 427.4 kB / 437.1 MB, free: 3.574 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002359/0.4719, allocations: 0.5892 MB / 437.7 MB, free: 2.984 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03619/0.5081, allocations: 16.55 MB / 454.3 MB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005035/0.5086, allocations: 99.11 kB / 454.4 MB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001909/0.5106, allocations: 263.8 kB / 454.6 MB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.322/0.8326, allocations: 2.765 MB / 457.4 MB, free: 102.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02576/0.8584, allocations: 13.63 MB / 471 MB, free: 98.23 MB / 382.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.06741/0.9258, allocations: 67.99 MB / 0.5264 GB, free: 29.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01728/0.9432, allocations: 7.892 MB / 0.5341 GB, free: 21.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004355/0.9476, allocations: 4.502 MB / 0.5385 GB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01537/0.9629, allocations: 12.42 MB / 0.5506 GB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.963, allocations: 68.5 kB / 0.5507 GB, free: 4.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=280): time 5.15e-06/0.963, allocations: 0 / 0.5507 GB, free: 4.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=340): time 0.1841/1.147, allocations: 49.27 MB / 0.5988 GB, free: 3.145 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002232/1.147, allocations: 402 kB / 0.5992 GB, free: 2.664 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1874/1.335, allocations: 7.179 MB / 0.6062 GB, free: 138.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001198/1.336, allocations: 76.86 kB / 0.6063 GB, free: 138.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004637/1.341, allocations: 5.036 MB / 0.6112 GB, free: 135.9 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001945/1.343, allocations: 1.264 MB / 0.6124 GB, free: 135 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003209/1.346, allocations: 1.859 MB / 0.6142 GB, free: 134.1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.613e-05/1.346, allocations: 308.8 kB / 0.6145 GB, free: 133.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005745/1.352, allocations: 4.55 MB / 0.619 GB, free: 132.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008096/1.36, allocations: 9.266 MB / 0.628 GB, free: 124.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01583/1.376, allocations: 14.55 MB / 0.6422 GB, free: 113.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001729/1.376, allocations: 43.62 kB / 0.6423 GB, free: 113.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.0385/1.414, allocations: 19.77 MB / 0.6616 GB, free: 96.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000101/1.415, allocations: 76.03 kB / 0.6617 GB, free: 96.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001478/1.415, allocations: 160 kB / 0.6618 GB, free: 96.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.019/1.434, allocations: 7.047 MB / 0.6687 GB, free: 89.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005823/1.44, allocations: 1.93 MB / 0.6706 GB, free: 87.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03925/1.479, allocations: 35.32 MB / 0.7051 GB, free: 51.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009471/1.488, allocations: 0.5812 MB / 0.7056 GB, free: 51.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001764/1.49, allocations: 500 kB / 0.7061 GB, free: 50.69 MB / 430.1 MB 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.005392/1.496, allocations: 3.487 MB / 0.7095 GB, free: 47.19 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001347/1.497, allocations: 0.6402 MB / 0.7101 GB, free: 46.54 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0248/1.522, allocations: 13.33 MB / 0.7232 GB, free: 33.14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.79e-05/1.522, allocations: 32 kB / 0.7232 GB, free: 33.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.352e-05/1.522, allocations: 20 kB / 0.7232 GB, free: 33.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-05/1.522, allocations: 15.95 kB / 0.7232 GB, free: 33.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04391/1.566, allocations: 26.73 MB / 0.7493 GB, free: 5.855 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.48e-05/1.566, allocations: 4 kB / 0.7493 GB, free: 5.852 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00198/1.568, allocations: 427.3 kB / 0.7497 GB, free: 5.434 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0193/1.587, allocations: 6.656 MB / 0.7562 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00082/1.588, allocations: 65.44 kB / 0.7563 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2524/1.841, allocations: 34.01 MB / 0.7895 GB, free: 129.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/1.841, allocations: 11.09 kB / 0.7895 GB, free: 129.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03062/1.871, allocations: 18.76 MB / 0.8079 GB, free: 118.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004672/1.876, allocations: 1.389 MB / 0.8092 GB, free: 117.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003067/1.879, allocations: 60 kB / 0.8093 GB, free: 117.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005211/1.884, allocations: 309.1 kB / 0.8096 GB, free: 117.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009862/1.885, allocations: 239.5 kB / 0.8098 GB, free: 117 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002782/1.886, allocations: 99.83 kB / 0.8099 GB, free: 116.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006577/1.892, allocations: 4.603 MB / 0.8144 GB, free: 112.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.01e-07/1.892, allocations: 4 kB / 0.8144 GB, free: 112.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01035/1.903, allocations: 2.143 MB / 0.8165 GB, free: 110.2 MB / 446.1 MB 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.0007808/1.903, allocations: 218.1 kB / 0.8167 GB, free: 110 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02297/1.926, allocations: 14.45 MB / 0.8308 GB, free: 95.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/1.926, allocations: 7.469 kB / 0.8308 GB, free: 95.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008202/1.935, allocations: 5.009 MB / 0.8357 GB, free: 90.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006963/1.942, allocations: 0.9888 MB / 0.8367 GB, free: 89.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03549/1.977, allocations: 19.86 MB / 0.8561 GB, free: 69.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007257/1.984, allocations: 5.559 MB / 0.8615 GB, free: 64.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006569/1.991, allocations: 2.609 MB / 0.864 GB, free: 61.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001622/1.993, allocations: 391.4 kB / 0.8644 GB, free: 61.31 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/1.993, allocations: 0 / 0.8644 GB, free: 61.31 MB / 446.1 MB Notification: Performance of Templates: time 0.372/2.365, allocations: 99.24 MB / 0.9613 GB, free: 111.5 MB / 446.1 MB 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)