Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7255/0.7255, allocations: 110.8 MB / 118.3 MB, free: 14.48 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001605/0.001606, allocations: 159.4 kB / 144 MB, free: 4.793 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.189e-05/1.192e-05, allocations: 0 / 173.8 MB, free: 22.81 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.03984/0.03987, allocations: 25.18 MB / 199 MB, free: 13.71 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04415/0.08405, allocations: 32.95 MB / 232 MB, free: 12.7 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001853/0.08429, allocations: 55.97 kB / 232 MB, free: 12.65 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01156/0.09586, allocations: 4.211 MB / 236.2 MB, free: 8.406 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.0959, allocations: 0 / 236.2 MB, free: 8.406 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.09592, allocations: 4 kB / 236.2 MB, free: 8.402 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.0007029/0.09663, allocations: 486.6 kB / 236.7 MB, free: 7.883 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.09669, allocations: 11.97 kB / 236.7 MB, free: 7.871 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.923e-05/0.09678, allocations: 27.72 kB / 236.8 MB, free: 7.844 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.09698, allocations: 199.3 kB / 237 MB, free: 7.605 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.09701, allocations: 8 kB / 237 MB, free: 7.598 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/0.09706, allocations: 16 kB / 237 MB, free: 7.582 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002726/0.09734, allocations: 137.1 kB / 237.1 MB, free: 7.449 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003271/0.09768, allocations: 201.4 kB / 237.3 MB, free: 7.238 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.0977, allocations: 4 kB / 237.3 MB, free: 7.234 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.09773, allocations: 0 / 237.3 MB, free: 7.234 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.09774, allocations: 4 kB / 237.3 MB, free: 7.23 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.09878, allocations: 0.6684 MB / 238 MB, free: 6.52 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/0.09911, allocations: 213.3 kB / 238.2 MB, free: 6.293 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.09925, allocations: 93.59 kB / 238.3 MB, free: 6.195 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.09928, allocations: 4 kB / 238.3 MB, free: 6.191 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.09931, allocations: 38.5 kB / 238.3 MB, free: 6.145 MB / 186.7 MB Notification: Performance of pre-optimization done (n=30): time 1.843e-06/0.09932, allocations: 0 / 238.3 MB, free: 6.145 MB / 186.7 MB Notification: Performance of matching and sorting (n=42): time 0.002109/0.1014, allocations: 1.42 MB / 239.7 MB, free: 4.547 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.1015, allocations: 85.06 kB / 239.8 MB, free: 4.445 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.1016, allocations: 138.5 kB / 240 MB, free: 4.305 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.1017, allocations: 25.7 kB / 240 MB, free: 4.273 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.1018, allocations: 136.9 kB / 240.1 MB, free: 4.137 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.1019, allocations: 153.8 kB / 240.3 MB, free: 3.984 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.421e-05/0.102, allocations: 4 kB / 240.3 MB, free: 3.98 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1021, allocations: 334.8 kB / 240.6 MB, free: 3.645 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.1023, allocations: 80.88 kB / 240.7 MB, free: 3.566 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.1024, allocations: 126.9 kB / 240.8 MB, free: 3.434 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.1026, allocations: 99.95 kB / 240.9 MB, free: 3.336 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.1026, allocations: 4 kB / 240.9 MB, free: 3.332 MB / 186.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004159/0.103, allocations: 289.1 kB / 241.2 MB, free: 3.043 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1031, allocations: 11.28 kB / 241.2 MB, free: 3.035 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1031, allocations: 0 / 241.2 MB, free: 3.035 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.1031, allocations: 4 kB / 241.2 MB, free: 3.031 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/0.1035, allocations: 83.91 kB / 241.3 MB, free: 2.949 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.1035, allocations: 4 kB / 241.3 MB, free: 2.945 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.1036, allocations: 7.938 kB / 241.3 MB, free: 2.938 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.1036, allocations: 16 kB / 241.3 MB, free: 2.922 MB / 186.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 (52): * Single equations (assignments): 52 * 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.383e-05/0.1037, allocations: 112.9 kB / 241.4 MB, free: 2.805 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.426e-05/0.1038, allocations: 23.72 kB / 241.4 MB, free: 2.781 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.263e-05/0.1039, allocations: 29.97 kB / 241.5 MB, free: 2.754 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.1039, allocations: 4 kB / 241.5 MB, free: 2.75 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.1039, allocations: 0 / 241.5 MB, free: 2.75 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.1039, allocations: 7.984 kB / 241.5 MB, free: 2.742 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.105, allocations: 0.8177 MB / 242.3 MB, free: 1.875 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.105, allocations: 4 kB / 242.3 MB, free: 1.871 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003829/0.1054, allocations: 87.89 kB / 242.4 MB, free: 1.785 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.1054, allocations: 8.062 kB / 242.4 MB, free: 1.777 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.1054, allocations: 0 / 242.4 MB, free: 1.777 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.1054, allocations: 7.953 kB / 242.4 MB, free: 1.77 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1054, allocations: 0 / 242.4 MB, free: 1.77 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006023/0.1061, allocations: 0.5908 MB / 243 MB, free: 1.137 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.968e-05/0.1061, allocations: 100.8 kB / 243.1 MB, free: 1.02 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/0.1062, allocations: 0 / 243.1 MB, free: 1.02 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.1063, allocations: 0 / 243.1 MB, free: 1.02 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.1064, allocations: 27.92 kB / 243.1 MB, free: 0.9922 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.1064, allocations: 15.94 kB / 243.1 MB, free: 0.9766 MB / 186.7 MB Notification: Performance of sorting global known variables: time 6.968e-05/0.1065, allocations: 111.3 kB / 243.3 MB, free: 0.8672 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1065, allocations: 4 kB / 243.3 MB, free: 0.8633 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003375/0.1068, allocations: 56 kB / 243.3 MB, free: 0.8086 MB / 186.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 (42): * Single equations (assignments): 42 * 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.0001242/0.1069, allocations: 103.2 kB / 243.4 MB, free: 0.6992 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003384/0.1073, allocations: 223.9 kB / 243.6 MB, free: 492 kB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1073, allocations: 0 / 243.6 MB, free: 492 kB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.1075, allocations: 128.5 kB / 243.8 MB, free: 364 kB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004398/0.1079, allocations: 52.66 kB / 243.8 MB, free: 312 kB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09929/0.2072, allocations: 0.8309 MB / 244.6 MB, free: 42.71 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.2075, allocations: 0.7735 MB / 245.4 MB, free: 42.02 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001801/0.2077, allocations: 32.56 kB / 245.4 MB, free: 42.01 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.43e-05/0.2078, allocations: 23.94 kB / 245.5 MB, free: 42 MB / 186.7 MB Notification: Performance of SimCode: time 8.62e-07/0.2078, allocations: 0 / 245.5 MB, free: 42 MB / 186.7 MB Notification: Performance of Templates: time 0.005589/0.2134, allocations: 2.487 MB / 248 MB, free: 41.86 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1)