Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.0008566/0.0008566, allocations: 92.16 kB / 16.65 MB, free: 6.598 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.001024/0.001024, allocations: 177.1 kB / 17.56 MB, free: 6.203 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.376/1.376, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.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.0004279/0.0004279, allocations: 16 kB / 280.7 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09519/0.09563, allocations: 47.58 MB / 328.3 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.3429/0.4386, allocations: 101 MB / 429.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.05171/0.4903, allocations: 19.89 MB / 449.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0209/0.5113, allocations: 474.7 kB / 449.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003077/0.5144, allocations: 0.7034 MB / 450.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01003/0.5245, allocations: 3.193 MB / 453.6 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003466/0.5279, allocations: 1.459 MB / 455.1 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01912/0.5471, allocations: 15.89 MB / 470.9 MB, free: 7.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01504/0.5622, allocations: 10.32 MB / 481.3 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005558/0.5678, allocations: 2.731 MB / 484 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006919/0.5747, allocations: 4.45 MB / 488.4 MB, free: 6.098 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001623/0.5764, allocations: 280 kB / 488.7 MB, free: 5.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004168/0.5806, allocations: 1.307 MB / 490 MB, free: 4.516 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006592/0.5872, allocations: 3.72 MB / 493.8 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006994/0.5942, allocations: 3.887 MB / 497.6 MB, free: 12.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01381/0.608, allocations: 12.75 MB / 0.4984 GB, free: 76 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.6081, allocations: 0 / 0.4984 GB, free: 76 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6081, allocations: 0 / 0.4984 GB, free: 76 kB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004534/0.6086, allocations: 0 / 0.4984 GB, free: 76 kB / 398.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.01831/0.6269, allocations: 8.024 MB / 0.5063 GB, free: 7.965 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.627, allocations: 8.031 kB / 0.5063 GB, free: 7.957 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04792/0.6749, allocations: 5.357 MB / 0.5115 GB, free: 2.582 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01888/0.6938, allocations: 8.195 MB / 0.5195 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003883/0.6942, allocations: 423.4 kB / 0.5199 GB, free: 9.906 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002112/0.6964, allocations: 0.5853 MB / 0.5205 GB, free: 9.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3733/1.07, allocations: 16.62 MB / 0.5367 GB, free: 143.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004654/1.07, allocations: 97.88 kB / 0.5368 GB, free: 143.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001989/1.072, allocations: 265 kB / 0.5371 GB, free: 143.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005558/1.078, allocations: 2.762 MB / 0.5398 GB, free: 142.9 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03007/1.108, allocations: 13.7 MB / 0.5531 GB, free: 137.7 MB / 430.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.07865/1.187, allocations: 68.05 MB / 0.6196 GB, free: 70.69 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01855/1.205, allocations: 7.933 MB / 0.6273 GB, free: 62.62 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005618/1.211, allocations: 4.509 MB / 0.6317 GB, free: 58.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01774/1.229, allocations: 12.43 MB / 0.6439 GB, free: 45.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/1.229, allocations: 68.5 kB / 0.6439 GB, free: 45.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=280): time 6.733e-06/1.229, allocations: 0 / 0.6439 GB, free: 45.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=340): time 0.3842/1.613, allocations: 50.08 MB / 0.6928 GB, free: 134.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001561/1.613, allocations: 401.9 kB / 0.6932 GB, free: 133.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01419/1.627, allocations: 7.181 MB / 0.7002 GB, free: 132.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001003/1.628, allocations: 78.52 kB / 0.7003 GB, free: 132.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00394/1.632, allocations: 5.031 MB / 0.7052 GB, free: 129.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001941/1.634, allocations: 1.262 MB / 0.7065 GB, free: 128.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001468/1.636, allocations: 0.8114 MB / 0.7073 GB, free: 128.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.926e-05/1.636, allocations: 302.2 kB / 0.7075 GB, free: 127.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006073/1.642, allocations: 4.547 MB / 0.712 GB, free: 126.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007948/1.65, allocations: 9.266 MB / 0.721 GB, free: 118.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01738/1.667, allocations: 14.54 MB / 0.7352 GB, free: 107.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001981/1.667, allocations: 51.06 kB / 0.7353 GB, free: 107.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.04379/1.711, allocations: 19.77 MB / 0.7546 GB, free: 91.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/1.711, allocations: 72 kB / 0.7547 GB, free: 91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001859/1.712, allocations: 164 kB / 0.7548 GB, free: 90.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02089/1.733, allocations: 7.053 MB / 0.7617 GB, free: 83.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006748/1.739, allocations: 1.934 MB / 0.7636 GB, free: 81.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04039/1.78, allocations: 33.23 MB / 0.796 GB, free: 48.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01017/1.79, allocations: 0.5851 MB / 0.7966 GB, free: 47.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002155/1.792, allocations: 500 kB / 0.7971 GB, free: 47.14 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.007429/1.8, allocations: 3.489 MB / 0.8005 GB, free: 43.65 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00196/1.802, allocations: 0.6441 MB / 0.8011 GB, free: 43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02656/1.828, allocations: 13.32 MB / 0.8141 GB, free: 29.6 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.321e-05/1.828, allocations: 32 kB / 0.8142 GB, free: 29.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.1e-05/1.828, allocations: 23.94 kB / 0.8142 GB, free: 29.54 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.258e-05/1.828, allocations: 15.94 kB / 0.8142 GB, free: 29.53 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0474/1.876, allocations: 26.75 MB / 0.8403 GB, free: 2.285 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.616e-05/1.876, allocations: 8 kB / 0.8403 GB, free: 2.277 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001987/1.878, allocations: 427.4 kB / 0.8407 GB, free: 1.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2475/2.125, allocations: 6.673 MB / 0.8473 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009279/2.126, allocations: 62.06 kB / 0.8473 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04185/2.168, allocations: 31.98 MB / 0.8786 GB, free: 123.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/2.168, allocations: 6 kB / 0.8786 GB, free: 123.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03375/2.202, allocations: 18.77 MB / 0.8969 GB, free: 115.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004179/2.206, allocations: 1.396 MB / 0.8983 GB, free: 114.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002048/2.208, allocations: 73.5 kB / 0.8983 GB, free: 114.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005255/2.214, allocations: 311.5 kB / 0.8986 GB, free: 114.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001029/2.215, allocations: 238.4 kB / 0.8988 GB, free: 114.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003043/2.215, allocations: 89.41 kB / 0.8989 GB, free: 114.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.007426/2.222, allocations: 4.611 MB / 0.9034 GB, free: 109.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.52e-07/2.222, allocations: 0 / 0.9034 GB, free: 109.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00971/2.232, allocations: 2.143 MB / 0.9055 GB, free: 107.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.0008141/2.233, allocations: 216.2 kB / 0.9057 GB, free: 107.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01751/2.251, allocations: 11.57 MB / 0.917 GB, free: 95.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/2.251, allocations: 3.781 kB / 0.917 GB, free: 95.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007891/2.259, allocations: 5.004 MB / 0.9219 GB, free: 90.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01435/2.273, allocations: 0.9301 MB / 0.9228 GB, free: 89.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04049/2.313, allocations: 23.49 MB / 0.9458 GB, free: 66.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009405/2.323, allocations: 5.548 MB / 0.9512 GB, free: 60.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.007436/2.33, allocations: 2.617 MB / 0.9537 GB, free: 58.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001631/2.332, allocations: 391.4 kB / 0.9541 GB, free: 57.74 MB / 446.1 MB Notification: Performance of SimCode: time 1.723e-06/2.332, allocations: 0 / 0.9541 GB, free: 57.74 MB / 446.1 MB Notification: Performance of Templates: time 0.351/2.683, allocations: 93.4 MB / 1.045 GB, free: 110.1 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1)