Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Mechanics.Translational.Examples.HeatLosses") translateModel(Modelica.Mechanics.Translational.Examples.HeatLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001499/0.001498, allocations: 107.2 kB / 17.06 MB, free: 5.793 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.001561/0.001561, allocations: 200 kB / 18.01 MB, free: 4.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.1 MB / 223.9 MB, free: 12.2 MB / 190.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.001303/0.001303, allocations: 51.92 kB / 327.9 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1139, allocations: 46.62 MB / 374.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.005352/0.1193, allocations: 4.314 MB / 378.8 MB, free: 216 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2525/0.3719, allocations: 1.324 MB / 380.1 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004754/0.3724, allocations: 12.47 kB / 380.1 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003719/0.3728, allocations: 118.5 kB / 380.2 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004351/0.3733, allocations: 231.4 kB / 380.5 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.3746, allocations: 421.6 kB / 380.9 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001275/0.3759, allocations: 1.139 MB / 382 MB, free: 9.348 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004995/0.3764, allocations: 265.3 kB / 382.3 MB, free: 9.293 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008236/0.3772, allocations: 485.5 kB / 382.8 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006431/0.3779, allocations: 0.5149 MB / 383.3 MB, free: 9 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001621/0.378, allocations: 91.56 kB / 383.4 MB, free: 9 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003455/0.3784, allocations: 150.7 kB / 383.5 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002323/0.3786, allocations: 219.1 kB / 383.7 MB, free: 8.855 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004159/0.3791, allocations: 451.2 kB / 384.2 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00143/0.3805, allocations: 1.063 MB / 385.2 MB, free: 8.219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3805, allocations: 0 / 385.2 MB, free: 8.219 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3805, allocations: 0 / 385.2 MB, free: 8.219 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.3805, allocations: 1.438 kB / 385.2 MB, free: 8.219 MB / 318.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.003422/0.384, allocations: 1.309 MB / 386.5 MB, free: 7.449 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.384, allocations: 9.344 kB / 386.5 MB, free: 7.449 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002891/0.3843, allocations: 90.03 kB / 386.6 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007323/0.3851, allocations: 456.6 kB / 387.1 MB, free: 7.059 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.837e-05/0.3851, allocations: 58.69 kB / 387.1 MB, free: 7.035 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.3853, allocations: 72.47 kB / 387.2 MB, free: 7.008 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.3869, allocations: 0.8093 MB / 388 MB, free: 6.707 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.161e-05/0.387, allocations: 10.8 kB / 388 MB, free: 6.699 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.799e-05/0.3871, allocations: 30.8 kB / 388.1 MB, free: 6.676 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.3871, allocations: 15.97 kB / 388.1 MB, free: 6.676 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/0.3892, allocations: 0.8649 MB / 388.9 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004994/0.3942, allocations: 2.378 MB / 391.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.3958, allocations: 0.717 MB / 392 MB, free: 4.809 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009581/0.3968, allocations: 468.7 kB / 392.5 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.019e-05/0.3969, allocations: 12.66 kB / 392.5 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001205/0.3981, allocations: 0.5492 MB / 393.1 MB, free: 4.422 MB / 318.1 MB Notification: Performance of pre-optimization done (n=86): time 3.146e-06/0.3981, allocations: 4 kB / 393.1 MB, free: 4.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=106): time 0.01111/0.4092, allocations: 4.231 MB / 397.3 MB, free: 2.457 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.4093, allocations: 64.3 kB / 397.4 MB, free: 2.395 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000432/0.4097, allocations: 390.4 kB / 397.7 MB, free: 2.188 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.464e-05/0.4098, allocations: 53.88 kB / 397.8 MB, free: 2.137 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.41, allocations: 279.6 kB / 398.1 MB, free: 1.887 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.4102, allocations: 379.8 kB / 398.4 MB, free: 1.562 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000304/0.4105, allocations: 186.6 kB / 398.6 MB, free: 1.445 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.399e-05/0.4106, allocations: 373.8 kB / 399 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000903/0.4115, allocations: 437 kB / 399.4 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009955/0.4125, allocations: 0.532 MB / 399.9 MB, free: 0.582 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/0.4141, allocations: 0.7797 MB / 400.7 MB, free: 184 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4141, allocations: 3.938 kB / 400.7 MB, free: 180 kB / 318.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003308/0.4174, allocations: 1.353 MB / 402.1 MB, free: 15.51 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.4175, allocations: 5.594 kB / 402.1 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.4175, allocations: 5.094 kB / 402.1 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/0.4188, allocations: 0.6494 MB / 402.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008115/0.4196, allocations: 206.2 kB / 402.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004491/0.4241, allocations: 3.442 MB / 406.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.4255, allocations: 173.8 kB / 406.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.4256, allocations: 40.2 kB / 406.6 MB, free: 11.95 MB / 334.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,massWithStopAndFriction.stopped,massWithStopAndFriction.mode,$PRE.massWithStopAndFriction.mode,massWithStopAndFriction.locked,massWithStopAndFriction.startBackward,$PRE.massWithStopAndFriction.startBackward,massWithStopAndFriction.startForward,$PRE.massWithStopAndFriction.startForward,massWithStopAndFriction.free,brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,supportFriction.mode,$PRE.supportFriction.mode,supportFriction.locked,supportFriction.startBackward,$PRE.supportFriction.startBackward,supportFriction.startForward,$PRE.supportFriction.startForward,elastoGap.contact,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,7), (1,5), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0006331/0.4263, allocations: 240.1 kB / 406.8 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.4264, allocations: 70.45 kB / 406.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.4267, allocations: 98.92 kB / 407 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.4267, allocations: 10.22 kB / 407 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-05/0.4267, allocations: 1.062 kB / 407 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.4267, allocations: 7.969 kB / 407 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004727/0.4315, allocations: 2.509 MB / 409.5 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.4315, allocations: 2.156 kB / 409.5 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007757/0.4323, allocations: 175 kB / 409.7 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00117/0.4335, allocations: 0.6209 MB / 410.3 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.4336, allocations: 40.55 kB / 410.3 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003751/0.4373, allocations: 3.217 MB / 413.6 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4374, allocations: 1.562 kB / 413.6 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004042/0.4414, allocations: 1.847 MB / 415.4 MB, free: 4.914 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005069/0.4419, allocations: 236.5 kB / 415.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.4421, allocations: 35.98 kB / 415.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/0.4434, allocations: 203.7 kB / 415.9 MB, free: 4.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009339/0.4443, allocations: 376.4 kB / 416.2 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-05/0.4444, allocations: 43.95 kB / 416.3 MB, free: 4.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004015/0.4448, allocations: 271.1 kB / 416.6 MB, free: 3.754 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4449, allocations: 4 kB / 416.6 MB, free: 3.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00101/0.4459, allocations: 244 kB / 416.8 MB, free: 3.512 MB / 334.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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,6), (1,6), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003681/0.4462, allocations: 167.8 kB / 417 MB, free: 3.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002833/0.4491, allocations: 1.192 MB / 418.1 MB, free: 2.137 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.4491, allocations: 0 / 418.1 MB, free: 2.137 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001687/0.4508, allocations: 0.7821 MB / 418.9 MB, free: 1.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009961/0.4518, allocations: 133.3 kB / 419.1 MB, free: 1.215 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004035/0.4559, allocations: 1.971 MB / 421 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000541/0.4564, allocations: 0.9322 MB / 422 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004017/0.4568, allocations: 81.45 kB / 422 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.457, allocations: 71.41 kB / 422.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of SimCode: time 8.21e-07/0.457, allocations: 0 / 422.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of Templates: time 0.02757/0.4846, allocations: 17.73 MB / 439.8 MB, free: 12.35 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.HeatLosses.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.HeatLosses.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.HeatLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1)