Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003861/0.003861, allocations: 174.3 kB / 7.448 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.304/1.304, allocations: 170.6 MB / 178.4 MB, free: 15.52 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001715/0.001715, allocations: 128.5 kB / 217.7 MB, free: 8.277 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 9.889e-06/9.909e-06, allocations: 4 kB / 261.7 MB, free: 26.65 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09108/0.0911, allocations: 38.75 MB / 300.5 MB, free: 3.906 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2957/0.3868, allocations: 65.16 MB / 365.7 MB, free: 3.316 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/0.3871, allocations: 61.53 kB / 365.7 MB, free: 3.285 MB / 250.7 MB Notification: Performance of FrontEnd: time 0.007322/0.3944, allocations: 3.041 MB / 368.8 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.547e-06/0.3945, allocations: 8 kB / 368.8 MB, free: 0.793 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.000406/0.3949, allocations: 461 kB / 369.2 MB, free: 320 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.3949, allocations: 12.02 kB / 369.2 MB, free: 308 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/0.395, allocations: 27.62 kB / 369.3 MB, free: 280 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.208e-05/0.3951, allocations: 187.3 kB / 369.4 MB, free: 52 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.3951, allocations: 11.91 kB / 369.5 MB, free: 40 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.3951, allocations: 12 kB / 369.5 MB, free: 28 kB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002551/0.3954, allocations: 111.2 kB / 369.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.3957, allocations: 194.9 kB / 369.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3957, allocations: 2.516 kB / 369.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.3957, allocations: 0 / 369.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.3957, allocations: 8 kB / 369.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.3968, allocations: 0.8212 MB / 370.6 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.397, allocations: 127.2 kB / 370.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.351e-05/0.3971, allocations: 60.56 kB / 370.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.3971, allocations: 3.938 kB / 370.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/0.3972, allocations: 37.94 kB / 370.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.3972, allocations: 0 / 370.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002934/0.3975, allocations: 119.6 kB / 370.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.3975, allocations: 106.8 kB / 371 MB, free: 14.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.3977, allocations: 147.2 kB / 371.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.3977, allocations: 25.7 kB / 371.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.071e-05/0.3978, allocations: 157 kB / 371.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.052e-05/0.3978, allocations: 61.78 kB / 371.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.3979, allocations: 3.938 kB / 371.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.398, allocations: 329.5 kB / 371.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.023e-05/0.3981, allocations: 41.31 kB / 371.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.3982, allocations: 143.1 kB / 371.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.856e-05/0.3983, allocations: 60.59 kB / 372 MB, free: 13.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3983, allocations: 4 kB / 372 MB, free: 13.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003088/0.3986, allocations: 207.8 kB / 372.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.3987, allocations: 4 kB / 372.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.3987, allocations: 7.938 kB / 372.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3987, allocations: 4 kB / 372.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.3989, allocations: 63.72 kB / 372.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.3989, allocations: 12 kB / 372.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.3991, allocations: 19.69 kB / 372.3 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.3991, allocations: 15.19 kB / 372.3 MB, free: 13.32 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.461e-05/0.3992, allocations: 112.9 kB / 372.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.332e-05/0.3992, allocations: 15.81 kB / 372.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.284e-05/0.3993, allocations: 28.02 kB / 372.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3993, allocations: 0 / 372.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/0.3993, allocations: 4 kB / 372.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.3993, allocations: 7.906 kB / 372.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004617/0.3998, allocations: 370 kB / 372.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3998, allocations: 0 / 372.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.4, allocations: 35.98 kB / 372.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.4, allocations: 3.984 kB / 372.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.4001, allocations: 8 kB / 372.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.4001, allocations: 3.906 kB / 372.9 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/0.4001, allocations: 8.094 kB / 372.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000376/0.4005, allocations: 407 kB / 373.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.368e-05/0.4005, allocations: 93.09 kB / 373.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.4006, allocations: 7.906 kB / 373.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.4007, allocations: 0 / 373.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.4007, allocations: 11.42 kB / 373.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.4008, allocations: 4 kB / 373.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.046e-05/0.4008, allocations: 122.5 kB / 373.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003351/0.4012, allocations: 51.84 kB / 373.6 MB, free: 12.02 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001252/0.4013, allocations: 99.19 kB / 373.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.4015, allocations: 119.6 kB / 373.8 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4015, allocations: 0 / 373.8 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.589e-05/0.4016, allocations: 53.98 kB / 373.9 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.4019, allocations: 31.7 kB / 373.9 MB, free: 11.76 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007605/0.4027, allocations: 456.5 kB / 374.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003866/0.4031, allocations: 0.7666 MB / 375.1 MB, free: 10.51 MB / 266.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4031, allocations: 0 / 375.1 MB, free: 10.51 MB / 266.7 MB Notification: Performance of Templates: time 0.003834/0.4069, allocations: 1.529 MB / 376.6 MB, free: 8.992 MB / 266.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1)