Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Translational.Examples.HeatLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.HeatLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.HeatLosses") translateModel(Modelica.Mechanics.Translational.Examples.HeatLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.HeatLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.001129, allocations: 99.94 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005059/0.000506, allocations: 15.98 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2786, allocations: 47.58 MB / 326.4 MB, free: 1.637 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.004117/0.2827, allocations: 3.491 MB / 329.9 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002797/0.2856, allocations: 1.309 MB / 331.2 MB, free: 13.85 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003555/0.286, allocations: 12.31 kB / 331.3 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.2862, allocations: 75.47 kB / 331.3 MB, free: 13.78 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005063/0.2867, allocations: 247.3 kB / 331.6 MB, free: 13.57 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009607/0.2877, allocations: 341.1 kB / 331.9 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000854/0.2885, allocations: 0.6937 MB / 332.6 MB, free: 12.84 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003485/0.2889, allocations: 196.4 kB / 332.8 MB, free: 12.71 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005473/0.2894, allocations: 411.7 kB / 333.2 MB, free: 12.48 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005802/0.29, allocations: 460.1 kB / 333.6 MB, free: 12.19 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.2901, allocations: 47.69 kB / 333.7 MB, free: 12.19 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002775/0.2904, allocations: 96.3 kB / 333.8 MB, free: 12.16 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001995/0.2906, allocations: 178 kB / 334 MB, free: 12.02 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.2908, allocations: 154.1 kB / 334.1 MB, free: 11.93 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007147/0.2915, allocations: 0.7343 MB / 334.8 MB, free: 11.22 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.2916, allocations: 3.938 kB / 334.8 MB, free: 11.22 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.2916, allocations: 0 / 334.8 MB, free: 11.22 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.2916, allocations: 0 / 334.8 MB, free: 11.22 MB / 270.1 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.003021/0.2946, allocations: 1.228 MB / 336.1 MB, free: 9.941 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.2947, allocations: 8.031 kB / 336.1 MB, free: 9.934 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002178/0.2949, allocations: 90.97 kB / 336.2 MB, free: 9.844 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005842/0.2955, allocations: 428.6 kB / 336.6 MB, free: 9.387 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.194e-05/0.2955, allocations: 50 kB / 336.6 MB, free: 9.336 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.2957, allocations: 71.91 kB / 336.7 MB, free: 9.266 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.2973, allocations: 0.8114 MB / 337.5 MB, free: 8.449 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.2973, allocations: 4 kB / 337.5 MB, free: 8.445 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.234e-05/0.2974, allocations: 28 kB / 337.5 MB, free: 8.418 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.2975, allocations: 16 kB / 337.6 MB, free: 8.402 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.2993, allocations: 0.8978 MB / 338.5 MB, free: 7.504 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004279/0.3036, allocations: 2.459 MB / 340.9 MB, free: 4.914 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.3051, allocations: 0.7347 MB / 341.7 MB, free: 4.176 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.125e-05/0.3052, allocations: 12.98 kB / 341.7 MB, free: 4.164 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001164/0.3063, allocations: 0.5556 MB / 342.2 MB, free: 3.598 MB / 270.1 MB Notification: Performance of pre-optimization done (n=86): time 2.645e-06/0.3063, allocations: 0 / 342.2 MB, free: 3.598 MB / 270.1 MB Notification: Performance of matching and sorting (n=106): time 0.0112/0.3176, allocations: 4.462 MB / 346.7 MB, free: 15.01 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.3176, allocations: 68.41 kB / 346.8 MB, free: 14.93 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000421/0.3181, allocations: 389.8 kB / 347.1 MB, free: 14.54 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.869e-05/0.3182, allocations: 61.62 kB / 347.2 MB, free: 14.48 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/0.3184, allocations: 269 kB / 347.5 MB, free: 14.21 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002738/0.3186, allocations: 362.9 kB / 347.8 MB, free: 13.85 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.816e-05/0.3187, allocations: 20 kB / 347.8 MB, free: 13.83 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3189, allocations: 374.8 kB / 348.2 MB, free: 13.45 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009334/0.3198, allocations: 454.4 kB / 348.6 MB, free: 13.01 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.3209, allocations: 0.5267 MB / 349.2 MB, free: 12.46 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008499/0.3217, allocations: 398.3 kB / 349.6 MB, free: 12.07 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3217, allocations: 0 / 349.6 MB, free: 12.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002868/0.3246, allocations: 1.369 MB / 350.9 MB, free: 10.69 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.3246, allocations: 4 kB / 350.9 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.3247, allocations: 4 kB / 350.9 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.3258, allocations: 0.6582 MB / 351.6 MB, free: 10.01 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007759/0.3266, allocations: 215.6 kB / 351.8 MB, free: 9.801 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004078/0.3307, allocations: 3.295 MB / 355.1 MB, free: 6.316 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.3319, allocations: 236.1 kB / 355.3 MB, free: 6.086 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.517e-05/0.332, allocations: 39.98 kB / 355.4 MB, free: 6.047 MB / 286.1 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.0003674/0.3324, allocations: 237.6 kB / 355.6 MB, free: 5.805 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.3325, allocations: 71.16 kB / 355.7 MB, free: 5.734 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.3327, allocations: 99.02 kB / 355.8 MB, free: 5.633 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.3327, allocations: 8 kB / 355.8 MB, free: 5.625 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.3327, allocations: 128 / 355.8 MB, free: 5.625 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.3328, allocations: 15.97 kB / 355.8 MB, free: 5.609 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00432/0.3371, allocations: 2.554 MB / 358.3 MB, free: 2.949 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.3371, allocations: 0 / 358.3 MB, free: 2.949 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007603/0.3379, allocations: 195.9 kB / 358.5 MB, free: 2.758 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009813/0.3389, allocations: 0.6114 MB / 359.1 MB, free: 2.137 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.301e-05/0.339, allocations: 39.95 kB / 359.2 MB, free: 2.098 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003357/0.3423, allocations: 3.144 MB / 362.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.3423, allocations: 0 / 362.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003665/0.346, allocations: 1.981 MB / 364.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003936/0.3464, allocations: 232.1 kB / 364.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.3466, allocations: 32 kB / 364.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/0.3479, allocations: 279.7 kB / 364.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008449/0.3487, allocations: 428.1 kB / 365.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.629e-05/0.3488, allocations: 43.95 kB / 365.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002679/0.3491, allocations: 263.2 kB / 365.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3491, allocations: 0 / 365.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007947/0.3499, allocations: 248 kB / 365.8 MB, free: 11.19 MB / 302.1 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.0002779/0.3502, allocations: 168.6 kB / 366 MB, free: 11.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002382/0.3526, allocations: 1.219 MB / 367.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3526, allocations: 0 / 367.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001534/0.3541, allocations: 0.7859 MB / 368 MB, free: 8.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006406/0.3548, allocations: 97.5 kB / 368.1 MB, free: 8.887 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00393/0.3587, allocations: 2.373 MB / 370.4 MB, free: 6.469 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/0.3592, allocations: 0.9517 MB / 371.4 MB, free: 5.492 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003629/0.3596, allocations: 81.44 kB / 371.5 MB, free: 5.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.3598, allocations: 59.42 kB / 371.5 MB, free: 5.352 MB / 302.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3598, allocations: 0 / 371.5 MB, free: 5.352 MB / 302.1 MB Notification: Performance of Templates: time 0.02332/0.3831, allocations: 15.4 MB / 386.9 MB, free: 5.93 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.HeatLosses.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.HeatLosses.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.HeatLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1) Environment - environmentSimulation: