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.001066/0.001066, allocations: 111.1 kB / 16.51 MB, free: 6.707 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.001132/0.001132, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.423/1.423, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001425/0.001425, allocations: 48.41 kB / 279.3 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1131, allocations: 46.63 MB / 326 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.005761/0.1189, allocations: 4.322 MB / 330.3 MB, free: 0.543 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003331/0.1222, allocations: 1.341 MB / 331.6 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006367/0.1229, allocations: 15.94 kB / 331.6 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004385/0.1234, allocations: 83.31 kB / 331.7 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005726/0.124, allocations: 198.4 kB / 331.9 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.1254, allocations: 367.5 kB / 332.3 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001296/0.1267, allocations: 1.073 MB / 333.3 MB, free: 13.47 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003879/0.1271, allocations: 239.1 kB / 333.6 MB, free: 13.22 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006234/0.1277, allocations: 430.5 kB / 334 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004571/0.1282, allocations: 0.4981 MB / 334.5 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.1283, allocations: 56 kB / 334.5 MB, free: 12.25 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002682/0.1286, allocations: 107.9 kB / 334.7 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.1288, allocations: 183.3 kB / 334.8 MB, free: 11.96 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003754/0.1292, allocations: 410 kB / 335.2 MB, free: 11.56 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009793/0.1302, allocations: 1.001 MB / 336.2 MB, free: 10.55 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.1302, allocations: 4 kB / 336.2 MB, free: 10.55 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1302, allocations: 3.938 kB / 336.2 MB, free: 10.55 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.1302, allocations: 0 / 336.2 MB, free: 10.55 MB / 286.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.003503/0.1337, allocations: 1.283 MB / 337.5 MB, free: 9.215 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.1338, allocations: 16.03 kB / 337.5 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002789/0.1341, allocations: 91.89 kB / 337.6 MB, free: 9.109 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000591/0.1347, allocations: 437.6 kB / 338.1 MB, free: 8.641 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.943e-05/0.1347, allocations: 50.38 kB / 338.1 MB, free: 8.59 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.1349, allocations: 76.36 kB / 338.2 MB, free: 8.516 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.1366, allocations: 0.8116 MB / 339 MB, free: 7.699 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/0.1366, allocations: 7.891 kB / 339 MB, free: 7.691 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.313e-05/0.1367, allocations: 32 kB / 339 MB, free: 7.66 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.1367, allocations: 19.94 kB / 339 MB, free: 7.641 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/0.1387, allocations: 0.8666 MB / 339.9 MB, free: 6.773 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004303/0.143, allocations: 2.384 MB / 342.3 MB, free: 4.258 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.1445, allocations: 0.7228 MB / 343 MB, free: 3.527 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009646/0.1455, allocations: 468.3 kB / 343.5 MB, free: 3.07 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.004e-05/0.1456, allocations: 16.98 kB / 343.5 MB, free: 3.055 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001301/0.1469, allocations: 0.5478 MB / 344 MB, free: 2.492 MB / 286.1 MB Notification: Performance of pre-optimization done (n=86): time 2.675e-06/0.1469, allocations: 0 / 344 MB, free: 2.492 MB / 286.1 MB Notification: Performance of matching and sorting (n=106): time 0.01086/0.1578, allocations: 4.216 MB / 348.3 MB, free: 14.15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.1579, allocations: 72.28 kB / 348.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004692/0.1584, allocations: 393.9 kB / 348.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.717e-05/0.1585, allocations: 53.7 kB / 348.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.1587, allocations: 268.9 kB / 349 MB, free: 13.35 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/0.159, allocations: 363 kB / 349.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003057/0.1593, allocations: 182.8 kB / 349.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.1595, allocations: 370.8 kB / 349.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009645/0.1605, allocations: 442.4 kB / 350.4 MB, free: 12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009978/0.1615, allocations: 0.5267 MB / 350.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/0.1631, allocations: 0.7792 MB / 351.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1631, allocations: 0 / 351.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003091/0.1662, allocations: 1.354 MB / 353 MB, free: 9.285 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.1663, allocations: 4 kB / 353 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.1663, allocations: 4 kB / 353 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.1674, allocations: 0.6504 MB / 353.7 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007563/0.1682, allocations: 195.7 kB / 353.9 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003983/0.1722, allocations: 3.267 MB / 357.1 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.1734, allocations: 183.9 kB / 357.3 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.956e-05/0.1735, allocations: 32 kB / 357.3 MB, free: 4.758 MB / 302.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.0004014/0.1739, allocations: 225.5 kB / 357.6 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.1741, allocations: 75.09 kB / 357.6 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000211/0.1743, allocations: 107 kB / 357.7 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.1743, allocations: 12 kB / 357.8 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.1743, allocations: 7.922 kB / 357.8 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.1743, allocations: 8.016 kB / 357.8 MB, free: 4.324 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004423/0.1787, allocations: 2.522 MB / 360.3 MB, free: 1.691 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.1788, allocations: 4 kB / 360.3 MB, free: 1.688 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007755/0.1796, allocations: 176 kB / 360.5 MB, free: 1.516 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001052/0.1806, allocations: 0.6192 MB / 361.1 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.622e-05/0.1807, allocations: 43.95 kB / 361.1 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003622/0.1843, allocations: 3.093 MB / 364.2 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.1844, allocations: 0 / 364.2 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004002/0.1884, allocations: 1.856 MB / 366.1 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004117/0.1888, allocations: 232.1 kB / 366.3 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.189, allocations: 32 kB / 366.3 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.1903, allocations: 207.7 kB / 366.5 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009715/0.1912, allocations: 368.3 kB / 366.9 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.91e-05/0.1913, allocations: 43.95 kB / 366.9 MB, free: 10.78 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003774/0.1917, allocations: 275.1 kB / 367.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.1917, allocations: 0 / 367.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009758/0.1927, allocations: 248 kB / 367.5 MB, free: 10.27 MB / 318.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.0003717/0.1931, allocations: 160.9 kB / 367.6 MB, free: 10.1 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002622/0.1957, allocations: 1.184 MB / 368.8 MB, free: 8.902 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.1957, allocations: 0 / 368.8 MB, free: 8.902 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001601/0.1974, allocations: 0.7781 MB / 369.6 MB, free: 8.109 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009513/0.1983, allocations: 125.4 kB / 369.7 MB, free: 7.988 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004097/0.2024, allocations: 2.272 MB / 372 MB, free: 5.668 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/0.2029, allocations: 0.9361 MB / 372.9 MB, free: 4.699 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003941/0.2033, allocations: 77.44 kB / 373 MB, free: 4.621 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.2035, allocations: 55.42 kB / 373 MB, free: 4.57 MB / 318.1 MB Notification: Performance of SimCode: time 1.193e-06/0.2035, allocations: 0 / 373 MB, free: 4.57 MB / 318.1 MB Notification: Performance of Templates: time 0.2026/0.4061, allocations: 16.08 MB / 389.1 MB, free: 49.86 MB / 318.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)