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.0008446/0.0008447, allocations: 89.86 kB / 16.31 MB, free: 5.676 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.0008761/0.0008762, allocations: 181.7 kB / 17.21 MB, free: 5.598 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.403/1.403, allocations: 205.4 MB / 223.4 MB, free: 13.03 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.0004788/0.0004789, allocations: 19.98 kB / 280.2 MB, free: 3.703 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09027/0.09076, allocations: 47.57 MB / 327.7 MB, free: 4.059 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.2623/0.3531, allocations: 93.9 MB / 421.6 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04391/0.3971, allocations: 19.13 MB / 440.8 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02132/0.4185, allocations: 474.7 kB / 441.2 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01627/0.4348, allocations: 4.899 MB / 446.1 MB, free: 236 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04112/0.476, allocations: 14.6 MB / 460.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006884/0.4829, allocations: 1.412 MB / 462.1 MB, free: 168 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.3657/0.8486, allocations: 98.21 MB / 0.5472 GB, free: 78.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01463/0.8633, allocations: 8.923 MB / 0.5559 GB, free: 77.85 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008293/0.8716, allocations: 2.938 MB / 0.5588 GB, free: 77.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008241/0.8799, allocations: 4.462 MB / 0.5631 GB, free: 76.37 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002487/0.8824, allocations: 276 kB / 0.5634 GB, free: 76.1 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00552/0.888, allocations: 1.117 MB / 0.5645 GB, free: 75.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00634/0.8944, allocations: 3.707 MB / 0.5681 GB, free: 72.76 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004223/0.8986, allocations: 1.569 MB / 0.5697 GB, free: 72.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01135/0.91, allocations: 10.59 MB / 0.58 GB, free: 62.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.91, allocations: 0 / 0.58 GB, free: 62.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.91, allocations: 4 kB / 0.58 GB, free: 62.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000576/0.9106, allocations: 4 kB / 0.58 GB, free: 62.98 MB / 430.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.01977/0.9304, allocations: 8.12 MB / 0.5879 GB, free: 55.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.9305, allocations: 8.031 kB / 0.5879 GB, free: 55.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0364/0.9669, allocations: 5.363 MB / 0.5932 GB, free: 50.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01718/0.9841, allocations: 8.047 MB / 0.601 GB, free: 44.47 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004303/0.9846, allocations: 423.7 kB / 0.6014 GB, free: 44.24 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002378/0.987, allocations: 0.5833 MB / 0.602 GB, free: 43.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0355/1.022, allocations: 16.59 MB / 0.6182 GB, free: 30.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005761/1.023, allocations: 96.33 kB / 0.6183 GB, free: 30.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002547/1.026, allocations: 274.1 kB / 0.6186 GB, free: 30.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004223/1.03, allocations: 2.76 MB / 0.6213 GB, free: 28.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02667/1.057, allocations: 13.64 MB / 0.6346 GB, free: 18.68 MB / 430.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.09237/1.149, allocations: 68 MB / 0.701 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02121/1.17, allocations: 7.925 MB / 0.7087 GB, free: 5.426 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007449/1.178, allocations: 4.497 MB / 0.7131 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3933/1.571, allocations: 12.43 MB / 0.7252 GB, free: 199.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.54e-05/1.571, allocations: 73.53 kB / 0.7253 GB, free: 199.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=280): time 5.922e-06/1.571, allocations: 0 / 0.7253 GB, free: 199.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=340): time 0.1543/1.726, allocations: 50.12 MB / 0.7743 GB, free: 166.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/1.726, allocations: 410 kB / 0.7746 GB, free: 166.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01017/1.736, allocations: 7.134 MB / 0.7816 GB, free: 158.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001165/1.737, allocations: 78.33 kB / 0.7817 GB, free: 158.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002897/1.74, allocations: 5.027 MB / 0.7866 GB, free: 153.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001852/1.742, allocations: 1.271 MB / 0.7878 GB, free: 152.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006668/1.743, allocations: 184.9 kB / 0.788 GB, free: 152.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004055/1.743, allocations: 0.6903 MB / 0.7887 GB, free: 151.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005454/1.748, allocations: 4.508 MB / 0.7931 GB, free: 147.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008002/1.756, allocations: 9.232 MB / 0.8021 GB, free: 135.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008232/1.765, allocations: 6.264 MB / 0.8082 GB, free: 129.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-05/1.765, allocations: 48 kB / 0.8083 GB, free: 129.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.03656/1.801, allocations: 19.7 MB / 0.8275 GB, free: 109.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/1.802, allocations: 75.95 kB / 0.8276 GB, free: 109.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001706/1.802, allocations: 160 kB / 0.8277 GB, free: 109.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01721/1.819, allocations: 7.056 MB / 0.8346 GB, free: 102.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00623/1.825, allocations: 1.93 MB / 0.8365 GB, free: 100.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03798/1.863, allocations: 33.22 MB / 0.869 GB, free: 66.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008136/1.871, allocations: 0.589 MB / 0.8695 GB, free: 66.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001662/1.873, allocations: 0.4889 MB / 0.87 GB, free: 65.72 MB / 494.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 (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.006387/1.879, allocations: 3.484 MB / 0.8734 GB, free: 62.22 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00157/1.881, allocations: 0.6363 MB / 0.874 GB, free: 61.58 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02359/1.905, allocations: 13.3 MB / 0.887 GB, free: 48.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.679e-05/1.905, allocations: 32 kB / 0.887 GB, free: 48.17 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.829e-05/1.905, allocations: 20 kB / 0.8871 GB, free: 48.15 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.007e-05/1.905, allocations: 24.45 kB / 0.8871 GB, free: 48.12 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2985/2.203, allocations: 26.71 MB / 0.9132 GB, free: 177.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.945e-05/2.203, allocations: 9.5 kB / 0.9132 GB, free: 177.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002419/2.206, allocations: 424 kB / 0.9136 GB, free: 177.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02086/2.227, allocations: 6.679 MB / 0.9201 GB, free: 177.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009776/2.228, allocations: 62.98 kB / 0.9202 GB, free: 177.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03956/2.267, allocations: 31.95 MB / 0.9514 GB, free: 166 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/2.267, allocations: 11.58 kB / 0.9514 GB, free: 166 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03067/2.298, allocations: 18.73 MB / 0.9697 GB, free: 156.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004441/2.303, allocations: 1.387 MB / 0.971 GB, free: 155.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00189/2.305, allocations: 65.31 kB / 0.9711 GB, free: 155.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003918/2.308, allocations: 314.8 kB / 0.9714 GB, free: 155 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009121/2.309, allocations: 245.3 kB / 0.9716 GB, free: 154.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002669/2.31, allocations: 85.02 kB / 0.9717 GB, free: 154.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008221/2.318, allocations: 4.564 MB / 0.9762 GB, free: 150.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.3e-07/2.318, allocations: 0 / 0.9762 GB, free: 150.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01155/2.33, allocations: 2.149 MB / 0.9783 GB, free: 148 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 (215): * Single equations (assignments): 209 * 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.001164/2.331, allocations: 211.6 kB / 0.9785 GB, free: 147.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01808/2.349, allocations: 11.51 MB / 0.9897 GB, free: 136.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/2.349, allocations: 4 kB / 0.9897 GB, free: 136.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008375/2.357, allocations: 4.998 MB / 0.9946 GB, free: 131.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009638/2.367, allocations: 0.9462 MB / 0.9955 GB, free: 130.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04519/2.412, allocations: 22.54 MB / 1.018 GB, free: 108.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01142/2.424, allocations: 5.561 MB / 1.023 GB, free: 102.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.008357/2.432, allocations: 2.609 MB / 1.026 GB, free: 99.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001864/2.434, allocations: 395.4 kB / 1.026 GB, free: 99.51 MB / 494.1 MB Notification: Performance of SimCode: time 1.293e-06/2.434, allocations: 0 / 1.026 GB, free: 99.51 MB / 494.1 MB Notification: Performance of Templates: time 0.4011/2.835, allocations: 91.43 MB / 1.115 GB, free: 172.4 MB / 494.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)