Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.Engine1b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009322/0.009322, allocations: 171.2 kB / 16.27 MB, free: 6.66 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.435/1.435, allocations: 205.4 MB / 222.4 MB, free: 5.785 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.000447/0.0004469, allocations: 12 kB / 279.4 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2398, allocations: 47.58 MB / 327 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.1003/0.3401, allocations: 109 MB / 436 MB, free: 6.051 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.05572/0.3959, allocations: 21.24 MB / 457.2 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02407/0.42, allocations: 0.4987 MB / 457.7 MB, free: 244 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2587/0.6788, allocations: 0.7291 MB / 458.5 MB, free: 1.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01044/0.6892, allocations: 3.286 MB / 461.7 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004214/0.6935, allocations: 1.548 MB / 463.3 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02296/0.7165, allocations: 16.46 MB / 479.7 MB, free: 16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01705/0.7336, allocations: 10.68 MB / 490.4 MB, free: 13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008344/0.742, allocations: 2.874 MB / 493.3 MB, free: 12.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009629/0.7517, allocations: 4.646 MB / 497.9 MB, free: 11.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00251/0.7542, allocations: 290.6 kB / 498.2 MB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005062/0.7593, allocations: 1.316 MB / 499.5 MB, free: 11.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006721/0.7661, allocations: 3.875 MB / 0.4916 GB, free: 8.961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009503/0.7756, allocations: 4.046 MB / 0.4956 GB, free: 6.016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01857/0.7942, allocations: 13.23 MB / 0.5085 GB, free: 10.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.7943, allocations: 0 / 0.5085 GB, free: 10.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.7943, allocations: 0 / 0.5085 GB, free: 10.44 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004957/0.7948, allocations: 0 / 0.5085 GB, free: 10.44 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2489 * Number of variables: 2489 Notification: Performance of Generate backend data structure: time 0.02083/0.8157, allocations: 8.332 MB / 0.5166 GB, free: 2.301 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.8157, allocations: 12.03 kB / 0.5166 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0487/0.8644, allocations: 5.399 MB / 0.5219 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02174/0.8862, allocations: 8.362 MB / 0.5301 GB, free: 4.762 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004709/0.8867, allocations: 458.1 kB / 0.5305 GB, free: 4.363 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002734/0.8894, allocations: 0.6077 MB / 0.5311 GB, free: 3.805 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03497/0.9244, allocations: 17.21 MB / 0.5479 GB, free: 1.824 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003393/0.9248, allocations: 105.7 kB / 0.548 GB, free: 1.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001075/0.9259, allocations: 277.6 kB / 0.5483 GB, free: 1.527 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004509/0.9304, allocations: 2.857 MB / 0.5511 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03255/0.963, allocations: 14.1 MB / 0.5648 GB, free: 0.8711 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.5218/1.485, allocations: 69.48 MB / 0.6327 GB, free: 198.2 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01832/1.503, allocations: 7.51 MB / 0.64 GB, free: 197.5 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006125/1.509, allocations: 4.458 MB / 0.6444 GB, free: 197.4 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02058/1.53, allocations: 12.77 MB / 0.6568 GB, free: 192.5 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.451e-05/1.53, allocations: 63.81 kB / 0.6569 GB, free: 192.4 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=293): time 7.705e-06/1.53, allocations: 0 / 0.6569 GB, free: 192.4 MB / 0.5138 GB Notification: Performance of matching and sorting (n=365): time 0.1451/1.675, allocations: 43.9 MB / 0.6998 GB, free: 155.3 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001734/1.675, allocations: 398.3 kB / 0.7002 GB, free: 154.8 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01125/1.687, allocations: 7.389 MB / 0.7074 GB, free: 147.4 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001144/1.688, allocations: 84.2 kB / 0.7075 GB, free: 147.4 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003229/1.691, allocations: 5.23 MB / 0.7126 GB, free: 142.1 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001926/1.693, allocations: 1.36 MB / 0.7139 GB, free: 140.8 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/1.694, allocations: 0.8394 MB / 0.7147 GB, free: 139.9 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.205e-05/1.694, allocations: 301.1 kB / 0.715 GB, free: 139.6 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005218/1.699, allocations: 4.284 MB / 0.7192 GB, free: 135.3 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007789/1.707, allocations: 9.191 MB / 0.7282 GB, free: 123.9 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0153/1.723, allocations: 14.24 MB / 0.7421 GB, free: 107.8 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001373/1.723, allocations: 52 kB / 0.7421 GB, free: 107.7 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.03597/1.759, allocations: 18.01 MB / 0.7597 GB, free: 89.67 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/1.759, allocations: 76 kB / 0.7598 GB, free: 89.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001607/1.759, allocations: 168 kB / 0.7599 GB, free: 89.43 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01444/1.774, allocations: 5.325 MB / 0.7651 GB, free: 84.09 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006537/1.78, allocations: 2.012 MB / 0.7671 GB, free: 82.08 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03399/1.814, allocations: 29.03 MB / 0.7954 GB, free: 52.64 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008132/1.822, allocations: 0.5578 MB / 0.796 GB, free: 52.09 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001213/1.824, allocations: 0.5116 MB / 0.7965 GB, free: 51.58 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 762 * Number of states: 0 () * Number of discrete variables: 72 (Rod3.color[3],Rod3.color[2],Rod3.color[1],Rod1.color[3],Rod1.color[2],Rod1.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Mid.color[3],Mid.color[2],Mid.color[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.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],Rod2.color[3],Rod2.color[2],Rod2.color[1],Rod2.body.sphereColor[3],Rod2.body.sphereColor[2],Rod2.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 (1102): * Single equations (assignments): 1096 * 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 {(6,100,72.2%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.006398/1.83, allocations: 3.624 MB / 0.8 GB, free: 47.94 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001628/1.832, allocations: 0.6711 MB / 0.8007 GB, free: 47.26 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02181/1.853, allocations: 11.27 MB / 0.8117 GB, free: 35.92 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-05/1.854, allocations: 36 kB / 0.8117 GB, free: 35.88 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.69e-05/1.854, allocations: 23.94 kB / 0.8117 GB, free: 35.86 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.499e-05/1.854, allocations: 15.94 kB / 0.8118 GB, free: 35.84 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04204/1.896, allocations: 22.17 MB / 0.8334 GB, free: 13.44 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.6e-05/1.896, allocations: 8 kB / 0.8334 GB, free: 13.43 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002097/1.898, allocations: 447.3 kB / 0.8338 GB, free: 12.99 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01395/1.912, allocations: 5.043 MB / 0.8388 GB, free: 7.938 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001055/1.913, allocations: 68 kB / 0.8388 GB, free: 7.871 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2557/2.169, allocations: 28.42 MB / 0.8666 GB, free: 210.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/2.169, allocations: 13.19 kB / 0.8666 GB, free: 210.6 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02713/2.196, allocations: 16.49 MB / 0.8827 GB, free: 204.9 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003962/2.2, allocations: 1.352 MB / 0.884 GB, free: 204.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001928/2.202, allocations: 78.36 kB / 0.8841 GB, free: 204.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003933/2.206, allocations: 271.2 kB / 0.8844 GB, free: 204.4 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009966/2.207, allocations: 259.2 kB / 0.8846 GB, free: 204.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002676/2.207, allocations: 104.2 kB / 0.8847 GB, free: 204.3 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007643/2.215, allocations: 4.73 MB / 0.8893 GB, free: 202.3 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.9e-07/2.215, allocations: 0 / 0.8893 GB, free: 202.3 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01094/2.226, allocations: 2.185 MB / 0.8915 GB, free: 200.1 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * 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 (241): * Single equations (assignments): 235 * 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 {(5,96,72.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008536/2.227, allocations: 221.3 kB / 0.8917 GB, free: 199.9 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01542/2.242, allocations: 10.83 MB / 0.9022 GB, free: 189.4 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/2.242, allocations: 0 / 0.9022 GB, free: 189.4 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005761/2.248, allocations: 4.476 MB / 0.9066 GB, free: 184.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01512/2.263, allocations: 0.9708 MB / 0.9076 GB, free: 184 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03482/2.298, allocations: 23.37 MB / 0.9304 GB, free: 160.8 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006234/2.304, allocations: 5.771 MB / 0.936 GB, free: 155 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006361/2.311, allocations: 2.746 MB / 0.9387 GB, free: 152.3 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009815/2.311, allocations: 411.3 kB / 0.9391 GB, free: 151.9 MB / 0.5138 GB Notification: Performance of SimCode: time 9.82e-07/2.312, allocations: 0 / 0.9391 GB, free: 151.9 MB / 0.5138 GB Notification: Performance of Templates: time 0.1436/2.455, allocations: 92.79 MB / 1.03 GB, free: 59.07 MB / 0.5138 GB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1)