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.0009445/0.0009446, allocations: 168.3 kB / 7.639 MB, free: 1.414 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.34/1.34, allocations: 170.7 MB / 178.7 MB, free: 15.66 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.001717/0.001717, allocations: 105 kB / 218 MB, free: 8.43 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.788e-05/1.79e-05, allocations: 4 kB / 262.2 MB, free: 26.42 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07864/0.07868, allocations: 38.78 MB / 301 MB, free: 3.652 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2887/0.3674, allocations: 65.71 MB / 366.7 MB, free: 2.684 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/0.3677, allocations: 62.72 kB / 366.7 MB, free: 2.652 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01049/0.3782, allocations: 4.431 MB / 371.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3782, allocations: 0 / 371.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.3783, allocations: 7.812 kB / 371.2 MB, free: 15.03 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.0006773/0.379, allocations: 499.4 kB / 371.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.379, allocations: 12.03 kB / 371.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.309e-05/0.3791, allocations: 31.62 kB / 371.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.3793, allocations: 230.9 kB / 371.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.3794, allocations: 8 kB / 371.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.576e-05/0.3794, allocations: 23.86 kB / 372 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002786/0.3797, allocations: 156.7 kB / 372.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.38, allocations: 207.2 kB / 372.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.3801, allocations: 4 kB / 372.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.3801, allocations: 0 / 372.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.3801, allocations: 8 kB / 372.3 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009106/0.381, allocations: 0.6976 MB / 373 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.3814, allocations: 249 kB / 373.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.3815, allocations: 114.3 kB / 373.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.3815, allocations: 4 kB / 373.4 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.3816, allocations: 30.56 kB / 373.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 5.891e-06/0.3816, allocations: 4 kB / 373.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.001975/0.3836, allocations: 1.503 MB / 374.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.3836, allocations: 81.11 kB / 375 MB, free: 11.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.3838, allocations: 141.4 kB / 375.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.3838, allocations: 25.7 kB / 375.2 MB, free: 11.22 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.733e-05/0.3839, allocations: 143.2 kB / 375.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.384, allocations: 167.3 kB / 375.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.245e-05/0.384, allocations: 0 / 375.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.3842, allocations: 341.7 kB / 375.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.3843, allocations: 93.31 kB / 375.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.3845, allocations: 131.6 kB / 376 MB, free: 10.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.3847, allocations: 114.5 kB / 376.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3847, allocations: 0 / 376.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004246/0.3851, allocations: 310.1 kB / 376.4 MB, free: 10.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.3851, allocations: 8.266 kB / 376.5 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.3851, allocations: 8.047 kB / 376.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3852, allocations: 4 kB / 376.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003835/0.3856, allocations: 98.78 kB / 376.6 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3856, allocations: 6.625 kB / 376.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.3857, allocations: 7.984 kB / 376.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.3857, allocations: 11.56 kB / 376.6 MB, free: 10.01 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 9.77e-05/0.3858, allocations: 114.2 kB / 376.7 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.926e-05/0.3859, allocations: 31.62 kB / 376.7 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.98e-05/0.386, allocations: 38.47 kB / 376.8 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.386, allocations: 8 kB / 376.8 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.386, allocations: 4 kB / 376.8 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.386, allocations: 3.984 kB / 376.8 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.3871, allocations: 0.8483 MB / 377.6 MB, free: 9.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.3872, allocations: 4 kB / 377.6 MB, free: 9.086 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004039/0.3876, allocations: 95.7 kB / 377.7 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.3876, allocations: 0 / 377.7 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.3876, allocations: 4 kB / 377.7 MB, free: 8.992 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.3876, allocations: 7.984 kB / 377.7 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3876, allocations: 4.062 kB / 377.7 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006577/0.3883, allocations: 0.6257 MB / 378.4 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/0.3884, allocations: 104.8 kB / 378.5 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.3884, allocations: 3.984 kB / 378.5 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.3886, allocations: 4 kB / 378.5 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.3886, allocations: 23.66 kB / 378.5 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.3887, allocations: 19.56 kB / 378.5 MB, free: 8.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.514e-05/0.3887, allocations: 124.8 kB / 378.6 MB, free: 8.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3888, allocations: 0 / 378.6 MB, free: 8.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003439/0.3891, allocations: 60 kB / 378.7 MB, free: 8.102 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.0001678/0.3893, allocations: 111.1 kB / 378.8 MB, free: 7.984 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000375/0.3897, allocations: 259.2 kB / 379.1 MB, free: 7.801 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3897, allocations: 0 / 379.1 MB, free: 7.801 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.3898, allocations: 141.8 kB / 379.2 MB, free: 7.699 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.3903, allocations: 53.52 kB / 379.3 MB, free: 7.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.3917, allocations: 0.856 MB / 380.1 MB, free: 6.824 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.3921, allocations: 0.7803 MB / 380.9 MB, free: 6.016 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001364/0.3922, allocations: 39.2 kB / 380.9 MB, free: 5.977 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.355e-05/0.3923, allocations: 27.44 kB / 381 MB, free: 5.949 MB / 266.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3923, allocations: 0 / 381 MB, free: 5.949 MB / 266.7 MB Notification: Performance of Templates: time 0.005616/0.3979, allocations: 2.622 MB / 383.6 MB, free: 3.336 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)