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.009994/0.009994, allocations: 103.1 kB / 15.73 MB, free: 6.051 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.001895/0.001895, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.457/1.457, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.001282/0.001282, allocations: 51.94 kB / 326.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08791/0.08921, allocations: 46.62 MB / 373.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.2028/0.292, allocations: 19.5 MB / 392.7 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0149/0.307, allocations: 5.996 MB / 398.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0051/0.3121, allocations: 157.9 kB / 398.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01267/0.3249, allocations: 5.865 MB / 404.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01195/0.3369, allocations: 3.353 MB / 408 MB, free: 8.461 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00519/0.3421, allocations: 1.573 MB / 409.6 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02426/0.3663, allocations: 11.37 MB / 421 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01698/0.3834, allocations: 7.659 MB / 428.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01054/0.394, allocations: 3.599 MB / 432.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01358/0.4076, allocations: 4.783 MB / 437 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00424/0.4119, allocations: 0.7225 MB / 437.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008206/0.4202, allocations: 1.674 MB / 439.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009658/0.4299, allocations: 4.298 MB / 443.7 MB, free: 8.969 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009952/0.4399, allocations: 4.487 MB / 448.2 MB, free: 4.457 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01906/0.459, allocations: 13.68 MB / 461.9 MB, free: 6.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.459, allocations: 0 / 461.9 MB, free: 6.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.028e-06/0.459, allocations: 0 / 461.9 MB, free: 6.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004383/0.4595, allocations: 3.938 kB / 461.9 MB, free: 6.727 MB / 382.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.02645/0.486, allocations: 9.688 MB / 471.6 MB, free: 12.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.486, allocations: 12.03 kB / 471.6 MB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04917/0.5352, allocations: 5.236 MB / 476.8 MB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02099/0.5562, allocations: 8.378 MB / 485.2 MB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004258/0.5567, allocations: 423.6 kB / 485.6 MB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002132/0.5588, allocations: 0.597 MB / 486.2 MB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03078/0.5896, allocations: 16.55 MB / 0.491 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002588/0.5899, allocations: 95.11 kB / 0.4911 GB, free: 12.53 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008546/0.5908, allocations: 271.8 kB / 0.4913 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004475/0.5953, allocations: 2.764 MB / 0.494 GB, free: 9.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0307/0.626, allocations: 13.63 MB / 0.5073 GB, free: 11.85 MB / 446.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.4931/1.119, allocations: 67.64 MB / 0.5734 GB, free: 105.8 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02149/1.141, allocations: 7.896 MB / 0.5811 GB, free: 104.6 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006307/1.147, allocations: 4.509 MB / 0.5855 GB, free: 102.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01981/1.167, allocations: 12.44 MB / 0.5976 GB, free: 97 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/1.167, allocations: 67.59 kB / 0.5977 GB, free: 96.95 MB / 478.1 MB Notification: Performance of pre-optimization done (n=280): time 5.481e-06/1.167, allocations: 0 / 0.5977 GB, free: 96.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=340): time 0.1595/1.326, allocations: 49.27 MB / 0.6458 GB, free: 58.69 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/1.327, allocations: 398.1 kB / 0.6462 GB, free: 58.21 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009116/1.336, allocations: 7.19 MB / 0.6532 GB, free: 51.04 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001104/1.337, allocations: 77.7 kB / 0.6533 GB, free: 50.96 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00253/1.339, allocations: 5.036 MB / 0.6582 GB, free: 45.93 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001293/1.341, allocations: 1.255 MB / 0.6594 GB, free: 44.68 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002511/1.343, allocations: 1.868 MB / 0.6613 GB, free: 42.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.556e-05/1.343, allocations: 301.1 kB / 0.6615 GB, free: 42.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004969/1.348, allocations: 4.551 MB / 0.666 GB, free: 37.95 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006646/1.355, allocations: 9.264 MB / 0.675 GB, free: 26.46 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01321/1.368, allocations: 14.55 MB / 0.6892 GB, free: 9.676 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001213/1.368, allocations: 44 kB / 0.6893 GB, free: 9.633 MB / 478.1 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.04116/1.409, allocations: 19.77 MB / 0.7086 GB, free: 5.809 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002442/1.41, allocations: 79.94 kB / 0.7087 GB, free: 5.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003192/1.41, allocations: 160 kB / 0.7088 GB, free: 5.574 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02286/1.433, allocations: 7.036 MB / 0.7157 GB, free: 14.52 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006984/1.44, allocations: 1.934 MB / 0.7176 GB, free: 12.58 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.29/1.73, allocations: 35.3 MB / 0.7521 GB, free: 166.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01073/1.741, allocations: 0.588 MB / 0.7526 GB, free: 166.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00178/1.743, allocations: 0.4885 MB / 0.7531 GB, free: 166.7 MB / 0.5138 GB 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.007816/1.75, allocations: 3.48 MB / 0.7565 GB, free: 166 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001577/1.752, allocations: 0.6346 MB / 0.7571 GB, free: 166 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0293/1.781, allocations: 13.33 MB / 0.7701 GB, free: 161.9 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.294e-05/1.781, allocations: 39.2 kB / 0.7702 GB, free: 161.9 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.865e-05/1.782, allocations: 23.31 kB / 0.7702 GB, free: 161.9 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-05/1.782, allocations: 17.14 kB / 0.7702 GB, free: 161.9 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04784/1.829, allocations: 26.6 MB / 0.7962 GB, free: 151.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.695e-05/1.83, allocations: 7.75 kB / 0.7962 GB, free: 151.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001856/1.831, allocations: 426.4 kB / 0.7966 GB, free: 151.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01888/1.85, allocations: 6.64 MB / 0.8031 GB, free: 147.8 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006905/1.851, allocations: 59.78 kB / 0.8031 GB, free: 147.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03784/1.889, allocations: 34.01 MB / 0.8364 GB, free: 113.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/1.889, allocations: 11.94 kB / 0.8364 GB, free: 113.7 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0314/1.92, allocations: 18.77 MB / 0.8547 GB, free: 95.18 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004902/1.925, allocations: 1.385 MB / 0.8561 GB, free: 93.85 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002225/1.928, allocations: 68.83 kB / 0.8561 GB, free: 93.79 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004284/1.932, allocations: 303.5 kB / 0.8564 GB, free: 93.49 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009057/1.933, allocations: 252.1 kB / 0.8566 GB, free: 93.25 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002682/1.933, allocations: 88 kB / 0.8567 GB, free: 93.16 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006408/1.939, allocations: 4.607 MB / 0.8612 GB, free: 88.59 MB / 0.5138 GB Notification: Performance of sort global known variables: time 6.21e-07/1.939, allocations: 0 / 0.8612 GB, free: 88.59 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01052/1.95, allocations: 2.146 MB / 0.8633 GB, free: 86.45 MB / 0.5138 GB 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.0007716/1.951, allocations: 208.7 kB / 0.8635 GB, free: 86.25 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01662/1.967, allocations: 11.61 MB / 0.8749 GB, free: 74.66 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/1.968, allocations: 4 kB / 0.8749 GB, free: 74.65 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.008596/1.976, allocations: 5.017 MB / 0.8798 GB, free: 69.6 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009936/1.986, allocations: 0.9959 MB / 0.8807 GB, free: 68.65 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03399/2.02, allocations: 19.66 MB / 0.8999 GB, free: 48.96 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006482/2.027, allocations: 5.548 MB / 0.9054 GB, free: 43.37 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005784/2.033, allocations: 2.609 MB / 0.9079 GB, free: 40.75 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/2.034, allocations: 391.4 kB / 0.9083 GB, free: 40.37 MB / 0.5138 GB Notification: Performance of SimCode: time 1.052e-06/2.034, allocations: 4 kB / 0.9083 GB, free: 40.37 MB / 0.5138 GB Notification: Performance of Templates: time 0.362/2.396, allocations: 95.51 MB / 1.002 GB, free: 127.6 MB / 0.5138 GB 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)