Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001047/0.001047, allocations: 179.5 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.197/1.197, allocations: 194.5 MB / 211.6 MB, free: 3.039 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001559/0.001559, allocations: 113.9 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002875/0.0002876, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08348/0.08378, allocations: 44.49 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2438/0.3277, allocations: 71.77 MB / 426.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/0.3279, allocations: 64.62 kB / 426.9 MB, free: 17.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009462/0.3374, allocations: 4.438 MB / 431.3 MB, free: 14.13 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3374, allocations: 0 / 431.3 MB, free: 14.13 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.3374, allocations: 12.66 kB / 431.3 MB, free: 14.12 MB / 314.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.000518/0.338, allocations: 0.5107 MB / 431.8 MB, free: 13.58 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.338, allocations: 8.031 kB / 431.9 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.3381, allocations: 35.72 kB / 431.9 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.3382, allocations: 241.3 kB / 432.1 MB, free: 13.28 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.3383, allocations: 18.69 kB / 432.1 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.416e-05/0.3383, allocations: 26.62 kB / 432.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003063/0.3386, allocations: 249.6 kB / 432.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.3387, allocations: 11.84 kB / 432.4 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.3387, allocations: 7.562 kB / 432.4 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/0.3387, allocations: 8 kB / 432.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000218/0.3389, allocations: 176.9 kB / 432.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007443/0.3397, allocations: 0.756 MB / 433.4 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.34, allocations: 267.7 kB / 433.6 MB, free: 12.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.34, allocations: 11.45 kB / 433.6 MB, free: 12.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/0.34, allocations: 37.81 kB / 433.7 MB, free: 12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 1.302e-06/0.34, allocations: 0 / 433.7 MB, free: 12 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.001901/0.3419, allocations: 1.71 MB / 435.4 MB, free: 10.44 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.342, allocations: 85.11 kB / 435.5 MB, free: 10.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.3421, allocations: 162.2 kB / 435.6 MB, free: 10.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.3421, allocations: 33.39 kB / 435.7 MB, free: 10.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/0.3422, allocations: 141.5 kB / 435.8 MB, free: 10.04 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.731e-05/0.3422, allocations: 175 kB / 436 MB, free: 9.891 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/0.3423, allocations: 7.562 kB / 436 MB, free: 9.891 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.187e-05/0.3423, allocations: 344.3 kB / 436.3 MB, free: 9.559 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.3424, allocations: 102.6 kB / 436.4 MB, free: 9.488 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.3426, allocations: 154 kB / 436.6 MB, free: 9.367 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.3428, allocations: 126.8 kB / 436.7 MB, free: 9.301 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3428, allocations: 0 / 436.7 MB, free: 9.301 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000367/0.3431, allocations: 366.7 kB / 437 MB, free: 9.039 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.3432, allocations: 4 kB / 437.1 MB, free: 9.035 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3432, allocations: 6.188 kB / 437.1 MB, free: 9.031 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.3432, allocations: 4.062 kB / 437.1 MB, free: 9.027 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/0.3435, allocations: 107.2 kB / 437.2 MB, free: 8.926 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.3435, allocations: 1.641 kB / 437.2 MB, free: 8.926 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.866e-05/0.3436, allocations: 10.94 kB / 437.2 MB, free: 8.922 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.3437, allocations: 15.5 kB / 437.2 MB, free: 8.91 MB / 314.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 () * Number of clocked 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 9.868e-05/0.3438, allocations: 157.2 kB / 437.3 MB, free: 8.773 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.683e-05/0.3438, allocations: 27.72 kB / 437.4 MB, free: 8.746 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.974e-05/0.3439, allocations: 41.11 kB / 437.4 MB, free: 8.734 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3439, allocations: 4 kB / 437.4 MB, free: 8.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3439, allocations: 4 kB / 437.4 MB, free: 8.727 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3439, allocations: 4 kB / 437.4 MB, free: 8.723 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008955/0.3448, allocations: 0.9568 MB / 438.4 MB, free: 7.898 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3448, allocations: 4 kB / 438.4 MB, free: 7.895 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003716/0.3452, allocations: 95.08 kB / 438.5 MB, free: 7.805 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.3452, allocations: 0 / 438.5 MB, free: 7.805 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.3453, allocations: 11.38 kB / 438.5 MB, free: 7.801 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.686e-06/0.3453, allocations: 4 kB / 438.5 MB, free: 7.797 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3453, allocations: 0 / 438.5 MB, free: 7.797 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005487/0.3458, allocations: 0.675 MB / 439.2 MB, free: 7.223 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.355e-05/0.3459, allocations: 100.8 kB / 439.3 MB, free: 7.105 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.263e-05/0.3459, allocations: 11.06 kB / 439.3 MB, free: 7.102 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.3461, allocations: 14.69 kB / 439.3 MB, free: 7.094 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.3461, allocations: 27.11 kB / 439.3 MB, free: 7.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.3461, allocations: 11.12 kB / 439.3 MB, free: 7.062 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.397e-05/0.3462, allocations: 133.2 kB / 439.5 MB, free: 6.945 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3462, allocations: 0 / 439.5 MB, free: 6.945 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003133/0.3465, allocations: 80.88 kB / 439.5 MB, free: 6.879 MB / 314.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 () * Number of clocked 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.0001107/0.3466, allocations: 115.9 kB / 439.7 MB, free: 6.766 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003441/0.347, allocations: 286.6 kB / 439.9 MB, free: 6.559 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.347, allocations: 0 / 439.9 MB, free: 6.559 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.3472, allocations: 155.9 kB / 440.1 MB, free: 6.441 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.3476, allocations: 56.06 kB / 440.1 MB, free: 6.406 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.3487, allocations: 1.216 MB / 441.4 MB, free: 5.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001698/0.3489, allocations: 0.7901 MB / 442.1 MB, free: 4.43 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001361/0.3491, allocations: 30.97 kB / 442.2 MB, free: 4.398 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.562e-05/0.3491, allocations: 27.44 kB / 442.2 MB, free: 4.371 MB / 314.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3491, allocations: 0 / 442.2 MB, free: 4.371 MB / 314.7 MB Notification: Performance of Templates: time 0.005118/0.3542, allocations: 2.756 MB / 445 MB, free: 1.68 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1)