Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=4000,variableFilter="time|damper.s_rel|damper.v_rel|massWithStopAndFriction.s|massWithStopAndFriction.v|springDamper.s_rel|springDamper.v_rel|springDamper1.s_rel|springDamper1.v_rel|brake.mode|brake.startBackward|brake.startForward|massWithStopAndFriction.mode|massWithStopAndFriction.startBackward|massWithStopAndFriction.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses") translateModel(Modelica.Mechanics.Translational.Examples.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|damper.s_rel|damper.v_rel|massWithStopAndFriction.s|massWithStopAndFriction.v|springDamper.s_rel|springDamper.v_rel|springDamper1.s_rel|springDamper1.v_rel|brake.mode|brake.startBackward|brake.startForward|massWithStopAndFriction.mode|massWithStopAndFriction.startBackward|massWithStopAndFriction.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_4.0.0_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.001244/0.001244, allocations: 110.3 kB / 17.74 MB, free: 5.336 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.00125/0.00125, allocations: 185.4 kB / 18.67 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000951/0.000951, allocations: 39.94 kB / 352 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2143, allocations: 49.44 MB / 401.4 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.004885/0.2192, allocations: 4.298 MB / 405.7 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.2214, allocations: 1.383 MB / 407.1 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002057/0.2216, allocations: 11.94 kB / 407.1 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002722/0.2219, allocations: 114.8 kB / 407.2 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003555/0.2223, allocations: 238 kB / 407.4 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008592/0.2231, allocations: 425.2 kB / 407.9 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009208/0.2241, allocations: 1.127 MB / 409 MB, free: 1.277 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00035/0.2244, allocations: 265.6 kB / 409.2 MB, free: 1 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005171/0.225, allocations: 494.5 kB / 409.7 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005337/0.2255, allocations: 0.5098 MB / 410.2 MB, free: 4 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.2257, allocations: 92.05 kB / 410.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002768/0.2259, allocations: 151.8 kB / 410.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002152/0.2262, allocations: 223.3 kB / 410.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003915/0.2266, allocations: 442 kB / 411.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009391/0.2275, allocations: 1.072 MB / 412.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2275, allocations: 3.938 kB / 412.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2275, allocations: 0 / 412.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.2276, allocations: 0 / 412.2 MB, free: 14.04 MB / 334.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.003228/0.2308, allocations: 1.29 MB / 413.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2308, allocations: 11.89 kB / 413.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/0.2311, allocations: 87.91 kB / 413.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006117/0.2317, allocations: 457.5 kB / 414 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.208e-05/0.2317, allocations: 50.38 kB / 414.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.2319, allocations: 68.38 kB / 414.1 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.2336, allocations: 0.8077 MB / 415 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/0.2336, allocations: 7.906 kB / 415 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.016e-05/0.2337, allocations: 27.98 kB / 415 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.2337, allocations: 16 kB / 415 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/0.2358, allocations: 0.8705 MB / 415.9 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004264/0.24, allocations: 2.369 MB / 418.2 MB, free: 7.766 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.2416, allocations: 0.7151 MB / 419 MB, free: 7.039 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009744/0.2426, allocations: 468.2 kB / 419.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.842e-05/0.2426, allocations: 20.97 kB / 419.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001165/0.2438, allocations: 0.5439 MB / 420 MB, free: 6.004 MB / 334.1 MB Notification: Performance of pre-optimization done (n=86): time 2.695e-06/0.2438, allocations: 0 / 420 MB, free: 6.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=106): time 0.01097/0.2548, allocations: 4.226 MB / 424.2 MB, free: 1.648 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.2548, allocations: 60.41 kB / 424.3 MB, free: 1.578 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003876/0.2552, allocations: 397.9 kB / 424.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.123e-05/0.2553, allocations: 49.7 kB / 424.7 MB, free: 1.129 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.2555, allocations: 276.9 kB / 425 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/0.2558, allocations: 358.9 kB / 425.3 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002932/0.2561, allocations: 186.8 kB / 425.5 MB, free: 312 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.2562, allocations: 370.8 kB / 425.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.2572, allocations: 442.4 kB / 426.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.2583, allocations: 0.5305 MB / 426.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/0.26, allocations: 0.783 MB / 427.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.26, allocations: 0 / 427.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003098/0.2631, allocations: 1.358 MB / 429 MB, free: 12.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.2632, allocations: 4 kB / 429 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.2632, allocations: 4 kB / 429 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/0.2643, allocations: 0.6426 MB / 429.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008404/0.2652, allocations: 199.7 kB / 429.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003974/0.2692, allocations: 3.438 MB / 433.3 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.2704, allocations: 179.9 kB / 433.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.919e-05/0.2705, allocations: 39.92 kB / 433.5 MB, free: 8.082 MB / 350.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.0003619/0.2709, allocations: 217.7 kB / 433.7 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.271, allocations: 71.16 kB / 433.8 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.2713, allocations: 111 kB / 433.9 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.2713, allocations: 3.984 kB / 433.9 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2713, allocations: 3.938 kB / 433.9 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003309/0.2716, allocations: 232.1 kB / 434.1 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.2718, allocations: 28 kB / 434.1 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/0.2732, allocations: 203.7 kB / 434.3 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003414/0.2735, allocations: 172.7 kB / 434.5 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003885/0.2774, allocations: 1.316 MB / 435.8 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003236/0.2807, allocations: 1.624 MB / 437.4 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009927/0.2817, allocations: 475.7 kB / 437.9 MB, free: 3.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002698/0.282, allocations: 271.2 kB / 438.2 MB, free: 3.332 MB / 350.1 MB Notification: Performance of Backend: time 4.01e-07/0.282, allocations: 0 / 438.2 MB, free: 3.332 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002172/0.2841, allocations: 0.9182 MB / 439.1 MB, free: 2.391 MB / 350.1 MB Notification: Performance of SimCode: time 0.002476/0.2866, allocations: 2.12 MB / 441.2 MB, free: 228 kB / 350.1 MB Notification: Performance of Templates: time 0.02383/0.3105, allocations: 16.7 MB / 457.9 MB, free: 15.57 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1)