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.001403/0.001403, allocations: 187.8 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.784/1.784, allocations: 194.3 MB / 203.1 MB, free: 9.316 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001676/0.001677, allocations: 118.4 kB / 248.1 MB, free: 6.328 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.285e-05/2.287e-05, allocations: 0 / 298.1 MB, free: 8.254 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1066, allocations: 44.5 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3363/0.443, allocations: 71.02 MB / 413.6 MB, free: 24.78 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001686/0.4432, allocations: 62.34 kB / 413.7 MB, free: 24.75 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.009789/0.453, allocations: 4.411 MB / 418.1 MB, free: 21.18 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.453, allocations: 0 / 418.1 MB, free: 21.18 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.4531, allocations: 4 kB / 418.1 MB, free: 21.18 MB / 315.1 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.0005125/0.4536, allocations: 0.4901 MB / 418.6 MB, free: 20.66 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.4536, allocations: 12.03 kB / 418.6 MB, free: 20.65 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.065e-05/0.4537, allocations: 36.62 kB / 418.6 MB, free: 20.62 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.4539, allocations: 237.2 kB / 418.8 MB, free: 20.36 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.4539, allocations: 12 kB / 418.8 MB, free: 20.35 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.488e-05/0.454, allocations: 23.41 kB / 418.9 MB, free: 20.33 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002584/0.4543, allocations: 153.5 kB / 419 MB, free: 20.23 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.4546, allocations: 213.6 kB / 419.2 MB, free: 20.06 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.4546, allocations: 0 / 419.2 MB, free: 20.06 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.4546, allocations: 0 / 419.2 MB, free: 20.06 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.4546, allocations: 8 kB / 419.2 MB, free: 20.05 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007448/0.4554, allocations: 0.7088 MB / 419.9 MB, free: 19.42 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.4557, allocations: 237.9 kB / 420.2 MB, free: 19.24 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.4558, allocations: 118 kB / 420.3 MB, free: 19.15 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.4558, allocations: 4.625 kB / 420.3 MB, free: 19.15 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.4559, allocations: 34.44 kB / 420.3 MB, free: 19.11 MB / 315.1 MB Notification: Performance of pre-optimization done (n=36): time 1.452e-06/0.4559, allocations: 0 / 420.3 MB, free: 19.11 MB / 315.1 MB Notification: Performance of matching and sorting (n=48): time 0.001695/0.4576, allocations: 1.481 MB / 421.8 MB, free: 17.65 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.4576, allocations: 81.11 kB / 421.9 MB, free: 17.55 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.777e-05/0.4577, allocations: 146.6 kB / 422 MB, free: 17.41 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.4577, allocations: 25.7 kB / 422.1 MB, free: 17.38 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.403e-05/0.4578, allocations: 143.7 kB / 422.2 MB, free: 17.25 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.379e-05/0.4579, allocations: 168 kB / 422.4 MB, free: 17.11 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.216e-05/0.4579, allocations: 0 / 422.4 MB, free: 17.11 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 6.832e-05/0.458, allocations: 341.8 kB / 422.7 MB, free: 16.78 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.4581, allocations: 90.44 kB / 422.8 MB, free: 16.72 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.4583, allocations: 139.9 kB / 422.9 MB, free: 16.61 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.4584, allocations: 110.7 kB / 423 MB, free: 16.55 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4584, allocations: 4 kB / 423 MB, free: 16.54 MB / 315.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003588/0.4588, allocations: 316.9 kB / 423.3 MB, free: 16.3 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.4588, allocations: 4 kB / 423.3 MB, free: 16.3 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.4588, allocations: 4 kB / 423.4 MB, free: 16.29 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.4589, allocations: 3.828 kB / 423.4 MB, free: 16.29 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.4592, allocations: 103.3 kB / 423.5 MB, free: 16.2 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.4592, allocations: 3.938 kB / 423.5 MB, free: 16.19 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.984e-05/0.4593, allocations: 8.812 kB / 423.5 MB, free: 16.18 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.4594, allocations: 14.5 kB / 423.5 MB, free: 16.18 MB / 315.1 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 7.627e-05/0.4595, allocations: 126 kB / 423.6 MB, free: 16.05 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.639e-05/0.4595, allocations: 23.72 kB / 423.6 MB, free: 16.03 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.343e-05/0.4596, allocations: 33.45 kB / 423.7 MB, free: 16.02 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.4596, allocations: 4 kB / 423.7 MB, free: 16.02 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.4596, allocations: 4 kB / 423.7 MB, free: 16.01 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.4596, allocations: 3.984 kB / 423.7 MB, free: 16.01 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008659/0.4605, allocations: 0.8514 MB / 424.5 MB, free: 15.27 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4605, allocations: 8.062 kB / 424.5 MB, free: 15.26 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003737/0.4609, allocations: 94.83 kB / 424.6 MB, free: 15.17 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4609, allocations: 3.953 kB / 424.6 MB, free: 15.16 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.4609, allocations: 4 kB / 424.6 MB, free: 15.16 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.4609, allocations: 7.938 kB / 424.6 MB, free: 15.15 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.461, allocations: 0 / 424.6 MB, free: 15.15 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005386/0.4615, allocations: 0.6296 MB / 425.3 MB, free: 14.6 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.4616, allocations: 104.7 kB / 425.4 MB, free: 14.48 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.4616, allocations: 4 kB / 425.4 MB, free: 14.48 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.4618, allocations: 0 / 425.4 MB, free: 14.48 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.4618, allocations: 29.33 kB / 425.4 MB, free: 14.46 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.4618, allocations: 12 kB / 425.4 MB, free: 14.45 MB / 315.1 MB Notification: Performance of sorting global known variables: time 5.426e-05/0.4619, allocations: 122.5 kB / 425.5 MB, free: 14.34 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4619, allocations: 0 / 425.5 MB, free: 14.34 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.000324/0.4622, allocations: 67.95 kB / 425.6 MB, free: 14.27 MB / 315.1 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.0001193/0.4623, allocations: 103.2 kB / 425.7 MB, free: 14.16 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0003248/0.4627, allocations: 263 kB / 426 MB, free: 13.98 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4627, allocations: 0 / 426 MB, free: 13.98 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.4628, allocations: 147.8 kB / 426.1 MB, free: 13.87 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.4633, allocations: 41.62 kB / 426.1 MB, free: 13.84 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.4643, allocations: 0.8705 MB / 427 MB, free: 13.02 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.4645, allocations: 0.7877 MB / 427.8 MB, free: 12.21 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 0.00012/0.4647, allocations: 31.27 kB / 427.8 MB, free: 12.18 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.522e-05/0.4647, allocations: 32.56 kB / 427.9 MB, free: 12.14 MB / 315.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4647, allocations: 0 / 427.9 MB, free: 12.14 MB / 315.1 MB Notification: Performance of Templates: time 0.004782/0.4695, allocations: 2.612 MB / 430.5 MB, free: 9.594 MB / 315.1 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)