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.001376/0.001377, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002224/0.002225, allocations: 196.6 kB / 16.25 MB, free: 6.625 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.421/1.421, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.001187/0.001187, allocations: 51.94 kB / 278.2 MB, free: 12.63 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2522, allocations: 46.63 MB / 324.8 MB, free: 1.914 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.09552/0.3477, allocations: 111.5 MB / 436.3 MB, free: 4.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2753/0.623, allocations: 21.2 MB / 457.5 MB, free: 464 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02785/0.6509, allocations: 0.5027 MB / 458 MB, free: 460 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0122/0.6632, allocations: 6.136 MB / 464.2 MB, free: 392 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01024/0.6735, allocations: 3.226 MB / 467.4 MB, free: 208 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003469/0.677, allocations: 1.589 MB / 469 MB, free: 164 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01663/0.6936, allocations: 12.28 MB / 481.3 MB, free: 80 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01268/0.7064, allocations: 8.479 MB / 489.7 MB, free: 13.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009892/0.7163, allocations: 3.903 MB / 493.6 MB, free: 13.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01069/0.727, allocations: 5.556 MB / 499.2 MB, free: 11.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004226/0.7313, allocations: 0.7466 MB / 500 MB, free: 11.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007625/0.7389, allocations: 1.722 MB / 0.4899 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01057/0.7496, allocations: 4.45 MB / 0.4943 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01208/0.7617, allocations: 4.717 MB / 0.4989 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01994/0.7817, allocations: 13.93 MB / 0.5125 GB, free: 5.047 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.7818, allocations: 0 / 0.5125 GB, free: 5.047 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.7818, allocations: 0 / 0.5125 GB, free: 5.047 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000516/0.7823, allocations: 0 / 0.5125 GB, free: 5.047 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.0303/0.8126, allocations: 10.07 MB / 0.5223 GB, free: 11.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.478e-05/0.8127, allocations: 8.031 kB / 0.5223 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04637/0.8591, allocations: 5.281 MB / 0.5275 GB, free: 5.742 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02134/0.8805, allocations: 8.365 MB / 0.5356 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004444/0.881, allocations: 448.7 kB / 0.5361 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002663/0.8836, allocations: 0.6234 MB / 0.5367 GB, free: 12.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04001/0.9237, allocations: 17.13 MB / 0.5534 GB, free: 10.76 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005041/0.9242, allocations: 104.5 kB / 0.5535 GB, free: 10.69 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002355/0.9266, allocations: 278.9 kB / 0.5538 GB, free: 10.47 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004917/0.9315, allocations: 2.86 MB / 0.5566 GB, free: 7.645 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03138/0.9629, allocations: 14.03 MB / 0.5703 GB, free: 9.875 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.4883/1.451, allocations: 69.44 MB / 0.6381 GB, free: 200.3 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01736/1.469, allocations: 7.461 MB / 0.6454 GB, free: 199.6 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004684/1.473, allocations: 4.462 MB / 0.6497 GB, free: 198.5 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01752/1.491, allocations: 12.76 MB / 0.6622 GB, free: 192.3 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.379e-05/1.491, allocations: 70.78 kB / 0.6622 GB, free: 192.2 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=293): time 7.124e-06/1.491, allocations: 0 / 0.6622 GB, free: 192.2 MB / 0.5138 GB Notification: Performance of matching and sorting (n=365): time 0.1356/1.627, allocations: 43.53 MB / 0.7048 GB, free: 154.8 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/1.627, allocations: 398.3 kB / 0.7051 GB, free: 154.3 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009067/1.636, allocations: 7.393 MB / 0.7124 GB, free: 146.9 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0009343/1.637, allocations: 81.7 kB / 0.7124 GB, free: 146.9 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002535/1.639, allocations: 5.243 MB / 0.7176 GB, free: 141.6 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001477/1.641, allocations: 1.343 MB / 0.7189 GB, free: 140.3 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002377/1.643, allocations: 1.931 MB / 0.7207 GB, free: 138.3 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.124e-05/1.643, allocations: 305.1 kB / 0.721 GB, free: 138 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004824/1.648, allocations: 4.289 MB / 0.7252 GB, free: 133.7 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006994/1.655, allocations: 9.195 MB / 0.7342 GB, free: 122.3 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01412/1.669, allocations: 14.24 MB / 0.7481 GB, free: 106.1 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001092/1.67, allocations: 48 kB / 0.7482 GB, free: 106 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.03127/1.701, allocations: 18.01 MB / 0.7658 GB, free: 87.97 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 9.716e-05/1.701, allocations: 76 kB / 0.7658 GB, free: 87.89 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001452/1.701, allocations: 168 kB / 0.766 GB, free: 87.73 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01441/1.716, allocations: 5.344 MB / 0.7712 GB, free: 82.37 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00632/1.722, allocations: 2.004 MB / 0.7732 GB, free: 80.36 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03458/1.757, allocations: 31.13 MB / 0.8036 GB, free: 48.81 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008867/1.765, allocations: 0.5513 MB / 0.8041 GB, free: 48.26 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00174/1.767, allocations: 0.5195 MB / 0.8046 GB, free: 47.74 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.006534/1.774, allocations: 3.622 MB / 0.8081 GB, free: 44.11 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001607/1.775, allocations: 0.6634 MB / 0.8088 GB, free: 43.43 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01993/1.795, allocations: 11.27 MB / 0.8198 GB, free: 32.1 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.007e-05/1.795, allocations: 36 kB / 0.8198 GB, free: 32.06 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.421e-05/1.795, allocations: 20 kB / 0.8198 GB, free: 32.04 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.328e-05/1.796, allocations: 19.94 kB / 0.8199 GB, free: 32.02 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03771/1.833, allocations: 22.16 MB / 0.8415 GB, free: 9.629 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-05/1.833, allocations: 11.94 kB / 0.8415 GB, free: 9.617 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002091/1.835, allocations: 447.3 kB / 0.8419 GB, free: 9.18 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01338/1.849, allocations: 5.035 MB / 0.8469 GB, free: 4.129 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009469/1.85, allocations: 66.03 kB / 0.8469 GB, free: 4.066 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2667/2.116, allocations: 30.51 MB / 0.8767 GB, free: 209.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.168e-05/2.117, allocations: 12.2 kB / 0.8767 GB, free: 209.1 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02804/2.145, allocations: 16.49 MB / 0.8928 GB, free: 202.8 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004294/2.149, allocations: 1.344 MB / 0.8942 GB, free: 201.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002789/2.152, allocations: 71.8 kB / 0.8942 GB, free: 201.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005355/2.157, allocations: 262.7 kB / 0.8945 GB, free: 201.7 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001616/2.159, allocations: 266 kB / 0.8947 GB, free: 201.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000391/2.159, allocations: 107.7 kB / 0.8948 GB, free: 201.4 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.008937/2.168, allocations: 4.724 MB / 0.8994 GB, free: 196.7 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.8e-07/2.168, allocations: 5.688 kB / 0.8994 GB, free: 196.7 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01451/2.183, allocations: 2.177 MB / 0.9016 GB, free: 194.6 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.0014/2.184, allocations: 235.2 kB / 0.9018 GB, free: 194.3 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.02232/2.206, allocations: 14.32 MB / 0.9158 GB, free: 180.1 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.41e-05/2.206, allocations: 4 kB / 0.9158 GB, free: 180.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.006401/2.213, allocations: 4.468 MB / 0.9201 GB, free: 175.6 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008387/2.221, allocations: 1.03 MB / 0.9212 GB, free: 174.7 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03607/2.257, allocations: 23.3 MB / 0.9439 GB, free: 151.6 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008318/2.266, allocations: 5.774 MB / 0.9495 GB, free: 145.8 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007168/2.273, allocations: 2.75 MB / 0.9522 GB, free: 143.1 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/2.274, allocations: 419.4 kB / 0.9526 GB, free: 142.7 MB / 0.5138 GB Notification: Performance of SimCode: time 9.21e-07/2.274, allocations: 0 / 0.9526 GB, free: 142.7 MB / 0.5138 GB Notification: Performance of Templates: time 0.1503/2.425, allocations: 98.45 MB / 1.049 GB, free: 44.22 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)