Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.006183/0.006183, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001509/0.001509, allocations: 191.5 kB / 16.67 MB, free: 5.523 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.428/1.428, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.001183/0.001183, allocations: 51.92 kB / 326.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09371/0.0949, allocations: 46.62 MB / 373.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.2277/0.3226, allocations: 19.5 MB / 392.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.016/0.3387, allocations: 5.992 MB / 398.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006166/0.3449, allocations: 161.9 kB / 398.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01262/0.3576, allocations: 5.862 MB / 404.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01187/0.3695, allocations: 3.454 MB / 408.1 MB, free: 8.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004081/0.3736, allocations: 1.574 MB / 409.7 MB, free: 7.141 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01778/0.3914, allocations: 11.37 MB / 421.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01123/0.4026, allocations: 7.659 MB / 428.7 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009219/0.4119, allocations: 3.606 MB / 432.3 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009442/0.4214, allocations: 4.779 MB / 437.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003305/0.4247, allocations: 0.7226 MB / 437.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005647/0.4304, allocations: 1.682 MB / 439.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007174/0.4376, allocations: 4.298 MB / 443.8 MB, free: 8.738 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009615/0.4472, allocations: 4.48 MB / 448.3 MB, free: 4.234 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02094/0.4682, allocations: 13.69 MB / 462 MB, free: 6.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.427e-06/0.4682, allocations: 0 / 462 MB, free: 6.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4683, allocations: 0 / 462 MB, free: 6.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006321/0.4689, allocations: 0 / 462 MB, free: 6.504 MB / 382.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.02821/0.4971, allocations: 9.692 MB / 471.7 MB, free: 12.72 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.4972, allocations: 8.031 kB / 471.7 MB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0414/0.5386, allocations: 5.248 MB / 476.9 MB, free: 7.449 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02038/0.559, allocations: 8.37 MB / 485.3 MB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004243/0.5595, allocations: 423.6 kB / 485.7 MB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002709/0.5622, allocations: 0.5853 MB / 486.3 MB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03154/0.5938, allocations: 16.56 MB / 0.4911 GB, free: 12.4 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003812/0.5942, allocations: 91.17 kB / 0.4912 GB, free: 12.31 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001734/0.5959, allocations: 275.8 kB / 0.4914 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004404/0.6003, allocations: 2.764 MB / 0.4941 GB, free: 9.273 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02951/0.6299, allocations: 13.62 MB / 0.5074 GB, free: 11.63 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.4722/1.102, allocations: 67.64 MB / 0.5735 GB, free: 105.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02206/1.124, allocations: 7.897 MB / 0.5812 GB, free: 104.4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006589/1.131, allocations: 4.515 MB / 0.5856 GB, free: 102.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02322/1.154, allocations: 12.43 MB / 0.5977 GB, free: 96.83 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.915e-05/1.154, allocations: 73.78 kB / 0.5978 GB, free: 96.77 MB / 478.1 MB Notification: Performance of pre-optimization done (n=280): time 7.434e-06/1.154, allocations: 0 / 0.5978 GB, free: 96.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=340): time 0.1613/1.316, allocations: 49.27 MB / 0.6459 GB, free: 58.48 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/1.316, allocations: 397.4 kB / 0.6463 GB, free: 58.01 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01289/1.329, allocations: 7.183 MB / 0.6533 GB, free: 50.84 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001169/1.33, allocations: 77.7 kB / 0.6534 GB, free: 50.76 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003506/1.333, allocations: 5.029 MB / 0.6583 GB, free: 45.73 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002132/1.336, allocations: 1.263 MB / 0.6595 GB, free: 44.48 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004969/1.341, allocations: 1.864 MB / 0.6614 GB, free: 42.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.251e-05/1.341, allocations: 309.1 kB / 0.6617 GB, free: 42.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006173/1.347, allocations: 4.547 MB / 0.6661 GB, free: 37.74 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008818/1.356, allocations: 9.271 MB / 0.6751 GB, free: 26.25 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01654/1.372, allocations: 14.54 MB / 0.6893 GB, free: 9.477 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001673/1.372, allocations: 48 kB / 0.6894 GB, free: 9.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.05195/1.424, allocations: 19.76 MB / 0.7087 GB, free: 5.617 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002328/1.425, allocations: 76 kB / 0.7088 GB, free: 5.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003258/1.425, allocations: 160 kB / 0.7089 GB, free: 5.387 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02308/1.448, allocations: 7.04 MB / 0.7158 GB, free: 14.32 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007108/1.455, allocations: 1.93 MB / 0.7177 GB, free: 12.39 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2609/1.716, allocations: 35.31 MB / 0.7522 GB, free: 166.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009055/1.725, allocations: 0.5907 MB / 0.7527 GB, free: 166.1 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001592/1.727, allocations: 0.4915 MB / 0.7532 GB, free: 166.1 MB / 0.5138 GB 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.007245/1.734, allocations: 3.483 MB / 0.7566 GB, free: 165.7 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001889/1.736, allocations: 0.6384 MB / 0.7572 GB, free: 165.7 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02717/1.763, allocations: 13.32 MB / 0.7703 GB, free: 161.6 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.223e-05/1.763, allocations: 34.38 kB / 0.7703 GB, free: 161.6 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-05/1.763, allocations: 23.09 kB / 0.7703 GB, free: 161.6 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.056e-05/1.763, allocations: 12.91 kB / 0.7703 GB, free: 161.6 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04146/1.805, allocations: 26.6 MB / 0.7963 GB, free: 150.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.416e-05/1.805, allocations: 7.844 kB / 0.7963 GB, free: 150.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001917/1.807, allocations: 418.1 kB / 0.7967 GB, free: 150.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0174/1.824, allocations: 6.655 MB / 0.8032 GB, free: 147.4 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000839/1.825, allocations: 59.84 kB / 0.8033 GB, free: 147.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03776/1.863, allocations: 34.01 MB / 0.8365 GB, free: 113.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.863, allocations: 7.938 kB / 0.8365 GB, free: 113.3 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03269/1.896, allocations: 18.77 MB / 0.8548 GB, free: 94.71 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004316/1.9, allocations: 1.379 MB / 0.8562 GB, free: 93.41 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00232/1.902, allocations: 67.67 kB / 0.8562 GB, free: 93.35 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004866/1.907, allocations: 305.5 kB / 0.8565 GB, free: 93.05 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001309/1.909, allocations: 246.4 kB / 0.8567 GB, free: 92.81 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005147/1.909, allocations: 90.73 kB / 0.8568 GB, free: 92.73 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.009091/1.918, allocations: 4.611 MB / 0.8613 GB, free: 88.14 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2e-07/1.918, allocations: 0 / 0.8613 GB, free: 88.14 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01024/1.929, allocations: 2.142 MB / 0.8634 GB, free: 86.01 MB / 0.5138 GB 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.0008172/1.929, allocations: 211.1 kB / 0.8636 GB, free: 85.81 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01752/1.947, allocations: 11.62 MB / 0.875 GB, free: 74.21 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.607e-05/1.947, allocations: 0 / 0.875 GB, free: 74.21 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.008431/1.955, allocations: 5.016 MB / 0.8799 GB, free: 69.16 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01075/1.966, allocations: 0.9884 MB / 0.8808 GB, free: 68.21 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03744/2.004, allocations: 19.66 MB / 0.9 GB, free: 48.49 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01138/2.015, allocations: 5.554 MB / 0.9055 GB, free: 42.9 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007628/2.023, allocations: 2.609 MB / 0.908 GB, free: 40.29 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002358/2.025, allocations: 395.4 kB / 0.9084 GB, free: 39.9 MB / 0.5138 GB Notification: Performance of SimCode: time 1.553e-06/2.025, allocations: 0 / 0.9084 GB, free: 39.9 MB / 0.5138 GB Notification: Performance of Templates: time 0.4062/2.431, allocations: 94.24 MB / 1 GB, free: 128.3 MB / 0.5138 GB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1)