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.001326/0.001327, allocations: 101.5 kB / 15.06 MB, free: 1.094 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.002152/0.002152, allocations: 177.3 kB / 15.95 MB, free: 208 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.427/1.427, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.0004222/0.0004223, allocations: 8 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2147, 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.08456/0.2993, allocations: 95.46 MB / 421.9 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0432/0.3425, allocations: 21.45 MB / 443.4 MB, free: 14.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01676/0.3594, allocations: 498.7 kB / 443.9 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01617/0.3756, allocations: 4.817 MB / 448.7 MB, free: 8.984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2752/0.6508, allocations: 13.73 MB / 462.4 MB, free: 5.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008214/0.659, allocations: 1.483 MB / 463.9 MB, free: 4.996 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1061/0.7651, allocations: 77.88 MB / 0.5291 GB, free: 1.059 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01408/0.7793, allocations: 9.234 MB / 0.5381 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004742/0.7841, allocations: 2.542 MB / 0.5406 GB, free: 8.855 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004963/0.789, allocations: 3.261 MB / 0.5438 GB, free: 6.535 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001359/0.7904, allocations: 292 kB / 0.544 GB, free: 6.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002753/0.7932, allocations: 1.119 MB / 0.5451 GB, free: 5.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004775/0.798, allocations: 3.551 MB / 0.5486 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004432/0.8024, allocations: 1.662 MB / 0.5502 GB, free: 2.113 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01527/0.8177, allocations: 11.66 MB / 0.5616 GB, free: 7.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.8178, allocations: 0 / 0.5616 GB, free: 7.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.8178, allocations: 0 / 0.5616 GB, free: 7.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004227/0.8182, allocations: 0 / 0.5616 GB, free: 7.98 MB / 446.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.02393/0.8421, allocations: 9.203 MB / 0.5706 GB, free: 15.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.8422, allocations: 12.03 kB / 0.5706 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2861/1.128, allocations: 29.83 MB / 0.5997 GB, free: 3.574 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02503/1.153, allocations: 9.344 MB / 0.6089 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003909/1.154, allocations: 446.5 kB / 0.6093 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002577/1.156, allocations: 0.6134 MB / 0.6099 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3852/1.542, allocations: 17.06 MB / 0.6265 GB, free: 207.6 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005531/1.542, allocations: 99.52 kB / 0.6266 GB, free: 207.6 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001293/1.544, allocations: 280.1 kB / 0.6269 GB, free: 207.6 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005639/1.549, allocations: 2.858 MB / 0.6297 GB, free: 207.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02832/1.578, allocations: 13.54 MB / 0.6429 GB, free: 202.6 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.07974/1.657, allocations: 68.19 MB / 0.7095 GB, free: 136.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01637/1.674, allocations: 7.26 MB / 0.7166 GB, free: 129.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0176/1.691, allocations: 12.22 MB / 0.7285 GB, free: 116.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/1.692, allocations: 72.55 kB / 0.7286 GB, free: 116.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=293): time 6.122e-06/1.692, allocations: 0 / 0.7286 GB, free: 116.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=365): time 0.1273/1.819, allocations: 42.06 MB / 0.7697 GB, free: 74.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/1.819, allocations: 402.2 kB / 0.77 GB, free: 74.26 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01089/1.83, allocations: 8.149 MB / 0.778 GB, free: 66.15 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001087/1.831, allocations: 85.61 kB / 0.7781 GB, free: 66.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003284/1.834, allocations: 5.38 MB / 0.7833 GB, free: 60.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00191/1.836, allocations: 1.335 MB / 0.7846 GB, free: 59.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004533/1.837, allocations: 176 kB / 0.7848 GB, free: 59.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003287/1.837, allocations: 0.6658 MB / 0.7855 GB, free: 58.51 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004495/1.842, allocations: 3.663 MB / 0.789 GB, free: 54.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006547/1.848, allocations: 8.442 MB / 0.7973 GB, free: 44.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007068/1.855, allocations: 5.42 MB / 0.8026 GB, free: 38.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.885e-05/1.855, allocations: 48 kB / 0.8026 GB, free: 38.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=1124) (initialization): time 0.03128/1.887, allocations: 15.34 MB / 0.8176 GB, free: 23.15 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001933/1.887, allocations: 76 kB / 0.8177 GB, free: 23.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002172/1.887, allocations: 168.1 kB / 0.8178 GB, free: 22.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01152/1.899, allocations: 4.06 MB / 0.8218 GB, free: 18.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006252/1.905, allocations: 1.84 MB / 0.8236 GB, free: 16.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2762/2.181, allocations: 26.45 MB / 0.8494 GB, free: 179.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00896/2.19, allocations: 0.4935 MB / 0.8499 GB, free: 179.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001759/2.192, allocations: 0.4994 MB / 0.8504 GB, free: 179.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 756 * 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 (988): * Single equations (assignments): 982 * 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.007306/2.199, allocations: 3.608 MB / 0.8539 GB, free: 178.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001723/2.201, allocations: 0.6814 MB / 0.8546 GB, free: 178.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01751/2.219, allocations: 9.404 MB / 0.8638 GB, free: 175.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.219e-05/2.219, allocations: 36.47 kB / 0.8638 GB, free: 175.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.003e-05/2.219, allocations: 19.78 kB / 0.8638 GB, free: 175.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.259e-05/2.219, allocations: 18.23 kB / 0.8638 GB, free: 175.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03921/2.258, allocations: 20.37 MB / 0.8837 GB, free: 167.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.848e-05/2.258, allocations: 6.875 kB / 0.8837 GB, free: 167.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002183/2.26, allocations: 452.8 kB / 0.8842 GB, free: 167.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01035/2.271, allocations: 3.835 MB / 0.8879 GB, free: 164.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007421/2.272, allocations: 70.19 kB / 0.888 GB, free: 164.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02888/2.3, allocations: 25.76 MB / 0.9131 GB, free: 138.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/2.3, allocations: 16.03 kB / 0.9132 GB, free: 138.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02107/2.322, allocations: 15.66 MB / 0.9284 GB, free: 123 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004168/2.326, allocations: 1.31 MB / 0.9297 GB, free: 121.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001395/2.327, allocations: 68.86 kB / 0.9298 GB, free: 121.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003184/2.33, allocations: 235.2 kB / 0.93 GB, free: 121.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008032/2.331, allocations: 274.8 kB / 0.9303 GB, free: 121.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002554/2.331, allocations: 99.3 kB / 0.9304 GB, free: 121.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007528/2.339, allocations: 5.354 MB / 0.9356 GB, free: 115.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/2.339, allocations: 3.125 kB / 0.9356 GB, free: 115.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009508/2.348, allocations: 2.036 MB / 0.9376 GB, free: 113.8 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 {(9,69.1%) 92,(1,100.0%) 4} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.000765/2.349, allocations: 241.5 kB / 0.9378 GB, free: 113.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01292/2.362, allocations: 9.635 MB / 0.9472 GB, free: 103.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/2.362, allocations: 4 kB / 0.9472 GB, free: 103.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006145/2.368, allocations: 4.344 MB / 0.9515 GB, free: 99.56 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007538/2.376, allocations: 1.021 MB / 0.9525 GB, free: 98.55 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04923/2.425, allocations: 21.64 MB / 0.9736 GB, free: 77.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009488/2.435, allocations: 5.932 MB / 0.9794 GB, free: 71.11 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007239/2.442, allocations: 2.792 MB / 0.9821 GB, free: 68.32 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001365/2.443, allocations: 427.4 kB / 0.9825 GB, free: 67.9 MB / 494.1 MB Notification: Performance of SimCode: time 9.12e-07/2.443, allocations: 0 / 0.9825 GB, free: 67.9 MB / 494.1 MB Notification: Performance of Templates: time 0.3847/2.828, allocations: 88 MB / 1.068 GB, free: 155.5 MB / 494.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: