Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.00101/0.00101, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009927/0.0009928, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205.4 MB / 222.1 MB, free: 5.477 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.0004279/0.0004279, allocations: 8 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2345, allocations: 47.6 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.09154/0.3261, allocations: 93.9 MB / 420.4 MB, free: 5.332 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04719/0.3733, allocations: 19.12 MB / 439.5 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02132/0.3947, allocations: 470.8 kB / 440 MB, free: 1.684 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01518/0.4099, allocations: 4.91 MB / 444.9 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.284/0.6939, allocations: 14.58 MB / 459.5 MB, free: 5.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006856/0.7008, allocations: 1.408 MB / 460.9 MB, free: 5.672 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1154/0.8162, allocations: 98.22 MB / 0.546 GB, free: 2.238 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01497/0.8312, allocations: 8.928 MB / 0.5547 GB, free: 11.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007478/0.8387, allocations: 2.939 MB / 0.5576 GB, free: 9.883 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008689/0.8474, allocations: 4.455 MB / 0.5619 GB, free: 6.645 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002192/0.8496, allocations: 280 kB / 0.5622 GB, free: 6.371 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003978/0.8536, allocations: 1.127 MB / 0.5633 GB, free: 5.441 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004946/0.8586, allocations: 3.706 MB / 0.5669 GB, free: 2.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003456/0.8621, allocations: 1.565 MB / 0.5684 GB, free: 2.109 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01374/0.8758, allocations: 10.59 MB / 0.5788 GB, free: 8.902 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.8759, allocations: 0 / 0.5788 GB, free: 8.902 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.8759, allocations: 0 / 0.5788 GB, free: 8.902 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005023/0.8764, allocations: 4 kB / 0.5788 GB, free: 8.898 MB / 462.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.01836/0.8948, allocations: 8.124 MB / 0.5867 GB, free: 1.375 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.8948, allocations: 15.5 kB / 0.5867 GB, free: 1.363 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03831/0.9332, allocations: 5.361 MB / 0.592 GB, free: 12.19 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01792/0.9511, allocations: 8.037 MB / 0.5998 GB, free: 6.398 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003419/0.9515, allocations: 425.6 kB / 0.6002 GB, free: 6.168 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00207/0.9536, allocations: 0.5778 MB / 0.6008 GB, free: 5.785 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03307/0.9867, allocations: 16.58 MB / 0.617 GB, free: 8.855 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004319/0.9872, allocations: 95.27 kB / 0.6171 GB, free: 8.797 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009866/0.9882, allocations: 270.6 kB / 0.6173 GB, free: 8.719 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004309/0.9925, allocations: 2.765 MB / 0.62 GB, free: 6.461 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3606/1.353, allocations: 13.63 MB / 0.6333 GB, free: 208.7 MB / 494.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.07763/1.431, allocations: 68.03 MB / 0.6998 GB, free: 151.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01784/1.449, allocations: 7.923 MB / 0.7075 GB, free: 143.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005264/1.454, allocations: 4.498 MB / 0.7119 GB, free: 138.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02014/1.474, allocations: 12.41 MB / 0.724 GB, free: 126.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.267e-05/1.474, allocations: 74.8 kB / 0.7241 GB, free: 126.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=280): time 5.48e-06/1.474, allocations: 0 / 0.7241 GB, free: 126.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=340): time 0.1531/1.627, allocations: 50.12 MB / 0.773 GB, free: 76.35 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/1.628, allocations: 398.1 kB / 0.7734 GB, free: 75.87 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008613/1.636, allocations: 7.144 MB / 0.7804 GB, free: 68.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008915/1.637, allocations: 73.7 kB / 0.7805 GB, free: 68.67 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002685/1.64, allocations: 5.034 MB / 0.7854 GB, free: 63.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001617/1.641, allocations: 1.255 MB / 0.7866 GB, free: 62.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006179/1.642, allocations: 187.2 kB / 0.7868 GB, free: 62.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003948/1.642, allocations: 0.6865 MB / 0.7875 GB, free: 61.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005999/1.648, allocations: 4.511 MB / 0.7919 GB, free: 57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008453/1.657, allocations: 9.232 MB / 0.8009 GB, free: 45.47 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008121/1.665, allocations: 6.27 MB / 0.807 GB, free: 39.19 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001484/1.665, allocations: 44 kB / 0.807 GB, free: 39.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.03578/1.701, allocations: 19.69 MB / 0.8263 GB, free: 19.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/1.701, allocations: 76 kB / 0.8264 GB, free: 19.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000182/1.701, allocations: 160 kB / 0.8265 GB, free: 19.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01815/1.72, allocations: 7.07 MB / 0.8334 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006127/1.726, allocations: 1.926 MB / 0.8353 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2608/1.987, allocations: 33.21 MB / 0.8677 GB, free: 179.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008762/1.995, allocations: 0.5979 MB / 0.8683 GB, free: 179.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001995/1.998, allocations: 499.2 kB / 0.8688 GB, free: 179.4 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.006629/2.004, allocations: 3.483 MB / 0.8722 GB, free: 178.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001474/2.006, allocations: 0.6362 MB / 0.8728 GB, free: 178.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02435/2.03, allocations: 13.3 MB / 0.8858 GB, free: 174 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-05/2.03, allocations: 35.5 kB / 0.8858 GB, free: 174 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.263e-05/2.03, allocations: 19.12 kB / 0.8858 GB, free: 174 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.252e-05/2.03, allocations: 15.28 kB / 0.8859 GB, free: 174 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04188/2.072, allocations: 26.72 MB / 0.912 GB, free: 147.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.613e-05/2.072, allocations: 4 kB / 0.912 GB, free: 147.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001778/2.074, allocations: 423.3 kB / 0.9124 GB, free: 147.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01668/2.091, allocations: 6.679 MB / 0.9189 GB, free: 140.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000916/2.092, allocations: 63.03 kB / 0.9189 GB, free: 140.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03933/2.131, allocations: 31.95 MB / 0.9502 GB, free: 108.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/2.131, allocations: 11.94 kB / 0.9502 GB, free: 108.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.034/2.165, allocations: 18.73 MB / 0.9685 GB, free: 89.74 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004539/2.17, allocations: 1.386 MB / 0.9698 GB, free: 88.33 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002748/2.172, allocations: 72.53 kB / 0.9699 GB, free: 88.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004675/2.177, allocations: 312.4 kB / 0.9702 GB, free: 87.96 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00134/2.178, allocations: 242.6 kB / 0.9704 GB, free: 87.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006196/2.179, allocations: 91.36 kB / 0.9705 GB, free: 87.64 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00817/2.187, allocations: 4.561 MB / 0.9749 GB, free: 83.11 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/2.187, allocations: 7.938 kB / 0.975 GB, free: 83.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01056/2.198, allocations: 2.145 MB / 0.977 GB, free: 80.96 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.001166/2.199, allocations: 208.5 kB / 0.9772 GB, free: 80.76 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0186/2.218, allocations: 11.51 MB / 0.9885 GB, free: 69.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/2.218, allocations: 4 kB / 0.9885 GB, free: 69.26 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008532/2.226, allocations: 4.996 MB / 0.9934 GB, free: 64.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009262/2.236, allocations: 0.9319 MB / 0.9943 GB, free: 63.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03915/2.275, allocations: 22.55 MB / 1.016 GB, free: 40.86 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0086/2.283, allocations: 5.546 MB / 1.022 GB, free: 35.27 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007214/2.291, allocations: 2.617 MB / 1.024 GB, free: 32.65 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001527/2.292, allocations: 395.4 kB / 1.025 GB, free: 32.26 MB / 494.1 MB Notification: Performance of SimCode: time 1.483e-06/2.292, allocations: 0 / 1.025 GB, free: 32.26 MB / 494.1 MB Notification: Performance of Templates: time 0.3162/2.608, allocations: 91.44 MB / 1.114 GB, free: 123.7 MB / 494.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1)