Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.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.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions") [: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.002663/0.002663, allocations: 178.6 kB / 7.454 MB, free: 2.484 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.507/1.507, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.001786/0.001786, allocations: 113 kB / 217.7 MB, free: 8.137 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 9.628e-06/9.658e-06, allocations: 0 / 261.7 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09856/0.09859, allocations: 38.76 MB / 300.5 MB, free: 3.875 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2475/0.3462, allocations: 65.63 MB / 366.1 MB, free: 2.789 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.3464, allocations: 66.58 kB / 366.2 MB, free: 2.754 MB / 250.7 MB Notification: Performance of FrontEnd: time 0.01074/0.3572, allocations: 4.13 MB / 370.3 MB, free: 15.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.957e-05/0.3573, allocations: 4 kB / 370.3 MB, free: 15.41 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008496/0.3581, allocations: 0.5025 MB / 370.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.3582, allocations: 12.03 kB / 370.9 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.3583, allocations: 31.62 kB / 370.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.3586, allocations: 236.6 kB / 371.1 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.3587, allocations: 8 kB / 371.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/0.3587, allocations: 21.83 kB / 371.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003419/0.3591, allocations: 154.1 kB / 371.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/0.3594, allocations: 212 kB / 371.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.3595, allocations: 3.906 kB / 371.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.3595, allocations: 0 / 371.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.3595, allocations: 8.75 kB / 371.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.3607, allocations: 0.6936 MB / 372.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.361, allocations: 201.1 kB / 372.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.3612, allocations: 105.7 kB / 372.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.3612, allocations: 0 / 372.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.3612, allocations: 46.05 kB / 372.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.713e-06/0.3613, allocations: 0 / 372.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.002414/0.3637, allocations: 1.478 MB / 374 MB, free: 11.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.3637, allocations: 89.05 kB / 374.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.3639, allocations: 143.8 kB / 374.3 MB, free: 11.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.3639, allocations: 25.7 kB / 374.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.61e-05/0.364, allocations: 134.6 kB / 374.4 MB, free: 11.51 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.3642, allocations: 165.2 kB / 374.6 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.312e-05/0.3642, allocations: 4 kB / 374.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3643, allocations: 335.5 kB / 374.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.3645, allocations: 90.62 kB / 375 MB, free: 10.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.3647, allocations: 135.2 kB / 375.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.3649, allocations: 108.1 kB / 375.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3649, allocations: 3.938 kB / 375.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004817/0.3654, allocations: 324.8 kB / 375.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.3654, allocations: 4.469 kB / 375.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.3655, allocations: 0 / 375.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.3655, allocations: 7.938 kB / 375.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.3659, allocations: 98.95 kB / 375.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.3659, allocations: 7.984 kB / 375.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.3661, allocations: 2.438 kB / 375.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.3661, allocations: 19.03 kB / 375.7 MB, free: 10.43 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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 0.0001096/0.3662, allocations: 118.3 kB / 375.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.978e-05/0.3663, allocations: 27.72 kB / 375.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.488e-05/0.3664, allocations: 30.38 kB / 375.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.3664, allocations: 4 kB / 375.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.3664, allocations: 0 / 375.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.3664, allocations: 11.89 kB / 375.9 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.3676, allocations: 0.8485 MB / 376.7 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3677, allocations: 0 / 376.7 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004632/0.3681, allocations: 107.3 kB / 376.8 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.3681, allocations: 0 / 376.8 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.3682, allocations: 4 kB / 376.8 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-05/0.3682, allocations: 7.906 kB / 376.8 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3682, allocations: 0 / 376.8 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007214/0.3689, allocations: 0.6304 MB / 377.5 MB, free: 8.852 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.52e-05/0.369, allocations: 100.7 kB / 377.6 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/0.3691, allocations: 4 kB / 377.6 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.3692, allocations: 0 / 377.6 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.3693, allocations: 22.33 kB / 377.6 MB, free: 8.711 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.3693, allocations: 14.88 kB / 377.6 MB, free: 8.699 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.979e-05/0.3694, allocations: 125.8 kB / 377.7 MB, free: 8.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000372/0.3698, allocations: 64 kB / 377.8 MB, free: 8.527 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (sd2.s_rel,sd2.v_rel,m4.s,m4.v,m1.s,m1.v,sd1.s_rel,sd1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 48 * 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.0001529/0.37, allocations: 99.19 kB / 377.9 MB, free: 8.422 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000398/0.3704, allocations: 258 kB / 378.1 MB, free: 8.246 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3704, allocations: 3.938 kB / 378.2 MB, free: 8.242 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.3706, allocations: 139.2 kB / 378.3 MB, free: 8.141 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.3711, allocations: 58.91 kB / 378.3 MB, free: 8.094 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.3727, allocations: 0.8348 MB / 379.2 MB, free: 7.277 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005115/0.3732, allocations: 0.803 MB / 380 MB, free: 6.449 MB / 266.7 MB Notification: Performance of SimCode: time 4.4e-07/0.3732, allocations: 4 kB / 380 MB, free: 6.445 MB / 266.7 MB Notification: Performance of Templates: time 0.00736/0.3806, allocations: 3.082 MB / 383.1 MB, free: 3.375 MB / 266.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1)