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.001172/0.001172, allocations: 117.5 kB / 16.63 MB, free: 6.812 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.001044/0.001044, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.386/1.386, allocations: 205.1 MB / 223.4 MB, free: 12.36 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.001136/0.001136, allocations: 47.94 kB / 279.5 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09967/0.1008, allocations: 46.64 MB / 326.1 MB, free: 4.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.288/0.3888, allocations: 103.4 MB / 429.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.05086/0.4397, allocations: 19.85 MB / 449.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02075/0.4605, allocations: 474.8 kB / 449.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01156/0.4722, allocations: 5.648 MB / 455.5 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01111/0.4833, allocations: 3.141 MB / 458.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004274/0.4876, allocations: 1.502 MB / 460.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01747/0.5051, allocations: 11.98 MB / 472.1 MB, free: 3.941 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01077/0.5159, allocations: 8.045 MB / 480.2 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006439/0.5224, allocations: 3.715 MB / 483.9 MB, free: 8.105 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007724/0.5301, allocations: 5.305 MB / 489.2 MB, free: 2.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002557/0.5327, allocations: 0.7148 MB / 489.9 MB, free: 2.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004919/0.5377, allocations: 1.693 MB / 491.6 MB, free: 384 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006493/0.5442, allocations: 4.283 MB / 495.9 MB, free: 12.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01017/0.5544, allocations: 4.519 MB / 0.4887 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.021/0.5755, allocations: 13.42 MB / 0.5018 GB, free: 10.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.202e-05/0.5755, allocations: 0 / 0.5018 GB, free: 10.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5756, allocations: 3.938 kB / 0.5018 GB, free: 10.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005841/0.5761, allocations: 4 kB / 0.5018 GB, free: 10.07 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: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.02679/0.6029, allocations: 9.691 MB / 0.5113 GB, free: 292 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.603, allocations: 12.03 kB / 0.5113 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04278/0.6458, allocations: 5.24 MB / 0.5164 GB, free: 11.01 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02137/0.6672, allocations: 8.195 MB / 0.5244 GB, free: 2.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004469/0.6677, allocations: 423.6 kB / 0.5248 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002194/0.6699, allocations: 0.5853 MB / 0.5254 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03669/0.7066, allocations: 16.55 MB / 0.5415 GB, free: 148 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005246/0.7072, allocations: 99.17 kB / 0.5416 GB, free: 48 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.3268/1.034, allocations: 268.6 kB / 0.5419 GB, free: 162.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005124/1.039, allocations: 2.764 MB / 0.5446 GB, free: 162.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02962/1.069, allocations: 13.63 MB / 0.5579 GB, free: 158.5 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.07268/1.142, allocations: 67.99 MB / 0.6243 GB, free: 93.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01763/1.159, allocations: 7.883 MB / 0.632 GB, free: 85.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004728/1.164, allocations: 4.509 MB / 0.6364 GB, free: 80.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01789/1.182, allocations: 12.43 MB / 0.6485 GB, free: 68.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/1.182, allocations: 64.56 kB / 0.6486 GB, free: 68.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=280): time 5.109e-06/1.182, allocations: 0 / 0.6486 GB, free: 68.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=340): time 0.1637/1.346, allocations: 49.27 MB / 0.6967 GB, free: 19.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/1.346, allocations: 402.1 kB / 0.6971 GB, free: 18.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01307/1.359, allocations: 7.187 MB / 0.7041 GB, free: 11.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001157/1.36, allocations: 77.7 kB / 0.7042 GB, free: 11.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003023/1.363, allocations: 5.025 MB / 0.7091 GB, free: 6.281 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001658/1.365, allocations: 1.265 MB / 0.7103 GB, free: 5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00304/1.368, allocations: 1.868 MB / 0.7121 GB, free: 3.117 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.207e-05/1.368, allocations: 301.1 kB / 0.7124 GB, free: 2.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.212/1.58, allocations: 4.545 MB / 0.7169 GB, free: 147.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01279/1.593, allocations: 9.267 MB / 0.7259 GB, free: 140.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01917/1.612, allocations: 14.54 MB / 0.7401 GB, free: 129.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004613/1.613, allocations: 46.69 kB / 0.7402 GB, free: 129.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.0442/1.657, allocations: 19.76 MB / 0.7595 GB, free: 123.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003313/1.657, allocations: 81.31 kB / 0.7595 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005583/1.658, allocations: 163.1 kB / 0.7597 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02083/1.679, allocations: 7.047 MB / 0.7666 GB, free: 120.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006696/1.685, allocations: 1.935 MB / 0.7685 GB, free: 118.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04364/1.729, allocations: 35.32 MB / 0.803 GB, free: 82.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008683/1.738, allocations: 0.584 MB / 0.8035 GB, free: 82.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001743/1.74, allocations: 500 kB / 0.804 GB, free: 81.68 MB / 446.1 MB 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.007024/1.747, allocations: 3.483 MB / 0.8074 GB, free: 78.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002431/1.749, allocations: 0.6367 MB / 0.808 GB, free: 77.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0284/1.777, allocations: 13.32 MB / 0.821 GB, free: 64.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.452e-05/1.778, allocations: 35.98 kB / 0.8211 GB, free: 64.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000104/1.778, allocations: 20 kB / 0.8211 GB, free: 64.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001257/1.778, allocations: 15.95 kB / 0.8211 GB, free: 64.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05743/1.835, allocations: 26.73 MB / 0.8472 GB, free: 37.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.077e-05/1.835, allocations: 4 kB / 0.8472 GB, free: 37.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00208/1.838, allocations: 428.5 kB / 0.8476 GB, free: 37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01896/1.857, allocations: 6.66 MB / 0.8541 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009816/1.858, allocations: 60 kB / 0.8542 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2548/2.112, allocations: 34.01 MB / 0.8874 GB, free: 130.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.291e-05/2.112, allocations: 10.78 kB / 0.8874 GB, free: 130.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03603/2.149, allocations: 18.76 MB / 0.9057 GB, free: 124.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004649/2.153, allocations: 1.389 MB / 0.9071 GB, free: 124 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002643/2.156, allocations: 62.97 kB / 0.9072 GB, free: 124 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005132/2.161, allocations: 303.5 kB / 0.9074 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001593/2.163, allocations: 248.7 kB / 0.9077 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007336/2.163, allocations: 90.52 kB / 0.9078 GB, free: 123.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.009301/2.173, allocations: 4.605 MB / 0.9123 GB, free: 122.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.6e-07/2.173, allocations: 3.844 kB / 0.9123 GB, free: 122.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01099/2.184, allocations: 2.147 MB / 0.9144 GB, free: 122.1 MB / 446.1 MB 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.00117/2.185, allocations: 217.1 kB / 0.9146 GB, free: 122 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02334/2.208, allocations: 14.46 MB / 0.9287 GB, free: 111.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/2.208, allocations: 3.828 kB / 0.9287 GB, free: 111.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008494/2.217, allocations: 5.006 MB / 0.9336 GB, free: 106.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01195/2.229, allocations: 0.9976 MB / 0.9346 GB, free: 106 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03731/2.266, allocations: 23.4 MB / 0.9574 GB, free: 82.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008684/2.275, allocations: 5.559 MB / 0.9628 GB, free: 77.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006993/2.282, allocations: 2.617 MB / 0.9654 GB, free: 74.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00153/2.284, allocations: 391.4 kB / 0.9658 GB, free: 74.15 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/2.284, allocations: 0 / 0.9658 GB, free: 74.15 MB / 446.1 MB Notification: Performance of Templates: time 0.3837/2.667, allocations: 99.28 MB / 1.063 GB, free: 120.6 MB / 446.1 MB 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)