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.001067/0.001067, allocations: 115.2 kB / 18.46 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00108/0.00108, allocations: 206.7 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 67.88 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2253, allocations: 50.54 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.005392/0.2307, allocations: 4.461 MB / 414.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002702/0.2335, allocations: 1.574 MB / 416 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003914/0.2339, allocations: 11.94 kB / 416 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004233/0.2343, allocations: 134.7 kB / 416.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000657/0.235, allocations: 281.7 kB / 416.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009053/0.2359, allocations: 430.7 kB / 416.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001144/0.2371, allocations: 1.166 MB / 418 MB, free: 9.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003709/0.2374, allocations: 269.7 kB / 418.2 MB, free: 9.254 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007016/0.2382, allocations: 0.4985 MB / 418.7 MB, free: 8.754 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005744/0.2387, allocations: 0.5332 MB / 419.3 MB, free: 8.219 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.2389, allocations: 96 kB / 419.4 MB, free: 8.125 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003161/0.2392, allocations: 171.9 kB / 419.5 MB, free: 7.957 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002373/0.2395, allocations: 231.3 kB / 419.8 MB, free: 7.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004009/0.2399, allocations: 469.8 kB / 420.2 MB, free: 7.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.2409, allocations: 1.124 MB / 421.3 MB, free: 6.145 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2409, allocations: 0 / 421.3 MB, free: 6.145 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.241, allocations: 0 / 421.3 MB, free: 6.145 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.241, allocations: 0 / 421.3 MB, free: 6.145 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.00306/0.244, allocations: 1.356 MB / 422.7 MB, free: 4.734 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.2441, allocations: 8.031 kB / 422.7 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004924/0.2446, allocations: 116.3 kB / 422.8 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006356/0.2452, allocations: 477.8 kB / 423.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.076e-05/0.2453, allocations: 54.38 kB / 423.3 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.2454, allocations: 76.12 kB / 423.4 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.247, allocations: 0.7998 MB / 424.2 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/0.2471, allocations: 3.953 kB / 424.2 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.163e-05/0.2471, allocations: 32 kB / 424.3 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.2472, allocations: 16 kB / 424.3 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/0.2491, allocations: 0.8393 MB / 425.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004203/0.2534, allocations: 2.412 MB / 427.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.2549, allocations: 0.7204 MB / 428.2 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009242/0.2558, allocations: 460.3 kB / 428.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.773e-05/0.2559, allocations: 9 kB / 428.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001109/0.257, allocations: 0.5437 MB / 429.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=90): time 2.274e-06/0.257, allocations: 0 / 429.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=110): time 0.01089/0.2679, allocations: 4.186 MB / 433.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.268, allocations: 64.41 kB / 433.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004319/0.2684, allocations: 417.9 kB / 433.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.249e-05/0.2685, allocations: 57.69 kB / 434 MB, free: 9.117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.2687, allocations: 289.5 kB / 434.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002851/0.269, allocations: 388.7 kB / 434.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003204/0.2693, allocations: 190.8 kB / 434.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.2695, allocations: 378.8 kB / 435.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009593/0.2705, allocations: 414.4 kB / 435.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.2715, allocations: 0.5111 MB / 436.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001618/0.2731, allocations: 0.7479 MB / 436.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2731, allocations: 0 / 436.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002975/0.2761, allocations: 1.296 MB / 438.1 MB, free: 4.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.2761, allocations: 4 kB / 438.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2761, allocations: 7.938 kB / 438.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.2772, allocations: 0.5295 MB / 438.7 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007996/0.278, allocations: 203.6 kB / 438.9 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003923/0.282, allocations: 3.403 MB / 442.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.2831, allocations: 175.9 kB / 442.4 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.073e-05/0.2832, allocations: 35.98 kB / 442.5 MB, free: 316 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.0003142/0.2835, allocations: 225.6 kB / 442.7 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.2837, allocations: 79.47 kB / 442.8 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002514/0.2839, allocations: 103.2 kB / 442.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.2839, allocations: 11.97 kB / 442.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2839, allocations: 0 / 442.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/0.2843, allocations: 236.5 kB / 443.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.2844, allocations: 32.12 kB / 443.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/0.2857, allocations: 199.7 kB / 443.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003592/0.286, allocations: 172.7 kB / 443.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003777/0.2898, allocations: 1.292 MB / 444.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003044/0.2929, allocations: 1.576 MB / 446.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009365/0.2938, allocations: 459.8 kB / 446.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002882/0.2941, allocations: 283.1 kB / 447.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of Backend: time 4.91e-07/0.2941, allocations: 4 kB / 447.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003037/0.2972, allocations: 1.306 MB / 448.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of SimCode: time 0.002539/0.2997, allocations: 2.23 MB / 450.7 MB, free: 8.207 MB / 366.1 MB Notification: Performance of Templates: time 0.02578/0.3255, allocations: 17.15 MB / 467.8 MB, free: 7.113 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)