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.007033/0.007033, allocations: 105.4 kB / 15.74 MB, free: 6.039 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.001596/0.001596, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.43/1.43, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.001127/0.001127, allocations: 49.3 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09522/0.09636, allocations: 46.63 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.01861/0.115, allocations: 19.49 MB / 392.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0123/0.1274, allocations: 6.001 MB / 398.7 MB, free: 7.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004292/0.1317, allocations: 159.4 kB / 398.8 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01087/0.1426, allocations: 5.852 MB / 404.7 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01077/0.1534, allocations: 3.354 MB / 408 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004013/0.1575, allocations: 1.576 MB / 409.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01729/0.1748, allocations: 11.36 MB / 421 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0129/0.1877, allocations: 7.67 MB / 428.6 MB, free: 9.605 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00889/0.1967, allocations: 3.583 MB / 432.2 MB, free: 6.012 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008893/0.2056, allocations: 4.764 MB / 437 MB, free: 1.234 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003242/0.2089, allocations: 0.7148 MB / 437.7 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006366/0.2153, allocations: 1.674 MB / 439.4 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008685/0.224, allocations: 4.22 MB / 443.6 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01052/0.2346, allocations: 4.483 MB / 448.1 MB, free: 6.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.27/0.5047, allocations: 13.68 MB / 461.8 MB, free: 29.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.829e-06/0.5047, allocations: 3.438 kB / 461.8 MB, free: 29.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.5048, allocations: 1.422 kB / 461.8 MB, free: 29.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006697/0.5054, allocations: 0.5312 kB / 461.8 MB, free: 29.25 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.03639/0.5418, allocations: 9.688 MB / 471.4 MB, free: 25.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.5419, allocations: 14.72 kB / 471.5 MB, free: 25.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04906/0.591, allocations: 5.236 MB / 476.7 MB, free: 25.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01956/0.6106, allocations: 8.373 MB / 485.1 MB, free: 23.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003317/0.611, allocations: 424.7 kB / 485.5 MB, free: 23.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00309/0.6141, allocations: 0.582 MB / 486.1 MB, free: 23.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0321/0.6462, allocations: 16.56 MB / 0.4908 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003131/0.6465, allocations: 98.36 kB / 0.4909 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009718/0.6475, allocations: 271.6 kB / 0.4912 GB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003775/0.6513, allocations: 2.761 MB / 0.4939 GB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03023/0.6815, allocations: 13.63 MB / 0.5072 GB, free: 12.48 MB / 398.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.1082/0.7898, allocations: 67.66 MB / 0.5733 GB, free: 7.672 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02148/0.8113, allocations: 7.905 MB / 0.581 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007241/0.8186, allocations: 4.516 MB / 0.5854 GB, free: 11.12 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02573/0.8444, allocations: 12.41 MB / 0.5975 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.892e-05/0.8445, allocations: 71.78 kB / 0.5976 GB, free: 14.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=280): time 6.201e-06/0.8445, allocations: 0 / 0.5976 GB, free: 14.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=340): time 0.4346/1.279, allocations: 49.28 MB / 0.6457 GB, free: 175.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/1.279, allocations: 403.8 kB / 0.6461 GB, free: 175.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01067/1.29, allocations: 7.181 MB / 0.6531 GB, free: 173 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009583/1.291, allocations: 77.33 kB / 0.6532 GB, free: 172.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002942/1.294, allocations: 5.024 MB / 0.6581 GB, free: 169.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001607/1.295, allocations: 1.267 MB / 0.6593 GB, free: 168.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002561/1.298, allocations: 1.866 MB / 0.6611 GB, free: 167.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.88e-05/1.298, allocations: 302.3 kB / 0.6614 GB, free: 167 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00555/1.304, allocations: 4.548 MB / 0.6659 GB, free: 165.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007535/1.311, allocations: 9.27 MB / 0.6749 GB, free: 153.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01752/1.329, allocations: 14.55 MB / 0.6891 GB, free: 137 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001397/1.329, allocations: 44 kB / 0.6892 GB, free: 137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.04788/1.377, allocations: 19.76 MB / 0.7085 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.909e-05/1.377, allocations: 73 kB / 0.7085 GB, free: 117.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001584/1.377, allocations: 164 kB / 0.7087 GB, free: 117 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02069/1.398, allocations: 7.05 MB / 0.7156 GB, free: 109.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00726/1.405, allocations: 1.93 MB / 0.7175 GB, free: 108 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04164/1.447, allocations: 35.31 MB / 0.752 GB, free: 72.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01001/1.457, allocations: 0.585 MB / 0.7525 GB, free: 71.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002264/1.459, allocations: 499 kB / 0.753 GB, free: 71.17 MB / 0.4981 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.009491/1.469, allocations: 3.487 MB / 0.7564 GB, free: 67.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002174/1.471, allocations: 0.6441 MB / 0.757 GB, free: 67.03 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02864/1.5, allocations: 13.32 MB / 0.77 GB, free: 53.63 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.329e-05/1.5, allocations: 36 kB / 0.7701 GB, free: 53.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.561e-05/1.5, allocations: 20 kB / 0.7701 GB, free: 53.58 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.638e-05/1.5, allocations: 23.81 kB / 0.7701 GB, free: 53.56 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05507/1.555, allocations: 26.59 MB / 0.7961 GB, free: 26.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.484e-05/1.555, allocations: 8.75 kB / 0.7961 GB, free: 26.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002217/1.557, allocations: 431.3 kB / 0.7965 GB, free: 26.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0202/1.577, allocations: 6.644 MB / 0.803 GB, free: 19.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001089/1.579, allocations: 60 kB / 0.803 GB, free: 19.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3027/1.881, allocations: 34 MB / 0.8362 GB, free: 156.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.747e-06/1.881, allocations: 13.06 kB / 0.8363 GB, free: 156.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03361/1.915, allocations: 18.77 MB / 0.8546 GB, free: 145.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005265/1.92, allocations: 1.378 MB / 0.8559 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002508/1.923, allocations: 63.98 kB / 0.856 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005187/1.928, allocations: 303.5 kB / 0.8563 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001262/1.929, allocations: 254 kB / 0.8565 GB, free: 143.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003245/1.93, allocations: 88 kB / 0.8566 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.009457/1.939, allocations: 4.613 MB / 0.8611 GB, free: 139.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.062e-06/1.939, allocations: 0 / 0.8611 GB, free: 139.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01343/1.953, allocations: 2.142 MB / 0.8632 GB, free: 137 MB / 0.4981 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.001189/1.954, allocations: 210.9 kB / 0.8634 GB, free: 136.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0178/1.972, allocations: 11.62 MB / 0.8748 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/1.972, allocations: 0 / 0.8748 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007784/1.979, allocations: 5.015 MB / 0.8797 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006823/1.986, allocations: 0.9965 MB / 0.8806 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.035/2.021, allocations: 19.65 MB / 0.8998 GB, free: 99.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008394/2.03, allocations: 5.556 MB / 0.9052 GB, free: 94.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005969/2.036, allocations: 2.613 MB / 0.9078 GB, free: 91.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001185/2.037, allocations: 391.4 kB / 0.9082 GB, free: 91.05 MB / 0.4981 GB Notification: Performance of SimCode: time 1.523e-06/2.037, allocations: 0 / 0.9082 GB, free: 91.05 MB / 0.4981 GB Notification: Performance of Templates: time 0.3942/2.431, allocations: 94.25 MB / 1 GB, free: 156 MB / 0.4981 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)