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.001094/0.001094, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001109/0.001109, allocations: 191.7 kB / 16.25 MB, free: 6.629 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.413/1.413, allocations: 205.1 MB / 222.1 MB, free: 4.934 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.00112/0.00112, allocations: 55.92 kB / 278.2 MB, free: 12.89 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2714, allocations: 46.62 MB / 324.8 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.09681/0.3683, allocations: 103.4 MB / 428.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.05032/0.4186, allocations: 19.86 MB / 448.1 MB, free: 8.426 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02243/0.4411, allocations: 474.8 kB / 448.6 MB, free: 7.961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01141/0.4526, allocations: 5.649 MB / 454.2 MB, free: 2.297 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2198/0.6725, allocations: 3.135 MB / 457.4 MB, free: 1.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003369/0.6759, allocations: 1.493 MB / 458.8 MB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01394/0.6899, allocations: 11.98 MB / 470.8 MB, free: 1.621 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00893/0.6988, allocations: 8.051 MB / 478.9 MB, free: 16.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008355/0.7072, allocations: 3.711 MB / 482.6 MB, free: 16.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009021/0.7163, allocations: 5.314 MB / 487.9 MB, free: 16.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002295/0.7186, allocations: 0.7153 MB / 488.6 MB, free: 16.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003921/0.7226, allocations: 1.693 MB / 490.3 MB, free: 16.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0046/0.7272, allocations: 4.285 MB / 494.6 MB, free: 14.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006539/0.7337, allocations: 4.517 MB / 499.1 MB, free: 13.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01675/0.7505, allocations: 13.42 MB / 0.5005 GB, free: 2.664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.088e-05/0.7506, allocations: 0 / 0.5005 GB, free: 2.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.7506, allocations: 3.938 kB / 0.5005 GB, free: 2.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005069/0.7511, allocations: 0 / 0.5005 GB, free: 2.66 MB / 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.02664/0.7778, allocations: 9.699 MB / 0.51 GB, free: 9.027 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.7778, allocations: 8.031 kB / 0.51 GB, free: 9.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04277/0.8206, allocations: 5.239 MB / 0.5151 GB, free: 3.766 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01869/0.8393, allocations: 8.188 MB / 0.5231 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004593/0.8398, allocations: 425.5 kB / 0.5235 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002815/0.8427, allocations: 0.5842 MB / 0.5241 GB, free: 10.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03755/0.8802, allocations: 16.56 MB / 0.5403 GB, free: 9.605 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003262/0.8806, allocations: 97.52 kB / 0.5404 GB, free: 9.539 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009977/0.8816, allocations: 265.9 kB / 0.5406 GB, free: 9.328 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00451/0.8861, allocations: 2.773 MB / 0.5433 GB, free: 6.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03003/0.9162, allocations: 13.62 MB / 0.5566 GB, free: 9.23 MB / 462.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.1/1.016, allocations: 67.99 MB / 0.623 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3636/1.38, allocations: 7.881 MB / 0.6307 GB, free: 238.4 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005217/1.385, allocations: 4.512 MB / 0.6351 GB, free: 236.9 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01757/1.403, allocations: 12.43 MB / 0.6473 GB, free: 231.3 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/1.403, allocations: 71.38 kB / 0.6473 GB, free: 231.2 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=280): time 4.759e-06/1.403, allocations: 0 / 0.6473 GB, free: 231.2 MB / 0.5138 GB Notification: Performance of matching and sorting (n=340): time 0.1577/1.561, allocations: 49.26 MB / 0.6954 GB, free: 190.1 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/1.561, allocations: 398.1 kB / 0.6958 GB, free: 189.6 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009127/1.57, allocations: 7.191 MB / 0.7028 GB, free: 182.5 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0009084/1.571, allocations: 77.7 kB / 0.7029 GB, free: 182.4 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002667/1.573, allocations: 5.028 MB / 0.7078 GB, free: 177.3 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001739/1.575, allocations: 1.266 MB / 0.7091 GB, free: 176.1 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002653/1.578, allocations: 1.864 MB / 0.7109 GB, free: 174.2 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.838e-05/1.578, allocations: 301.1 kB / 0.7112 GB, free: 173.9 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005299/1.583, allocations: 4.549 MB / 0.7156 GB, free: 169.4 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00862/1.592, allocations: 9.27 MB / 0.7247 GB, free: 157.8 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01507/1.607, allocations: 14.55 MB / 0.7389 GB, free: 141 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001423/1.607, allocations: 48 kB / 0.7389 GB, free: 140.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.04068/1.648, allocations: 19.76 MB / 0.7582 GB, free: 121.1 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 9.584e-05/1.648, allocations: 76 kB / 0.7583 GB, free: 121 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001621/1.648, allocations: 160 kB / 0.7584 GB, free: 120.9 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01942/1.668, allocations: 7.056 MB / 0.7653 GB, free: 113.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006082/1.674, allocations: 1.93 MB / 0.7672 GB, free: 111.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04001/1.714, allocations: 35.31 MB / 0.8017 GB, free: 76.14 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00969/1.724, allocations: 0.5851 MB / 0.8023 GB, free: 75.55 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001821/1.725, allocations: 497.8 kB / 0.8027 GB, free: 75.07 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.00638/1.732, allocations: 3.492 MB / 0.8062 GB, free: 71.56 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00174/1.734, allocations: 0.6387 MB / 0.8068 GB, free: 70.91 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02428/1.758, allocations: 13.32 MB / 0.8198 GB, free: 57.52 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.099e-05/1.758, allocations: 37.64 kB / 0.8198 GB, free: 57.48 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.378e-05/1.758, allocations: 20 kB / 0.8198 GB, free: 57.46 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.679e-05/1.758, allocations: 15.94 kB / 0.8199 GB, free: 57.45 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04299/1.801, allocations: 26.73 MB / 0.846 GB, free: 30.21 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.224e-05/1.801, allocations: 8.75 kB / 0.846 GB, free: 30.2 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001937/1.803, allocations: 427.3 kB / 0.8464 GB, free: 29.78 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01812/1.821, allocations: 6.656 MB / 0.8529 GB, free: 23.11 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008241/1.822, allocations: 64 kB / 0.8529 GB, free: 23.04 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2544/2.077, allocations: 34.01 MB / 0.8862 GB, free: 206.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/2.077, allocations: 15.45 kB / 0.8862 GB, free: 206.7 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03252/2.109, allocations: 18.77 MB / 0.9045 GB, free: 197.6 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003875/2.113, allocations: 1.386 MB / 0.9058 GB, free: 196.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001603/2.115, allocations: 66.69 kB / 0.9059 GB, free: 196.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003922/2.119, allocations: 303.5 kB / 0.9062 GB, free: 196.1 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009755/2.12, allocations: 240.2 kB / 0.9064 GB, free: 195.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002827/2.12, allocations: 88.88 kB / 0.9065 GB, free: 195.8 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007785/2.128, allocations: 4.607 MB / 0.911 GB, free: 191.2 MB / 0.5138 GB Notification: Performance of sort global known variables: time 4.71e-07/2.128, allocations: 2.906 kB / 0.911 GB, free: 191.2 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01252/2.14, allocations: 2.147 MB / 0.9131 GB, free: 189.1 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.0009093/2.141, allocations: 215.6 kB / 0.9133 GB, free: 188.9 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.02187/2.163, allocations: 14.46 MB / 0.9274 GB, free: 174.5 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-05/2.163, allocations: 4 kB / 0.9274 GB, free: 174.5 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.008156/2.171, allocations: 5.012 MB / 0.9323 GB, free: 169.5 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007368/2.179, allocations: 0.9892 MB / 0.9333 GB, free: 168.6 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03698/2.216, allocations: 23.42 MB / 0.9562 GB, free: 145.4 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007915/2.224, allocations: 5.562 MB / 0.9616 GB, free: 139.8 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007005/2.231, allocations: 2.605 MB / 0.9641 GB, free: 137.2 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001607/2.232, allocations: 395.4 kB / 0.9645 GB, free: 136.8 MB / 0.5138 GB Notification: Performance of SimCode: time 1.513e-06/2.232, allocations: 1.422 kB / 0.9645 GB, free: 136.8 MB / 0.5138 GB Notification: Performance of Templates: time 0.1499/2.382, allocations: 99.27 MB / 1.061 GB, free: 37.5 MB / 0.5138 GB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile (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)