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.001293/0.001293, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001809/0.001809, allocations: 177.3 kB / 15.94 MB, free: 228 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.538/1.538, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.0005042/0.0005046, allocations: 8 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2418, allocations: 47.59 MB / 326.5 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.08209/0.324, allocations: 88.53 MB / 415 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.05409/0.3781, allocations: 20.08 MB / 435.1 MB, free: 6.613 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02266/0.4008, allocations: 462.8 kB / 435.5 MB, free: 6.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.017/0.4179, allocations: 4.46 MB / 440 MB, free: 1.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04158/0.4595, allocations: 12.79 MB / 452.8 MB, free: 4.855 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006928/0.4664, allocations: 1.389 MB / 454.2 MB, free: 3.465 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3539/0.8204, allocations: 77.71 MB / 0.5194 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01315/0.8336, allocations: 8.855 MB / 0.528 GB, free: 4.895 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005353/0.839, allocations: 2.424 MB / 0.5304 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005213/0.8442, allocations: 3.127 MB / 0.5335 GB, free: 1.098 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001468/0.8457, allocations: 280 kB / 0.5337 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002983/0.8487, allocations: 1.102 MB / 0.5348 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00383/0.8526, allocations: 3.424 MB / 0.5382 GB, free: 13.4 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002683/0.8553, allocations: 1.6 MB / 0.5397 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01425/0.8695, allocations: 11.27 MB / 0.5507 GB, free: 3.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.8696, allocations: 0 / 0.5507 GB, free: 3.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.8696, allocations: 0 / 0.5507 GB, free: 3.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005545/0.8702, allocations: 0 / 0.5507 GB, free: 3.02 MB / 430.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.02647/0.8966, allocations: 8.897 MB / 0.5594 GB, free: 10.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.8967, allocations: 11.5 kB / 0.5594 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3005/1.197, allocations: 29.8 MB / 0.5885 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02663/1.224, allocations: 9.157 MB / 0.5975 GB, free: 8.363 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000504/1.224, allocations: 421.2 kB / 0.5979 GB, free: 8.133 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003488/1.228, allocations: 0.5916 MB / 0.5984 GB, free: 7.742 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03727/1.265, allocations: 16.39 MB / 0.6145 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005309/1.266, allocations: 103.4 kB / 0.6146 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001676/1.268, allocations: 267.6 kB / 0.6148 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004804/1.272, allocations: 2.76 MB / 0.6175 GB, free: 8.535 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4542/1.727, allocations: 13.11 MB / 0.6303 GB, free: 205.7 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.08101/1.808, allocations: 66.83 MB / 0.6956 GB, free: 154.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0179/1.826, allocations: 7.711 MB / 0.7031 GB, free: 147 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01866/1.844, allocations: 11.88 MB / 0.7147 GB, free: 135 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/1.844, allocations: 60.56 kB / 0.7148 GB, free: 135 MB / 494.1 MB Notification: Performance of pre-optimization done (n=280): time 6.142e-06/1.844, allocations: 0 / 0.7148 GB, free: 135 MB / 494.1 MB Notification: Performance of matching and sorting (n=339): time 0.1598/2.004, allocations: 47.51 MB / 0.7612 GB, free: 87.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/2.004, allocations: 398.1 kB / 0.7615 GB, free: 87.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01044/2.015, allocations: 7.95 MB / 0.7693 GB, free: 79.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009344/2.016, allocations: 81.7 kB / 0.7694 GB, free: 79.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002714/2.018, allocations: 5.192 MB / 0.7744 GB, free: 74 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001319/2.02, allocations: 1.236 MB / 0.7757 GB, free: 72.78 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004048/2.02, allocations: 164 kB / 0.7758 GB, free: 72.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003085/2.021, allocations: 0.6531 MB / 0.7764 GB, free: 71.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004518/2.025, allocations: 3.924 MB / 0.7803 GB, free: 68.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005947/2.031, allocations: 8.521 MB / 0.7886 GB, free: 57.22 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007004/2.038, allocations: 5.621 MB / 0.7941 GB, free: 51.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.904e-05/2.038, allocations: 44 kB / 0.7941 GB, free: 51.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.03488/2.073, allocations: 17.1 MB / 0.8108 GB, free: 34.37 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000195/2.073, allocations: 72 kB / 0.8109 GB, free: 34.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002968/2.074, allocations: 163.9 kB / 0.8111 GB, free: 34.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01657/2.09, allocations: 5.802 MB / 0.8167 GB, free: 28.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005672/2.096, allocations: 1.755 MB / 0.8184 GB, free: 26.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2566/2.353, allocations: 30.67 MB / 0.8484 GB, free: 182.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007829/2.36, allocations: 0.5297 MB / 0.8489 GB, free: 182.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001213/2.362, allocations: 473.8 kB / 0.8494 GB, free: 182.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 727 * 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 (934): * Single equations (assignments): 928 * 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 {(7,55.1%) 94,(3,88.9%) 5} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.005557/2.367, allocations: 3.461 MB / 0.8527 GB, free: 182 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/2.368, allocations: 0.6667 MB / 0.8534 GB, free: 182 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02206/2.391, allocations: 11.45 MB / 0.8646 GB, free: 179.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.031e-05/2.391, allocations: 39.61 kB / 0.8646 GB, free: 179.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-05/2.391, allocations: 18.31 kB / 0.8646 GB, free: 179.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.327e-05/2.391, allocations: 18.92 kB / 0.8646 GB, free: 179.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04415/2.435, allocations: 24.93 MB / 0.889 GB, free: 168.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.096e-05/2.435, allocations: 6.656 kB / 0.889 GB, free: 168.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001926/2.437, allocations: 425.8 kB / 0.8894 GB, free: 167.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01516/2.452, allocations: 5.414 MB / 0.8947 GB, free: 162.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008643/2.453, allocations: 65.19 kB / 0.8948 GB, free: 162.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03167/2.485, allocations: 29.38 MB / 0.9235 GB, free: 133 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/2.485, allocations: 7.953 kB / 0.9235 GB, free: 133 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02516/2.51, allocations: 17.6 MB / 0.9407 GB, free: 115.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004395/2.514, allocations: 1.352 MB / 0.942 GB, free: 114.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001907/2.516, allocations: 67.94 kB / 0.942 GB, free: 114.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003937/2.52, allocations: 267.6 kB / 0.9423 GB, free: 113.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006962/2.521, allocations: 238.7 kB / 0.9425 GB, free: 113.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002426/2.521, allocations: 90.97 kB / 0.9426 GB, free: 113.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008393/2.53, allocations: 5.231 MB / 0.9477 GB, free: 108.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.72e-07/2.53, allocations: 0 / 0.9477 GB, free: 108.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01507/2.545, allocations: 1.998 MB / 0.9497 GB, free: 106.3 MB / 494.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 (214): * Single equations (assignments): 208 * 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 {(7,55.1%) 87,(2,100.0%) 4} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00124/2.546, allocations: 235.8 kB / 0.9499 GB, free: 106.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0228/2.569, allocations: 10.41 MB / 0.9601 GB, free: 95.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-05/2.569, allocations: 4 kB / 0.9601 GB, free: 95.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01117/2.58, allocations: 4.671 MB / 0.9646 GB, free: 90.96 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009535/2.59, allocations: 0.9888 MB / 0.9656 GB, free: 90 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04248/2.632, allocations: 21.75 MB / 0.9868 GB, free: 68.42 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00955/2.642, allocations: 5.716 MB / 0.9924 GB, free: 62.66 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.008061/2.65, allocations: 2.641 MB / 0.995 GB, free: 60.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001934/2.652, allocations: 411.4 kB / 0.9954 GB, free: 59.62 MB / 494.1 MB Notification: Performance of SimCode: time 1.192e-06/2.652, allocations: 0 / 0.9954 GB, free: 59.62 MB / 494.1 MB Notification: Performance of Templates: time 0.4016/3.054, allocations: 88.53 MB / 1.082 GB, free: 151.7 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: