Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.001304/0.001304, allocations: 108 kB / 15.6 MB, free: 132 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.001423/0.001423, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.501/1.501, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.00143/0.00143, allocations: 51.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2625, allocations: 46.63 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.01898/0.2815, allocations: 19.5 MB / 344.8 MB, free: 356 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01428/0.2958, allocations: 5.99 MB / 350.8 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004543/0.3004, allocations: 159.4 kB / 351 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01101/0.3114, allocations: 5.856 MB / 356.8 MB, free: 4.309 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01042/0.3219, allocations: 3.358 MB / 360.2 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003854/0.3258, allocations: 1.572 MB / 361.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01701/0.3428, allocations: 11.37 MB / 373.1 MB, free: 3.961 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01332/0.3562, allocations: 7.678 MB / 380.8 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007174/0.3634, allocations: 3.575 MB / 384.4 MB, free: 8.609 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007906/0.3713, allocations: 4.764 MB / 389.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003081/0.3744, allocations: 0.7148 MB / 389.8 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004967/0.3794, allocations: 1.67 MB / 391.5 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008013/0.3875, allocations: 4.22 MB / 395.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0112/0.3987, allocations: 4.487 MB / 400.2 MB, free: 8.703 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02387/0.4226, allocations: 13.37 MB / 413.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.4227, allocations: 3.938 kB / 413.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.407e-06/0.4227, allocations: 3.984 kB / 413.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005945/0.4233, allocations: 0 / 413.6 MB, free: 11.29 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.03066/0.454, allocations: 9.691 MB / 423.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.4541, allocations: 8.031 kB / 423.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04731/0.5014, allocations: 5.236 MB / 428.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02068/0.5221, allocations: 8.195 MB / 436.7 MB, free: 3.984 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004461/0.5226, allocations: 423.4 kB / 437.1 MB, free: 3.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002467/0.525, allocations: 0.5892 MB / 437.7 MB, free: 2.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03886/0.5639, allocations: 16.56 MB / 454.3 MB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005803/0.5645, allocations: 99.11 kB / 454.4 MB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002778/0.5673, allocations: 267.8 kB / 454.6 MB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3299/0.8972, allocations: 2.76 MB / 457.4 MB, free: 102.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02733/0.9246, allocations: 13.63 MB / 471 MB, free: 98.22 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.08072/1.005, allocations: 67.99 MB / 0.5264 GB, free: 29.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01838/1.024, allocations: 7.889 MB / 0.5341 GB, free: 21.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004499/1.028, allocations: 4.51 MB / 0.5385 GB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0156/1.044, allocations: 12.42 MB / 0.5506 GB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.787e-05/1.044, allocations: 60.56 kB / 0.5507 GB, free: 4.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=280): time 5.991e-06/1.044, allocations: 4 kB / 0.5507 GB, free: 4.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=340): time 0.1784/1.223, allocations: 49.27 MB / 0.5988 GB, free: 3.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002087/1.223, allocations: 394.1 kB / 0.5992 GB, free: 2.617 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01147/1.234, allocations: 7.191 MB / 0.6062 GB, free: 11.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008637/1.235, allocations: 77.7 kB / 0.6063 GB, free: 11.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004108/1.239, allocations: 5.021 MB / 0.6112 GB, free: 6.281 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001986/1.241, allocations: 1.268 MB / 0.6124 GB, free: 4.996 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003268/1.245, allocations: 1.864 MB / 0.6142 GB, free: 3.117 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/1.245, allocations: 313.1 kB / 0.6145 GB, free: 2.809 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2067/1.451, allocations: 4.546 MB / 0.619 GB, free: 152.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00852/1.46, allocations: 9.261 MB / 0.628 GB, free: 145 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0144/1.474, allocations: 14.54 MB / 0.6422 GB, free: 134.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000129/1.475, allocations: 47.31 kB / 0.6423 GB, free: 134.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.03804/1.513, allocations: 19.77 MB / 0.6616 GB, free: 126.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.672e-05/1.513, allocations: 76 kB / 0.6617 GB, free: 126.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001405/1.513, allocations: 160.6 kB / 0.6618 GB, free: 125.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01889/1.532, allocations: 7.045 MB / 0.6687 GB, free: 119.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005634/1.537, allocations: 1.934 MB / 0.6706 GB, free: 117.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03995/1.577, allocations: 35.33 MB / 0.7051 GB, free: 81.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00916/1.587, allocations: 0.591 MB / 0.7057 GB, free: 81.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001564/1.588, allocations: 496 kB / 0.7061 GB, free: 80.81 MB / 446.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.005282/1.594, allocations: 3.486 MB / 0.7095 GB, free: 77.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001493/1.595, allocations: 0.635 MB / 0.7101 GB, free: 77.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02476/1.62, allocations: 13.33 MB / 0.7232 GB, free: 63.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.773e-05/1.62, allocations: 36 kB / 0.7232 GB, free: 63.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.153e-05/1.62, allocations: 20 kB / 0.7232 GB, free: 63.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.461e-05/1.62, allocations: 15.94 kB / 0.7232 GB, free: 63.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04527/1.665, allocations: 26.73 MB / 0.7493 GB, free: 36.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.67e-05/1.665, allocations: 8 kB / 0.7493 GB, free: 36.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002195/1.668, allocations: 428 kB / 0.7497 GB, free: 36.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01855/1.686, allocations: 6.652 MB / 0.7562 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008748/1.687, allocations: 63.66 kB / 0.7563 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.262/1.949, allocations: 34.01 MB / 0.7895 GB, free: 134.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/1.949, allocations: 11.69 kB / 0.7895 GB, free: 134.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03297/1.982, allocations: 18.76 MB / 0.8079 GB, free: 127.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004017/1.986, allocations: 1.384 MB / 0.8092 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001625/1.988, allocations: 63.56 kB / 0.8093 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004153/1.992, allocations: 307.5 kB / 0.8096 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00119/1.993, allocations: 240.9 kB / 0.8098 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000266/1.993, allocations: 90.94 kB / 0.8099 GB, free: 127.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00716/2.001, allocations: 4.608 MB / 0.8144 GB, free: 125.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/2.001, allocations: 0 / 0.8144 GB, free: 125.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01101/2.012, allocations: 2.155 MB / 0.8165 GB, free: 125.4 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.001017/2.013, allocations: 208.5 kB / 0.8167 GB, free: 125.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02362/2.036, allocations: 14.47 MB / 0.8308 GB, free: 111.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.775e-05/2.036, allocations: 0 / 0.8308 GB, free: 111.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008082/2.045, allocations: 5.013 MB / 0.8357 GB, free: 106.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007342/2.052, allocations: 0.981 MB / 0.8367 GB, free: 105.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03461/2.087, allocations: 19.86 MB / 0.8561 GB, free: 85.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006389/2.093, allocations: 5.556 MB / 0.8615 GB, free: 79.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00643/2.099, allocations: 2.617 MB / 0.864 GB, free: 77.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/2.101, allocations: 387.4 kB / 0.8644 GB, free: 76.99 MB / 446.1 MB Notification: Performance of SimCode: time 6.82e-07/2.101, allocations: 4 kB / 0.8644 GB, free: 76.98 MB / 446.1 MB Notification: Performance of Templates: time 0.3908/2.491, allocations: 99.23 MB / 0.9613 GB, free: 121.3 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1)