Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008866/0.0008866, allocations: 81.53 kB / 20.8 MB, free: 3.66 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 169 kB / 24.23 MB, free: 244 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9937/0.9937, allocations: 177.1 MB / 204.7 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo): time 0.007244/0.007244, allocations: 1.199 MB / 262.4 MB, free: 11.73 MB / 250.7 MB " [Timeout remaining time 180] Using package ElectricBraking with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ElectricBraking.Examples.Translational.MechanicalBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking") translateModel(ElectricBraking.Examples.Translational.MechanicalBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/2.984e-05, allocations: 6.25 kB / 279.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.MechanicalBraking): time 0.003521/0.003551, allocations: 2.534 MB / 281.9 MB, free: 8.207 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.005038, allocations: 0.9582 MB / 282.8 MB, free: 7.242 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.005159, allocations: 0 / 282.8 MB, free: 7.242 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003328/0.005492, allocations: 91.27 kB / 282.9 MB, free: 7.152 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.005717, allocations: 119.1 kB / 283 MB, free: 7.035 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.005934, allocations: 115.8 kB / 283.1 MB, free: 6.922 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003028/0.006237, allocations: 367.3 kB / 283.5 MB, free: 6.562 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.006347, allocations: 51.14 kB / 283.5 MB, free: 6.512 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000292/0.006639, allocations: 211.5 kB / 283.8 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.006811, allocations: 143.6 kB / 283.9 MB, free: 6.164 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.31e-05/0.006854, allocations: 31.94 kB / 283.9 MB, free: 6.133 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.006964, allocations: 75.92 kB / 284 MB, free: 6.059 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.525e-05/0.007059, allocations: 79.72 kB / 284.1 MB, free: 5.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.36e-05/0.007133, allocations: 91.75 kB / 284.2 MB, free: 5.891 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003611/0.007494, allocations: 299 kB / 284.5 MB, free: 5.598 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.007496, allocations: 4 kB / 284.5 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.007497, allocations: 0 / 284.5 MB, free: 5.594 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.007503, allocations: 0 / 284.5 MB, free: 5.594 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005837/0.008087, allocations: 0.4919 MB / 285 MB, free: 5.078 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.008126, allocations: 8.031 kB / 285 MB, free: 5.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.835e-05/0.008184, allocations: 40.91 kB / 285 MB, free: 5.031 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.008422, allocations: 205.8 kB / 285.2 MB, free: 4.801 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.008447, allocations: 16.81 kB / 285.2 MB, free: 4.785 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.624e-05/0.008483, allocations: 24.38 kB / 285.2 MB, free: 4.762 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.008732, allocations: 216.1 kB / 285.5 MB, free: 4.535 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.008748, allocations: 8.141 kB / 285.5 MB, free: 4.527 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.008769, allocations: 12.36 kB / 285.5 MB, free: 4.516 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.008778, allocations: 7.938 kB / 285.5 MB, free: 4.508 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.008942, allocations: 109.4 kB / 285.6 MB, free: 4.398 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007762/0.009718, allocations: 0.6481 MB / 286.2 MB, free: 3.715 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.009903, allocations: 106.5 kB / 286.3 MB, free: 3.602 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.903e-05/0.009962, allocations: 44.84 kB / 286.4 MB, free: 3.555 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.009988, allocations: 11.94 kB / 286.4 MB, free: 3.543 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.01002, allocations: 38.56 kB / 286.4 MB, free: 3.496 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 8.42e-07/0.01002, allocations: 0 / 286.4 MB, free: 3.496 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.001261/0.01128, allocations: 0.6944 MB / 287.1 MB, free: 2.746 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.01132, allocations: 55.41 kB / 287.2 MB, free: 2.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.01151, allocations: 222.6 kB / 287.4 MB, free: 2.449 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.01154, allocations: 33.7 kB / 287.4 MB, free: 2.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.278e-05/0.01163, allocations: 144.7 kB / 287.6 MB, free: 2.266 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.422e-05/0.0117, allocations: 91.23 kB / 287.7 MB, free: 2.176 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.453e-05/0.01178, allocations: 61.64 kB / 287.7 MB, free: 2.109 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002709/0.01205, allocations: 334.8 kB / 288.1 MB, free: 1.773 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.448e-05/0.01213, allocations: 43.92 kB / 288.1 MB, free: 1.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.01224, allocations: 123.6 kB / 288.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.01242, allocations: 167.7 kB / 288.4 MB, free: 1.391 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.01242, allocations: 0 / 288.4 MB, free: 1.391 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003395/0.01276, allocations: 219.6 kB / 288.6 MB, free: 1.168 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.01278, allocations: 8.156 kB / 288.6 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.01279, allocations: 8 kB / 288.6 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002769/0.01307, allocations: 124.8 kB / 288.7 MB, free: 1.027 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.01321, allocations: 55.91 kB / 288.8 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004594/0.01367, allocations: 0.5851 MB / 289.4 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.01379, allocations: 27.97 kB / 289.4 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.01381, allocations: 8 kB / 289.4 MB, free: 332 kB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.01393, allocations: 136.5 kB / 289.5 MB, free: 184 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.01397, allocations: 19.98 kB / 289.6 MB, free: 164 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.267e-05/0.01402, allocations: 38.27 kB / 289.6 MB, free: 120 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01403, allocations: 4.031 kB / 289.6 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.01403, allocations: 0 / 289.6 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.01404, allocations: 0 / 289.6 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.183/0.197, allocations: 490 kB / 290.1 MB, free: 24.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.197, allocations: 1.562 kB / 290.1 MB, free: 24.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.1971, allocations: 42.2 kB / 290.1 MB, free: 24.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002345/0.1974, allocations: 121.5 kB / 290.2 MB, free: 24.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.1974, allocations: 8.812 kB / 290.2 MB, free: 24.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002994/0.1977, allocations: 0.5878 MB / 290.8 MB, free: 23.63 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1977, allocations: 1.344 kB / 290.8 MB, free: 23.63 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004792/0.1982, allocations: 368.5 kB / 291.2 MB, free: 23.47 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.002e-05/0.1983, allocations: 32.84 kB / 291.2 MB, free: 23.47 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.1983, allocations: 13.09 kB / 291.2 MB, free: 23.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.011e-05/0.1984, allocations: 15.91 kB / 291.3 MB, free: 23.47 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.1985, allocations: 43.94 kB / 291.3 MB, free: 23.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.1985, allocations: 12.25 kB / 291.3 MB, free: 23.47 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001087/0.1986, allocations: 72.92 kB / 291.4 MB, free: 23.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1986, allocations: 0 / 291.4 MB, free: 23.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004099/0.199, allocations: 64.91 kB / 291.4 MB, free: 23.46 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (massLoad.s,massLoad.v,integrator.y,heatCapacitor.T) * Number of discrete variables: 5 (brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode) * Number of discrete states: 3 (brake.mode,brake.startForward,brake.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001179/0.2002, allocations: 465.9 kB / 291.9 MB, free: 23.37 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003639/0.2006, allocations: 166.9 kB / 292.1 MB, free: 23.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/0.2006, allocations: 6.406 kB / 292.1 MB, free: 23.36 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.2007, allocations: 93.11 kB / 292.2 MB, free: 23.35 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.201, allocations: 55.28 kB / 292.2 MB, free: 23.35 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.2023, allocations: 0.6496 MB / 292.9 MB, free: 23.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.426e-05/0.2024, allocations: 90.28 kB / 293 MB, free: 22.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.836e-05/0.2025, allocations: 24.19 kB / 293 MB, free: 22.97 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.2026, allocations: 96.41 kB / 293.1 MB, free: 22.92 MB / 266.7 MB Notification: Performance of SimCode: time 1.363e-06/0.2026, allocations: 1.375 kB / 293.1 MB, free: 22.92 MB / 266.7 MB Notification: Performance of Templates: time 0.01064/0.2133, allocations: 5.044 MB / 298.1 MB, free: 22.14 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking.sim & ./ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.962167277932167]