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.001187/0.001187, allocations: 90.61 kB / 16.3 MB, free: 6.133 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.001233/0.001233, allocations: 187.6 kB / 17.2 MB, free: 6.016 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.485/1.485, allocations: 205.4 MB / 223.4 MB, free: 13.18 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.0004221/0.0004221, allocations: 12 kB / 280.1 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08465/0.08509, allocations: 47.58 MB / 327.7 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.2371/0.3222, allocations: 88.52 MB / 416.2 MB, free: 7.469 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04212/0.3644, allocations: 20.08 MB / 436.3 MB, free: 8.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02152/0.3859, allocations: 469.4 kB / 436.8 MB, free: 8.504 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01728/0.4033, allocations: 4.46 MB / 441.2 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03984/0.4432, allocations: 12.79 MB / 454 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006569/0.4497, allocations: 1.385 MB / 455.4 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1104/0.5601, allocations: 77.73 MB / 0.5206 GB, free: 8.012 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01284/0.573, allocations: 8.862 MB / 0.5293 GB, free: 15.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00482/0.5778, allocations: 2.418 MB / 0.5316 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005256/0.5831, allocations: 3.132 MB / 0.5347 GB, free: 9.516 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001593/0.5848, allocations: 276 kB / 0.535 GB, free: 9.246 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003466/0.5882, allocations: 1.096 MB / 0.536 GB, free: 8.148 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004036/0.5923, allocations: 3.437 MB / 0.5394 GB, free: 4.703 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002474/0.5948, allocations: 1.598 MB / 0.541 GB, free: 3.094 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.241/0.8359, allocations: 11.26 MB / 0.552 GB, free: 87.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.8359, allocations: 0 / 0.552 GB, free: 87.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.058e-06/0.836, allocations: 0 / 0.552 GB, free: 87.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000815/0.8368, allocations: 1 kB / 0.552 GB, free: 87.35 MB / 446.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.03154/0.8683, allocations: 8.89 MB / 0.5606 GB, free: 83.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.8684, allocations: 12.05 kB / 0.5607 GB, free: 83.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2914/1.16, allocations: 29.79 MB / 0.5897 GB, free: 70.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02144/1.181, allocations: 9.169 MB / 0.5987 GB, free: 64.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003675/1.182, allocations: 422.3 kB / 0.5991 GB, free: 64.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002647/1.184, allocations: 0.5831 MB / 0.5997 GB, free: 63.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02957/1.214, allocations: 16.4 MB / 0.6157 GB, free: 50.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003508/1.214, allocations: 97.41 kB / 0.6158 GB, free: 50.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000921/1.215, allocations: 264.7 kB / 0.616 GB, free: 50.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003943/1.219, allocations: 2.768 MB / 0.6187 GB, free: 48.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02681/1.246, allocations: 13.11 MB / 0.6315 GB, free: 39.43 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.07781/1.324, allocations: 66.83 MB / 0.6968 GB, free: 11.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01947/1.343, allocations: 7.698 MB / 0.7043 GB, free: 3.523 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02306/1.367, allocations: 11.88 MB / 0.7159 GB, free: 7.527 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.796e-05/1.367, allocations: 65.77 kB / 0.716 GB, free: 7.457 MB / 494.1 MB Notification: Performance of pre-optimization done (n=280): time 5.851e-06/1.367, allocations: 0 / 0.716 GB, free: 7.457 MB / 494.1 MB Notification: Performance of matching and sorting (n=339): time 0.3535/1.72, allocations: 47.49 MB / 0.7624 GB, free: 190 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/1.72, allocations: 398 kB / 0.7627 GB, free: 189.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01206/1.732, allocations: 7.948 MB / 0.7705 GB, free: 181.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008827/1.733, allocations: 78.33 kB / 0.7706 GB, free: 181.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003357/1.737, allocations: 5.187 MB / 0.7756 GB, free: 176.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001611/1.738, allocations: 1.245 MB / 0.7769 GB, free: 175.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005639/1.739, allocations: 164 kB / 0.777 GB, free: 175 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003436/1.739, allocations: 0.6492 MB / 0.7777 GB, free: 174.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004945/1.744, allocations: 3.924 MB / 0.7815 GB, free: 170.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006946/1.751, allocations: 8.524 MB / 0.7898 GB, free: 159.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007687/1.759, allocations: 5.615 MB / 0.7953 GB, free: 154 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.033e-05/1.759, allocations: 48 kB / 0.7953 GB, free: 154 MB / 494.1 MB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.03533/1.794, allocations: 17.1 MB / 0.812 GB, free: 136.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.759e-05/1.794, allocations: 72 kB / 0.8121 GB, free: 136.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001535/1.795, allocations: 164 kB / 0.8123 GB, free: 136.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0164/1.811, allocations: 5.806 MB / 0.8179 GB, free: 130.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005921/1.817, allocations: 1.756 MB / 0.8197 GB, free: 129 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03519/1.852, allocations: 30.68 MB / 0.8496 GB, free: 97.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008619/1.861, allocations: 0.5266 MB / 0.8501 GB, free: 97.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001639/1.863, allocations: 473 kB / 0.8506 GB, free: 96.94 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 727 * 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 (934): * Single equations (assignments): 928 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,55.1%) 94,(3,88.9%) 5} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.007146/1.87, allocations: 3.477 MB / 0.854 GB, free: 93.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00158/1.871, allocations: 0.6556 MB / 0.8546 GB, free: 92.78 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02183/1.893, allocations: 11.45 MB / 0.8658 GB, free: 81.25 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.724e-05/1.893, allocations: 33.48 kB / 0.8658 GB, free: 81.22 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-05/1.893, allocations: 20 kB / 0.8658 GB, free: 81.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.337e-05/1.893, allocations: 27.88 kB / 0.8659 GB, free: 81.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05028/1.944, allocations: 24.94 MB / 0.8902 GB, free: 55.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-05/1.944, allocations: 4.094 kB / 0.8902 GB, free: 55.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001973/1.946, allocations: 427.3 kB / 0.8906 GB, free: 55.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.016/1.962, allocations: 5.418 MB / 0.8959 GB, free: 49.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007712/1.963, allocations: 64 kB / 0.896 GB, free: 49.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2577/2.22, allocations: 29.38 MB / 0.9247 GB, free: 182.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.927e-05/2.22, allocations: 12.12 kB / 0.9247 GB, free: 182.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03177/2.252, allocations: 17.6 MB / 0.9419 GB, free: 179 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004822/2.257, allocations: 1.353 MB / 0.9432 GB, free: 178.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001983/2.259, allocations: 62 kB / 0.9433 GB, free: 178.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004139/2.263, allocations: 275.8 kB / 0.9435 GB, free: 178.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008015/2.264, allocations: 242.9 kB / 0.9438 GB, free: 178.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002645/2.264, allocations: 89.64 kB / 0.9438 GB, free: 178.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.01033/2.275, allocations: 5.229 MB / 0.9489 GB, free: 176.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.71e-07/2.275, allocations: 0 / 0.9489 GB, free: 176.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01324/2.288, allocations: 2.009 MB / 0.9509 GB, free: 176.6 MB / 494.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 (214): * Single equations (assignments): 208 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,55.1%) 87,(2,100.0%) 4} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00141/2.289, allocations: 231.9 kB / 0.9511 GB, free: 176.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01779/2.307, allocations: 10.41 MB / 0.9613 GB, free: 172.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-05/2.307, allocations: 3.781 kB / 0.9613 GB, free: 172.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008156/2.315, allocations: 4.672 MB / 0.9659 GB, free: 170.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006764/2.322, allocations: 0.9834 MB / 0.9668 GB, free: 169.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04229/2.365, allocations: 21.74 MB / 0.9881 GB, free: 150 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01055/2.375, allocations: 5.717 MB / 0.9936 GB, free: 145.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007514/2.383, allocations: 2.64 MB / 0.9962 GB, free: 143.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001534/2.384, allocations: 411.3 kB / 0.9966 GB, free: 143.5 MB / 494.1 MB Notification: Performance of SimCode: time 2.695e-06/2.384, allocations: 4 kB / 0.9966 GB, free: 143.5 MB / 494.1 MB Notification: Performance of Templates: time 0.1351/2.519, allocations: 88.54 MB / 1.083 GB, free: 54.88 MB / 494.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: