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/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.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/Complex 3.2.2+maint.om/package.mo): time 0.001855/0.001855, allocations: 185.5 kB / 8.354 MB, free: 0.7305 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.421/1.421, allocations: 194.3 MB / 203.1 MB, free: 13.03 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001656/0.001656, allocations: 116.2 kB / 248.1 MB, free: 28 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.633e-05/1.634e-05, allocations: 4 kB / 298.1 MB, free: 35.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07833/0.07836, allocations: 44.5 MB / 342.6 MB, free: 7.008 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3046/0.3831, allocations: 78.31 MB / 420.9 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/0.3833, allocations: 71.47 kB / 420.9 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0394/0.4227, allocations: 14.62 MB / 435.6 MB, free: 5.332 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4228, allocations: 0 / 435.6 MB, free: 5.332 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.911e-05/0.4228, allocations: 15.22 kB / 435.6 MB, free: 5.332 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.002623/0.4254, allocations: 1.069 MB / 436.6 MB, free: 4.633 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.4255, allocations: 15.53 kB / 436.7 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003157/0.4258, allocations: 89.44 kB / 436.8 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006089/0.4264, allocations: 415.9 kB / 437.2 MB, free: 4.262 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.584e-05/0.4265, allocations: 23.25 kB / 437.2 MB, free: 4.262 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.4267, allocations: 42.31 kB / 437.2 MB, free: 4.258 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001136/0.4278, allocations: 0.6762 MB / 437.9 MB, free: 4.184 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.4288, allocations: 0.6307 MB / 438.5 MB, free: 4.004 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.4289, allocations: 3.75 kB / 438.5 MB, free: 4.004 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-05/0.429, allocations: 0 / 438.5 MB, free: 4.004 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.429, allocations: 15.31 kB / 438.5 MB, free: 4.004 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003877/0.4329, allocations: 2.331 MB / 440.9 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007818/0.4337, allocations: 0.5862 MB / 441.5 MB, free: 2.703 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004271/0.4341, allocations: 390.2 kB / 441.8 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.575e-05/0.4342, allocations: 12.42 kB / 441.9 MB, free: 2.672 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000617/0.4348, allocations: 478.7 kB / 442.3 MB, free: 2.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=89): time 2.535e-06/0.4348, allocations: 0 / 442.3 MB, free: 2.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=109): time 0.004725/0.4396, allocations: 2.625 MB / 444.9 MB, free: 1.504 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.4396, allocations: 64.25 kB / 445 MB, free: 1.441 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.4399, allocations: 280 kB / 445.3 MB, free: 1.309 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.32e-05/0.44, allocations: 36.8 kB / 445.3 MB, free: 1.277 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.4401, allocations: 262.3 kB / 445.6 MB, free: 1.098 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.4403, allocations: 359.9 kB / 445.9 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.423e-05/0.4404, allocations: 3.984 kB / 445.9 MB, free: 0.832 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.996e-05/0.4405, allocations: 373.2 kB / 446.3 MB, free: 0.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000477/0.441, allocations: 335.1 kB / 446.6 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005135/0.4415, allocations: 428 kB / 447 MB, free: 428 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005394/0.442, allocations: 291.2 kB / 447.3 MB, free: 380 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.442, allocations: 0 / 447.3 MB, free: 380 kB / 298.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002104/0.4442, allocations: 1.106 MB / 448.4 MB, free: 15.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.4442, allocations: 4 kB / 448.4 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/0.4442, allocations: 4 kB / 448.4 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009551/0.4452, allocations: 0.5416 MB / 449 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007895/0.446, allocations: 205.7 kB / 449.2 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003975/0.45, allocations: 3.231 MB / 452.4 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.4513, allocations: 223.1 kB / 452.6 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.4514, allocations: 38.86 kB / 452.7 MB, free: 11.93 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: supportFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic f = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: massWithStopAndFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic f = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: brake.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic f = f(a_relfric)" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003262/0.4518, allocations: 140.3 kB / 452.8 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.4519, allocations: 67.16 kB / 452.9 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/0.4541, allocations: 1.121 MB / 454 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.4541, allocations: 16 kB / 454 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.4541, allocations: 0 / 454 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.4541, allocations: 4.031 kB / 454 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003843/0.458, allocations: 2.204 MB / 456.2 MB, free: 9.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.458, allocations: 4 kB / 456.2 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008009/0.4588, allocations: 187 kB / 456.4 MB, free: 8.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008583/0.4597, allocations: 0.5083 MB / 456.9 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.01e-05/0.4598, allocations: 23.14 kB / 456.9 MB, free: 8.566 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003358/0.4632, allocations: 3.037 MB / 460 MB, free: 5.668 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/0.4632, allocations: 4.031 kB / 460 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002913/0.4661, allocations: 1.651 MB / 461.6 MB, free: 4.375 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004268/0.4666, allocations: 229.8 kB / 461.9 MB, free: 4.172 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.4667, allocations: 18.39 kB / 461.9 MB, free: 4.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/0.4681, allocations: 239.1 kB / 462.1 MB, free: 3.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008873/0.469, allocations: 426.1 kB / 462.5 MB, free: 3.566 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/0.4692, allocations: 49.58 kB / 462.6 MB, free: 3.527 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002555/0.4694, allocations: 225.5 kB / 462.8 MB, free: 3.348 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4694, allocations: 0 / 462.8 MB, free: 3.348 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009296/0.4704, allocations: 215.9 kB / 463 MB, free: 3.137 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * 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.000372/0.4707, allocations: 166 kB / 463.2 MB, free: 2.977 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00187/0.4726, allocations: 1.035 MB / 464.2 MB, free: 2.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4726, allocations: 0 / 464.2 MB, free: 2.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001185/0.4738, allocations: 0.686 MB / 464.9 MB, free: 1.324 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007397/0.4746, allocations: 94.64 kB / 465 MB, free: 1.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004159/0.4788, allocations: 1.709 MB / 466.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006011/0.4794, allocations: 0.9478 MB / 467.6 MB, free: 14.49 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004667/0.4799, allocations: 77.33 kB / 467.7 MB, free: 14.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.4801, allocations: 55.42 kB / 467.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of SimCode: time 1.342e-06/0.4801, allocations: 0 / 467.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of Templates: time 0.02557/0.5056, allocations: 14.29 MB / 482.1 MB, free: 56 kB / 330.7 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)