Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.HeatLosses.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.HeatLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.HeatLosses") translateModel(Modelica.Mechanics.Translational.Examples.HeatLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.HeatLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006498/0.006498, allocations: 164.8 kB / 15.11 MB, free: 5.973 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.263/1.263, allocations: 170.8 MB / 186.6 MB, free: 1.145 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.001846/0.001846, allocations: 105.7 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004287/0.0004287, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2319, allocations: 38.76 MB / 312.9 MB, free: 38.72 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09359/0.3255, allocations: 73.74 MB / 386.6 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/0.3258, allocations: 71.95 kB / 386.7 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04396/0.3698, allocations: 14.69 MB / 401.4 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3698, allocations: 0 / 401.4 MB, free: 1.973 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.894e-05/0.3699, allocations: 15.94 kB / 401.4 MB, free: 1.957 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.003435/0.3733, allocations: 1.143 MB / 402.5 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.3734, allocations: 12.03 kB / 402.6 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000465/0.3739, allocations: 87.36 kB / 402.6 MB, free: 0.668 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009126/0.3748, allocations: 424.5 kB / 403.1 MB, free: 216 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.65e-05/0.3749, allocations: 54 kB / 403.1 MB, free: 160 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002193/0.3751, allocations: 68 kB / 403.2 MB, free: 92 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/0.3772, allocations: 0.8115 MB / 404 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.988e-05/0.3773, allocations: 7.906 kB / 404 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.3774, allocations: 24 kB / 404 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.3774, allocations: 16 kB / 404 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002059/0.3795, allocations: 0.8978 MB / 404.9 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004673/0.3842, allocations: 2.447 MB / 407.4 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.3857, allocations: 0.7307 MB / 408.1 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.144e-05/0.3858, allocations: 16.98 kB / 408.1 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001181/0.3869, allocations: 0.5517 MB / 408.7 MB, free: 10.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=86): time 2.866e-06/0.387, allocations: 0 / 408.7 MB, free: 10.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=106): time 0.01159/0.3986, allocations: 4.577 MB / 413.2 MB, free: 5.719 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.3986, allocations: 60.41 kB / 413.3 MB, free: 5.648 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004587/0.3991, allocations: 345 kB / 413.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.3992, allocations: 53.7 kB / 413.7 MB, free: 5.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/0.3995, allocations: 265 kB / 414 MB, free: 4.984 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003479/0.3998, allocations: 366.9 kB / 414.3 MB, free: 4.621 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-05/0.3999, allocations: 23.98 kB / 414.3 MB, free: 4.598 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.4001, allocations: 378.8 kB / 414.7 MB, free: 4.219 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009962/0.4011, allocations: 446.4 kB / 415.1 MB, free: 3.781 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.4022, allocations: 0.5344 MB / 415.7 MB, free: 3.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009131/0.4031, allocations: 394.3 kB / 416.1 MB, free: 2.844 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.4031, allocations: 0 / 416.1 MB, free: 2.844 MB / 314.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003338/0.4065, allocations: 1.483 MB / 417.5 MB, free: 1.344 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.4065, allocations: 4 kB / 417.5 MB, free: 1.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.4065, allocations: 8 kB / 417.6 MB, free: 1.332 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/0.4077, allocations: 0.6738 MB / 418.2 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008029/0.4085, allocations: 207.7 kB / 418.4 MB, free: 456 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1984/0.607, allocations: 3.3 MB / 421.7 MB, free: 83.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.6087, allocations: 235.5 kB / 422 MB, free: 83.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.6089, allocations: 41.67 kB / 422 MB, free: 83.45 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 (supportFriction.free,$whenCondition1,elastoGap.contact,$PRE.supportFriction.startForward,supportFriction.startForward,$PRE.supportFriction.startBackward,supportFriction.startBackward,supportFriction.locked,$PRE.supportFriction.mode,supportFriction.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,massWithStopAndFriction.free,$PRE.massWithStopAndFriction.startForward,massWithStopAndFriction.startForward,$PRE.massWithStopAndFriction.startBackward,massWithStopAndFriction.startBackward,massWithStopAndFriction.locked,$PRE.massWithStopAndFriction.mode,massWithStopAndFriction.mode,massWithStopAndFriction.stopped) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 112 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 7,1 5,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004611/0.6093, allocations: 223 kB / 422.2 MB, free: 83.33 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.6095, allocations: 73.72 kB / 422.3 MB, free: 83.32 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.6097, allocations: 102.3 kB / 422.4 MB, free: 83.31 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.6097, allocations: 11.06 kB / 422.4 MB, free: 83.31 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.6097, allocations: 1.281 kB / 422.4 MB, free: 83.31 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.6098, allocations: 6.281 kB / 422.4 MB, free: 83.31 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004707/0.6145, allocations: 2.644 MB / 425.1 MB, free: 82.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.6145, allocations: 5.219 kB / 425.1 MB, free: 82.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008478/0.6154, allocations: 182.3 kB / 425.2 MB, free: 82.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00116/0.6165, allocations: 0.6522 MB / 425.9 MB, free: 82.78 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.232e-05/0.6166, allocations: 34.94 kB / 425.9 MB, free: 82.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003231/0.6199, allocations: 3.14 MB / 429.1 MB, free: 80.49 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.6199, allocations: 6.656 kB / 429.1 MB, free: 80.49 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004353/0.6243, allocations: 2.062 MB / 431.1 MB, free: 79.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005407/0.6248, allocations: 233.7 kB / 431.4 MB, free: 79.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.625, allocations: 36.17 kB / 431.4 MB, free: 79.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/0.6264, allocations: 255.5 kB / 431.6 MB, free: 79.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009711/0.6274, allocations: 433.5 kB / 432.1 MB, free: 79.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/0.6276, allocations: 45.89 kB / 432.1 MB, free: 79.51 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003952/0.628, allocations: 265.8 kB / 432.4 MB, free: 79.37 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.628, allocations: 0 / 432.4 MB, free: 79.37 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001386/0.6294, allocations: 246.6 kB / 432.6 MB, free: 79.34 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,massWithStopAndFriction.s,massWithStopAndFriction.v,springDamper1.s_rel,springDamper1.v_rel) * Number of discrete variables: 17 ($whenCondition1,elastoGap.contact,supportFriction.startForward,supportFriction.startBackward,supportFriction.locked,supportFriction.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,massWithStopAndFriction.free,massWithStopAndFriction.startForward,massWithStopAndFriction.startBackward,massWithStopAndFriction.locked,massWithStopAndFriction.mode,massWithStopAndFriction.stopped) * Number of discrete states: 9 (massWithStopAndFriction.mode,massWithStopAndFriction.startBackward,massWithStopAndFriction.startForward,brake.mode,brake.startForward,brake.startBackward,supportFriction.mode,supportFriction.startForward,supportFriction.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 6,1 6,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004798/0.6299, allocations: 177.7 kB / 432.8 MB, free: 79.22 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002558/0.6324, allocations: 1.199 MB / 434 MB, free: 78.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.6325, allocations: 0 / 434 MB, free: 78.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001509/0.634, allocations: 0.7761 MB / 434.8 MB, free: 78.42 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008132/0.6348, allocations: 99.16 kB / 434.9 MB, free: 78.39 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004076/0.6389, allocations: 2.412 MB / 437.3 MB, free: 76.99 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.6393, allocations: 0.953 MB / 438.2 MB, free: 76.28 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004062/0.6397, allocations: 77.47 kB / 438.3 MB, free: 76.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.6399, allocations: 53.77 kB / 438.4 MB, free: 76.25 MB / 314.7 MB Notification: Performance of SimCode: time 7.21e-07/0.6399, allocations: 0 / 438.4 MB, free: 76.25 MB / 314.7 MB Notification: Performance of Templates: time 0.02265/0.6626, allocations: 14.61 MB / 453 MB, free: 67.7 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.HeatLosses.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.HeatLosses.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.HeatLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1)