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.001115/0.001115, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001275/0.001275, allocations: 190.5 kB / 16.14 MB, free: 6.734 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.484/1.484, allocations: 205.1 MB / 222 MB, free: 5.004 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.001175/0.001175, allocations: 55.92 kB / 278.1 MB, free: 13 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2218, allocations: 46.62 MB / 324.7 MB, free: 1.832 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.1151/0.3369, allocations: 111.5 MB / 436.2 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3334/0.6704, allocations: 21.3 MB / 457.5 MB, free: 460 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02062/0.691, allocations: 0.4991 MB / 458 MB, free: 460 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01078/0.7019, allocations: 6.367 MB / 464.3 MB, free: 328 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007851/0.7098, allocations: 3.282 MB / 467.6 MB, free: 140 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003683/0.7135, allocations: 1.54 MB / 469.2 MB, free: 104 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01982/0.7333, allocations: 16.42 MB / 485.6 MB, free: 14.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0103/0.7436, allocations: 7.9 MB / 493.5 MB, free: 12.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006699/0.7504, allocations: 3.401 MB / 496.9 MB, free: 11.9 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009371/0.7598, allocations: 5.323 MB / 0.4904 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003093/0.7629, allocations: 0.5 MB / 0.4909 GB, free: 9.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005632/0.7686, allocations: 1.533 MB / 0.4924 GB, free: 8.254 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007189/0.7758, allocations: 4.196 MB / 0.4965 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01115/0.787, allocations: 4.422 MB / 0.5008 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02051/0.8075, allocations: 13.65 MB / 0.5142 GB, free: 3.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.8076, allocations: 0 / 0.5142 GB, free: 3.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.8076, allocations: 0 / 0.5142 GB, free: 3.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006057/0.8082, allocations: 2.625 kB / 0.5142 GB, free: 3.18 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.0285/0.8367, allocations: 10.07 MB / 0.524 GB, free: 9.176 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.8368, allocations: 8.031 kB / 0.524 GB, free: 9.168 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04341/0.8802, allocations: 5.278 MB / 0.5292 GB, free: 3.875 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02011/0.9004, allocations: 8.373 MB / 0.5373 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004035/0.9008, allocations: 444.5 kB / 0.5378 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002288/0.9031, allocations: 0.6176 MB / 0.5384 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03382/0.937, allocations: 17.14 MB / 0.5551 GB, free: 8.891 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003344/0.9373, allocations: 94.73 kB / 0.5552 GB, free: 8.828 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001166/0.9385, allocations: 284.5 kB / 0.5555 GB, free: 8.602 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004787/0.9433, allocations: 2.853 MB / 0.5582 GB, free: 5.781 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03149/0.9748, allocations: 14.04 MB / 0.572 GB, free: 8.008 MB / 478.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.4824/1.457, allocations: 69.44 MB / 0.6398 GB, free: 200.3 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0174/1.475, allocations: 7.458 MB / 0.647 GB, free: 199.7 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004669/1.479, allocations: 4.459 MB / 0.6514 GB, free: 198.3 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01821/1.498, allocations: 12.76 MB / 0.6639 GB, free: 192 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.788e-05/1.498, allocations: 72.95 kB / 0.6639 GB, free: 191.9 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=293): time 5.43e-06/1.498, allocations: 0 / 0.6639 GB, free: 191.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=365): time 0.1403/1.638, allocations: 43.52 MB / 0.7064 GB, free: 154.3 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/1.638, allocations: 394.3 kB / 0.7068 GB, free: 153.8 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009339/1.648, allocations: 7.389 MB / 0.714 GB, free: 146.4 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001072/1.649, allocations: 85.7 kB / 0.7141 GB, free: 146.4 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002937/1.652, allocations: 5.239 MB / 0.7192 GB, free: 141.1 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001908/1.654, allocations: 1.347 MB / 0.7205 GB, free: 139.8 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002656/1.656, allocations: 1.939 MB / 0.7224 GB, free: 137.8 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.661e-05/1.656, allocations: 305.1 kB / 0.7227 GB, free: 137.5 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005422/1.662, allocations: 4.284 MB / 0.7269 GB, free: 133.2 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007701/1.669, allocations: 9.196 MB / 0.7359 GB, free: 121.8 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01471/1.684, allocations: 14.25 MB / 0.7498 GB, free: 105.5 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000157/1.684, allocations: 52 kB / 0.7498 GB, free: 105.5 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.03449/1.719, allocations: 18 MB / 0.7674 GB, free: 87.42 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/1.719, allocations: 76 kB / 0.7675 GB, free: 87.34 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001748/1.719, allocations: 168 kB / 0.7677 GB, free: 87.18 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01513/1.734, allocations: 5.325 MB / 0.7729 GB, free: 81.84 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006682/1.741, allocations: 2.012 MB / 0.7748 GB, free: 79.82 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03401/1.775, allocations: 29 MB / 0.8031 GB, free: 50.42 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009327/1.785, allocations: 0.55 MB / 0.8037 GB, free: 49.87 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002108/1.787, allocations: 0.5143 MB / 0.8042 GB, free: 49.36 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.007406/1.794, allocations: 3.621 MB / 0.8077 GB, free: 45.72 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001977/1.796, allocations: 0.6673 MB / 0.8084 GB, free: 45.04 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02141/1.817, allocations: 11.27 MB / 0.8194 GB, free: 33.7 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.176e-05/1.818, allocations: 36 kB / 0.8194 GB, free: 33.67 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-05/1.818, allocations: 20.19 kB / 0.8194 GB, free: 33.65 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.401e-05/1.818, allocations: 23.94 kB / 0.8195 GB, free: 33.62 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04327/1.861, allocations: 22.17 MB / 0.8411 GB, free: 11.22 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-05/1.861, allocations: 8 kB / 0.8411 GB, free: 11.21 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002093/1.863, allocations: 447.3 kB / 0.8415 GB, free: 10.78 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01365/1.877, allocations: 5.039 MB / 0.8465 GB, free: 5.727 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009229/1.878, allocations: 73.97 kB / 0.8465 GB, free: 5.656 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2551/2.133, allocations: 28.39 MB / 0.8743 GB, free: 211 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/2.133, allocations: 11.22 kB / 0.8743 GB, free: 211 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0263/2.159, allocations: 16.5 MB / 0.8904 GB, free: 205.3 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003765/2.163, allocations: 1.34 MB / 0.8917 GB, free: 204.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001152/2.164, allocations: 67.45 kB / 0.8917 GB, free: 204.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003025/2.167, allocations: 266.2 kB / 0.892 GB, free: 204.8 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009414/2.168, allocations: 272.5 kB / 0.8923 GB, free: 204.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002662/2.169, allocations: 98.19 kB / 0.8924 GB, free: 204.7 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006316/2.175, allocations: 4.731 MB / 0.897 GB, free: 200.7 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.5e-07/2.175, allocations: 2.594 kB / 0.897 GB, free: 200.7 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008856/2.184, allocations: 2.181 MB / 0.8991 GB, free: 198.5 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.0007095/2.185, allocations: 224.2 kB / 0.8993 GB, free: 198.3 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01402/2.199, allocations: 10.83 MB / 0.9099 GB, free: 187.5 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.327e-05/2.199, allocations: 4 kB / 0.9099 GB, free: 187.5 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005406/2.204, allocations: 4.473 MB / 0.9143 GB, free: 183 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007714/2.212, allocations: 0.9708 MB / 0.9152 GB, free: 182.1 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03388/2.246, allocations: 23.31 MB / 0.938 GB, free: 159 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008675/2.254, allocations: 5.769 MB / 0.9436 GB, free: 153.3 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007454/2.262, allocations: 2.744 MB / 0.9463 GB, free: 150.6 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00143/2.263, allocations: 419.4 kB / 0.9467 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of SimCode: time 1.163e-06/2.263, allocations: 0 / 0.9467 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of Templates: time 0.1439/2.407, allocations: 94.74 MB / 1.039 GB, free: 55.34 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)