Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="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_3.2.3_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_3.2.3_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.00104/0.00104, allocations: 111.2 kB / 18.41 MB, free: 4.562 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.001008/0.001008, allocations: 187.3 kB / 19.33 MB, free: 3.648 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.237/1.237, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001151/0.001151, allocations: 51.92 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07281/0.07397, allocations: 46.61 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.004777/0.07878, allocations: 4.318 MB / 380.1 MB, free: 244 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1501/0.2289, allocations: 1.326 MB / 381.5 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004569/0.2294, allocations: 12.09 kB / 381.5 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000361/0.2298, allocations: 117.5 kB / 381.6 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005205/0.2304, allocations: 227.5 kB / 381.8 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.2315, allocations: 431.2 kB / 382.2 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00117/0.2327, allocations: 1.138 MB / 383.4 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003965/0.2331, allocations: 262.7 kB / 383.6 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007852/0.2339, allocations: 482.8 kB / 384.1 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00071/0.2346, allocations: 0.5235 MB / 384.6 MB, free: 9.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002204/0.2348, allocations: 92.25 kB / 384.7 MB, free: 9.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003782/0.2352, allocations: 147.9 kB / 384.9 MB, free: 9.012 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.2354, allocations: 225.9 kB / 385.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000518/0.236, allocations: 446.1 kB / 385.5 MB, free: 8.625 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.2371, allocations: 1.058 MB / 386.6 MB, free: 8.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2371, allocations: 1.438 kB / 386.6 MB, free: 8.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2371, allocations: 0 / 386.6 MB, free: 8.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.375e-05/0.2372, allocations: 0 / 386.6 MB, free: 8.25 MB / 318.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.003691/0.2408, allocations: 1.29 MB / 387.9 MB, free: 7.504 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.2409, allocations: 8.469 kB / 387.9 MB, free: 7.504 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002981/0.2412, allocations: 85.09 kB / 388 MB, free: 7.465 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007337/0.2419, allocations: 454.5 kB / 388.4 MB, free: 7.121 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.977e-05/0.242, allocations: 54.22 kB / 388.5 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.2422, allocations: 76.58 kB / 388.5 MB, free: 7.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.2439, allocations: 0.8111 MB / 389.3 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.244, allocations: 6.078 kB / 389.3 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.981e-05/0.2441, allocations: 25.75 kB / 389.4 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.2441, allocations: 19.31 kB / 389.4 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/0.2461, allocations: 0.8652 MB / 390.3 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004177/0.2503, allocations: 2.374 MB / 392.6 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.2518, allocations: 0.7141 MB / 393.3 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009385/0.2527, allocations: 470.6 kB / 393.8 MB, free: 4.703 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.648e-05/0.2528, allocations: 13.34 kB / 393.8 MB, free: 4.703 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001154/0.254, allocations: 0.5486 MB / 394.4 MB, free: 4.492 MB / 318.1 MB Notification: Performance of pre-optimization done (n=86): time 2.425e-06/0.254, allocations: 0 / 394.4 MB, free: 4.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=106): time 0.01071/0.2647, allocations: 4.23 MB / 398.6 MB, free: 2.531 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.099e-05/0.2647, allocations: 62.88 kB / 398.7 MB, free: 2.469 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/0.2651, allocations: 390.6 kB / 399 MB, free: 2.266 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.236e-05/0.2652, allocations: 58.12 kB / 399.1 MB, free: 2.211 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.2653, allocations: 274.8 kB / 399.4 MB, free: 1.965 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.2655, allocations: 356.7 kB / 399.7 MB, free: 1.664 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002882/0.2658, allocations: 190 kB / 399.9 MB, free: 1.543 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.05e-05/0.2659, allocations: 373 kB / 400.3 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009534/0.2669, allocations: 436.6 kB / 400.7 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000996/0.2679, allocations: 0.5317 MB / 401.2 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/0.2695, allocations: 0.7838 MB / 402 MB, free: 280 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2695, allocations: 0 / 402 MB, free: 280 kB / 318.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003068/0.2726, allocations: 1.355 MB / 403.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2726, allocations: 6.25 kB / 403.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.2726, allocations: 5.469 kB / 403.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.2738, allocations: 0.6461 MB / 404 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008255/0.2746, allocations: 208.4 kB / 404.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004/0.2786, allocations: 3.438 MB / 407.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.2798, allocations: 172.7 kB / 407.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.291e-05/0.2799, allocations: 36.83 kB / 407.9 MB, free: 12.04 MB / 334.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.000337/0.2803, allocations: 235 kB / 408.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.2804, allocations: 70.44 kB / 408.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.2807, allocations: 99.86 kB / 408.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.2807, allocations: 7.969 kB / 408.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2807, allocations: 0 / 408.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003361/0.281, allocations: 229.8 kB / 408.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.2812, allocations: 29.72 kB / 408.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.2825, allocations: 208.5 kB / 408.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003355/0.2829, allocations: 161.4 kB / 408.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003875/0.2868, allocations: 1.33 MB / 410.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003262/0.29, allocations: 1.622 MB / 411.8 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001017/0.2911, allocations: 474.7 kB / 412.3 MB, free: 9.453 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002725/0.2914, allocations: 270.1 kB / 412.6 MB, free: 9.285 MB / 334.1 MB Notification: Performance of Backend: time 3.41e-07/0.2914, allocations: 0 / 412.6 MB, free: 9.285 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002093/0.2935, allocations: 0.929 MB / 413.5 MB, free: 8.492 MB / 334.1 MB Notification: Performance of SimCode: time 0.002718/0.2962, allocations: 2.102 MB / 415.6 MB, free: 6.348 MB / 334.1 MB Notification: Performance of Templates: time 0.02464/0.3208, allocations: 16.71 MB / 432.3 MB, free: 5.637 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1)