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.001182/0.001182, allocations: 107.8 kB / 17.06 MB, free: 6.137 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.00119/0.00119, allocations: 188 kB / 18 MB, free: 5.219 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.397/1.397, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001375/0.001375, allocations: 47.92 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09839/0.09978, allocations: 46.62 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.2263/0.3261, allocations: 19.5 MB / 394 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01542/0.3415, allocations: 5.992 MB / 400 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006393/0.348, allocations: 156.8 kB / 400.1 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01247/0.3605, allocations: 5.858 MB / 406 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009428/0.37, allocations: 3.365 MB / 409.4 MB, free: 8.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003816/0.3738, allocations: 1.573 MB / 410.9 MB, free: 7.211 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01676/0.3906, allocations: 11.36 MB / 422.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01157/0.4022, allocations: 7.667 MB / 430 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007134/0.4093, allocations: 3.583 MB / 433.5 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007674/0.417, allocations: 4.76 MB / 438.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002883/0.42, allocations: 0.7187 MB / 439 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00591/0.4259, allocations: 1.67 MB / 440.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006364/0.4323, allocations: 4.228 MB / 444.9 MB, free: 8.938 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008695/0.441, allocations: 4.476 MB / 449.4 MB, free: 4.438 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01774/0.4588, allocations: 13.69 MB / 463.1 MB, free: 6.703 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.4588, allocations: 4 kB / 463.1 MB, free: 6.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4588, allocations: 0 / 463.1 MB, free: 6.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000541/0.4594, allocations: 0 / 463.1 MB, free: 6.699 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.02589/0.4853, allocations: 9.692 MB / 472.8 MB, free: 12.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.4854, allocations: 12.03 kB / 472.8 MB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04529/0.5306, allocations: 5.24 MB / 478 MB, free: 7.652 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01974/0.5504, allocations: 8.37 MB / 486.4 MB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004863/0.551, allocations: 427.6 kB / 486.8 MB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002202/0.5532, allocations: 0.5853 MB / 487.4 MB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03198/0.5852, allocations: 16.55 MB / 0.4921 GB, free: 12.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003238/0.5855, allocations: 99.11 kB / 0.4922 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001475/0.587, allocations: 267.8 kB / 0.4925 GB, free: 12.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004642/0.5917, allocations: 2.764 MB / 0.4952 GB, free: 9.477 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02841/0.6201, allocations: 13.63 MB / 0.5085 GB, free: 11.82 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.4872/1.107, allocations: 67.65 MB / 0.5746 GB, free: 105.2 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02103/1.128, allocations: 7.897 MB / 0.5823 GB, free: 104.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005228/1.134, allocations: 4.507 MB / 0.5867 GB, free: 102.4 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01853/1.152, allocations: 12.43 MB / 0.5988 GB, free: 96.72 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/1.152, allocations: 60.5 kB / 0.5989 GB, free: 96.66 MB / 478.1 MB Notification: Performance of pre-optimization done (n=280): time 4.739e-06/1.152, allocations: 0 / 0.5989 GB, free: 96.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=340): time 0.1669/1.319, allocations: 49.28 MB / 0.647 GB, free: 58.54 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/1.319, allocations: 402.1 kB / 0.6474 GB, free: 58.05 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009552/1.329, allocations: 7.183 MB / 0.6544 GB, free: 50.89 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001028/1.33, allocations: 77.7 kB / 0.6545 GB, free: 50.81 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003043/1.333, allocations: 5.035 MB / 0.6594 GB, free: 45.77 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001495/1.335, allocations: 1.262 MB / 0.6606 GB, free: 44.52 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002394/1.337, allocations: 1.86 MB / 0.6624 GB, free: 42.65 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.5e-05/1.337, allocations: 301.1 kB / 0.6627 GB, free: 42.35 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005261/1.342, allocations: 4.547 MB / 0.6672 GB, free: 37.8 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007372/1.35, allocations: 9.274 MB / 0.6762 GB, free: 26.3 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01562/1.365, allocations: 14.55 MB / 0.6904 GB, free: 9.523 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001293/1.366, allocations: 48 kB / 0.6905 GB, free: 9.477 MB / 478.1 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.04234/1.408, allocations: 19.77 MB / 0.7098 GB, free: 5.656 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001345/1.408, allocations: 75.94 kB / 0.7098 GB, free: 5.582 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001838/1.408, allocations: 160 kB / 0.71 GB, free: 5.426 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02211/1.43, allocations: 7.04 MB / 0.7169 GB, free: 14.36 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006936/1.437, allocations: 1.93 MB / 0.7188 GB, free: 12.43 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3196/1.757, allocations: 35.3 MB / 0.7532 GB, free: 166.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009391/1.766, allocations: 0.5829 MB / 0.7538 GB, free: 166.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00241/1.769, allocations: 0.491 MB / 0.7543 GB, free: 166.2 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.009327/1.778, allocations: 3.483 MB / 0.7577 GB, free: 165.8 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002317/1.781, allocations: 0.6348 MB / 0.7583 GB, free: 165.8 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03429/1.815, allocations: 13.33 MB / 0.7713 GB, free: 161.7 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001079/1.815, allocations: 34.53 kB / 0.7714 GB, free: 161.7 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-05/1.815, allocations: 18.91 kB / 0.7714 GB, free: 161.7 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.023e-05/1.815, allocations: 16.44 kB / 0.7714 GB, free: 161.7 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05032/1.866, allocations: 26.61 MB / 0.7974 GB, free: 151.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.636e-05/1.866, allocations: 4.688 kB / 0.7974 GB, free: 151.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002016/1.868, allocations: 429.6 kB / 0.7978 GB, free: 151 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01964/1.887, allocations: 6.646 MB / 0.8043 GB, free: 147.6 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008351/1.888, allocations: 58.28 kB / 0.8043 GB, free: 147.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03939/1.928, allocations: 34 MB / 0.8375 GB, free: 113.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.367e-06/1.928, allocations: 11.94 kB / 0.8375 GB, free: 113.5 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03407/1.962, allocations: 18.76 MB / 0.8559 GB, free: 94.93 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004627/1.967, allocations: 1.392 MB / 0.8572 GB, free: 93.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001948/1.968, allocations: 67.66 kB / 0.8573 GB, free: 93.54 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003909/1.972, allocations: 309.2 kB / 0.8576 GB, free: 93.24 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009848/1.973, allocations: 251.7 kB / 0.8578 GB, free: 93 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000278/1.974, allocations: 84 kB / 0.8579 GB, free: 92.92 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006676/1.98, allocations: 4.607 MB / 0.8624 GB, free: 88.34 MB / 0.5138 GB Notification: Performance of sort global known variables: time 6.41e-07/1.98, allocations: 0 / 0.8624 GB, free: 88.34 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01093/1.991, allocations: 2.148 MB / 0.8645 GB, free: 86.2 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.0008161/1.992, allocations: 206.5 kB / 0.8647 GB, free: 86 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01776/2.01, allocations: 11.62 MB / 0.876 GB, free: 74.4 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/2.01, allocations: 7.562 kB / 0.8761 GB, free: 74.4 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.008943/2.019, allocations: 5.008 MB / 0.8809 GB, free: 69.35 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008602/2.028, allocations: 1.005 MB / 0.8819 GB, free: 68.39 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03399/2.062, allocations: 19.64 MB / 0.9011 GB, free: 48.7 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008801/2.07, allocations: 5.556 MB / 0.9065 GB, free: 43.1 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006472/2.077, allocations: 2.613 MB / 0.9091 GB, free: 40.48 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/2.079, allocations: 391.4 kB / 0.9095 GB, free: 40.1 MB / 0.5138 GB Notification: Performance of SimCode: time 1.874e-06/2.079, allocations: 0 / 0.9095 GB, free: 40.1 MB / 0.5138 GB Notification: Performance of Templates: time 0.3979/2.477, allocations: 94.26 MB / 1.001 GB, free: 128.2 MB / 0.5138 GB 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)