Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001509/0.001509, allocations: 113.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001807/0.001807, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 59.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2047, allocations: 50.54 MB / 409.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.005368/0.2101, allocations: 4.465 MB / 414.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.2125, allocations: 1.566 MB / 416 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002018/0.2127, allocations: 15.94 kB / 416 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003461/0.2131, allocations: 138.7 kB / 416.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004718/0.2135, allocations: 273.7 kB / 416.4 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007598/0.2143, allocations: 430.8 kB / 416.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009468/0.2153, allocations: 1.166 MB / 418 MB, free: 9.488 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003523/0.2156, allocations: 265.6 kB / 418.2 MB, free: 9.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005555/0.2162, allocations: 0.4946 MB / 418.7 MB, free: 8.719 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005682/0.2168, allocations: 0.5332 MB / 419.3 MB, free: 8.184 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.2169, allocations: 96 kB / 419.4 MB, free: 8.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002923/0.2172, allocations: 164 kB / 419.5 MB, free: 7.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002475/0.2175, allocations: 239.3 kB / 419.7 MB, free: 7.695 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004144/0.2179, allocations: 469.8 kB / 420.2 MB, free: 7.234 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009875/0.2189, allocations: 1.123 MB / 421.3 MB, free: 6.113 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2189, allocations: 0 / 421.3 MB, free: 6.113 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2189, allocations: 0 / 421.3 MB, free: 6.113 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.2189, allocations: 0 / 421.3 MB, free: 6.113 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003128/0.2221, allocations: 1.329 MB / 422.7 MB, free: 4.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.2221, allocations: 8.031 kB / 422.7 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005086/0.2226, allocations: 115.9 kB / 422.8 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006574/0.2233, allocations: 469.5 kB / 423.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.03e-05/0.2234, allocations: 54.31 kB / 423.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.2235, allocations: 80.03 kB / 423.4 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.2252, allocations: 0.7959 MB / 424.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.2252, allocations: 11.91 kB / 424.2 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.758e-05/0.2253, allocations: 32 kB / 424.2 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.2253, allocations: 20 kB / 424.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/0.2274, allocations: 0.8354 MB / 425.1 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00418/0.2316, allocations: 2.404 MB / 427.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.2331, allocations: 0.7204 MB / 428.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009452/0.2341, allocations: 456.3 kB / 428.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-05/0.2342, allocations: 24.97 kB / 428.7 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001122/0.2353, allocations: 0.536 MB / 429.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=90): time 4.679e-06/0.2353, allocations: 0 / 429.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=110): time 0.01101/0.2463, allocations: 4.177 MB / 433.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.2464, allocations: 64.41 kB / 433.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004331/0.2468, allocations: 417.9 kB / 433.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.75e-05/0.2469, allocations: 57.69 kB / 433.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.2471, allocations: 284.9 kB / 434.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002907/0.2474, allocations: 378.8 kB / 434.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003092/0.2477, allocations: 182.8 kB / 434.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.2479, allocations: 378.8 kB / 435.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000989/0.2489, allocations: 414.4 kB / 435.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.2499, allocations: 0.5033 MB / 436 MB, free: 6.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.2516, allocations: 0.7479 MB / 436.7 MB, free: 6.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2516, allocations: 0 / 436.7 MB, free: 6.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003037/0.2546, allocations: 1.295 MB / 438 MB, free: 4.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.2547, allocations: 10.97 kB / 438.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.2547, allocations: 0 / 438.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.2557, allocations: 0.5372 MB / 438.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008118/0.2566, allocations: 207.6 kB / 438.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004106/0.2607, allocations: 3.395 MB / 442.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/0.2618, allocations: 167.9 kB / 442.4 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.599e-05/0.2619, allocations: 39.98 kB / 442.4 MB, free: 360 kB / 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,9), (1,5), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0003263/0.2623, allocations: 233.8 kB / 442.6 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.2624, allocations: 79 kB / 442.7 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.2626, allocations: 107.5 kB / 442.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.2627, allocations: 7.969 kB / 442.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2627, allocations: 3.938 kB / 442.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003446/0.263, allocations: 232.1 kB / 443 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/0.2632, allocations: 28 kB / 443.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/0.2644, allocations: 203.7 kB / 443.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000374/0.2648, allocations: 164.7 kB / 443.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00381/0.2686, allocations: 1.296 MB / 444.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003052/0.2717, allocations: 1.568 MB / 446.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009457/0.2727, allocations: 459.7 kB / 446.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002941/0.273, allocations: 291.1 kB / 447 MB, free: 11.66 MB / 366.1 MB Notification: Performance of Backend: time 4.61e-07/0.273, allocations: 0 / 447 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002988/0.276, allocations: 1.296 MB / 448.3 MB, free: 10.53 MB / 366.1 MB Notification: Performance of SimCode: time 0.002541/0.2785, allocations: 2.184 MB / 450.5 MB, free: 8.301 MB / 366.1 MB Notification: Performance of Templates: time 0.02412/0.3027, allocations: 17.17 MB / 467.7 MB, free: 7.195 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1)