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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001239/0.00124, allocations: 170.5 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.411/1.411, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001774/0.001774, allocations: 95.53 kB / 223.2 MB, free: 4.051 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.484e-05, allocations: 0 / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07967/0.07972, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3027/0.3825, allocations: 66.37 MB / 374 MB, free: 9.852 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001715/0.3827, allocations: 67.97 kB / 374.1 MB, free: 9.816 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01131/0.394, allocations: 4.472 MB / 378.5 MB, free: 6.086 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.394, allocations: 0 / 378.5 MB, free: 6.086 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.3941, allocations: 8 kB / 378.5 MB, free: 6.078 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.0006585/0.3947, allocations: 493.7 kB / 379 MB, free: 5.562 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.469e-05/0.3948, allocations: 12.03 kB / 379 MB, free: 5.551 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.888e-05/0.3949, allocations: 31.62 kB / 379.1 MB, free: 5.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.3952, allocations: 242.8 kB / 379.3 MB, free: 5.262 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.3952, allocations: 15.94 kB / 379.3 MB, free: 5.254 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.08e-05/0.3953, allocations: 38.3 kB / 379.4 MB, free: 5.227 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000415/0.3957, allocations: 242.4 kB / 379.6 MB, free: 5.047 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.3957, allocations: 3.938 kB / 379.6 MB, free: 5.043 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.3958, allocations: 13.25 kB / 379.6 MB, free: 5.039 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.3958, allocations: 4 kB / 379.6 MB, free: 5.035 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002653/0.396, allocations: 166.9 kB / 379.8 MB, free: 4.918 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009524/0.397, allocations: 0.7585 MB / 380.5 MB, free: 4.238 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003741/0.3974, allocations: 270 kB / 380.8 MB, free: 4.031 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.3976, allocations: 121.5 kB / 380.9 MB, free: 3.945 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.3976, allocations: 4 kB / 380.9 MB, free: 3.941 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.3976, allocations: 38.36 kB / 381 MB, free: 3.898 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 2.916e-06/0.3976, allocations: 0 / 381 MB, free: 3.898 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.002343/0.4, allocations: 1.619 MB / 382.6 MB, free: 2.348 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.4001, allocations: 85.11 kB / 382.7 MB, free: 2.246 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.4002, allocations: 158.6 kB / 382.8 MB, free: 2.105 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.09e-05/0.4003, allocations: 32.95 kB / 382.9 MB, free: 2.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.992e-05/0.4004, allocations: 137.8 kB / 383 MB, free: 1.949 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.4005, allocations: 174.2 kB / 383.2 MB, free: 1.801 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.554e-05/0.4005, allocations: 10 kB / 383.2 MB, free: 1.797 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.4007, allocations: 339.3 kB / 383.5 MB, free: 1.469 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.4008, allocations: 105.1 kB / 383.6 MB, free: 1.402 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.401, allocations: 148.4 kB / 383.7 MB, free: 1.281 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.4012, allocations: 124.8 kB / 383.9 MB, free: 1.203 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.4012, allocations: 0 / 383.9 MB, free: 1.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004747/0.4017, allocations: 363.8 kB / 384.2 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.4017, allocations: 8.062 kB / 384.2 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.4017, allocations: 0 / 384.2 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.4018, allocations: 7.984 kB / 384.2 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/0.4021, allocations: 103.3 kB / 384.3 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.4022, allocations: 4 kB / 384.3 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.4023, allocations: 11.44 kB / 384.4 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.4023, allocations: 15.69 kB / 384.4 MB, free: 0.7969 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.0001077/0.4024, allocations: 124.2 kB / 384.5 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.724e-05/0.4025, allocations: 31.23 kB / 384.5 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.027e-05/0.4026, allocations: 43.33 kB / 384.6 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.4026, allocations: 8 kB / 384.6 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.4026, allocations: 0 / 384.6 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.4026, allocations: 0 / 384.6 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.4038, allocations: 0.9459 MB / 385.5 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.4038, allocations: 4 kB / 385.5 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004023/0.4042, allocations: 95.52 kB / 385.6 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.4042, allocations: 4 kB / 385.6 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.4043, allocations: 6.688 kB / 385.6 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.4043, allocations: 7.953 kB / 385.6 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4043, allocations: 4.062 kB / 385.6 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007141/0.405, allocations: 0.6684 MB / 386.3 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.415e-05/0.4051, allocations: 100.8 kB / 386.4 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/0.4051, allocations: 6.375 kB / 386.4 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.4053, allocations: 10.88 kB / 386.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.4054, allocations: 26.89 kB / 386.4 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.4054, allocations: 15.44 kB / 386.5 MB, free: 14.95 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001067/0.4055, allocations: 128.9 kB / 386.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4055, allocations: 0 / 386.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003322/0.4058, allocations: 79.06 kB / 386.7 MB, free: 14.77 MB / 282.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.0001506/0.406, allocations: 121.4 kB / 386.8 MB, free: 14.65 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004077/0.4064, allocations: 284.7 kB / 387.1 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4064, allocations: 0 / 387.1 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.4066, allocations: 150.9 kB / 387.2 MB, free: 14.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004452/0.4071, allocations: 57.14 kB / 387.3 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.4084, allocations: 0.9 MB / 388.2 MB, free: 13.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.4088, allocations: 0.7806 MB / 388.9 MB, free: 12.62 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.4089, allocations: 30.97 kB / 389 MB, free: 12.59 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.712e-05/0.409, allocations: 27.44 kB / 389 MB, free: 12.56 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.409, allocations: 0 / 389 MB, free: 12.56 MB / 282.7 MB Notification: Performance of Templates: time 0.00604/0.415, allocations: 2.767 MB / 391.8 MB, free: 9.809 MB / 282.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)