Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.TestBrush.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.00158/0.00158, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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 1.602/1.602, allocations: 177.1 MB / 199.7 MB, free: 5.789 MB / 186.7 MB " [Timeout remaining time 178] 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.001922/0.001922, allocations: 152.7 kB / 256.3 MB, free: 13.15 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.03804/0.03804, allocations: 6.658 MB / 319.4 MB, free: 26.57 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Electrical.TestBrush,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TestBrush") translateModel(HanserModelica.Electrical.TestBrush,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TestBrush") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 390.9 MB, free: 2.992 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.203e-05/4.443e-05, allocations: 2.312 kB / 390.9 MB, free: 2.988 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.006255/0.0063, allocations: 1.775 MB / 392.7 MB, free: 1.203 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.007955, allocations: 0.4948 MB / 393.2 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.008089, allocations: 0 / 393.2 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 9.691e-05/0.008186, allocations: 15.86 kB / 393.2 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.008349, allocations: 15.8 kB / 393.2 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.00872, allocations: 39.78 kB / 393.2 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.008933, allocations: 83.66 kB / 393.3 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.009131, allocations: 23.97 kB / 393.3 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.009322, allocations: 51.89 kB / 393.4 MB, free: 488 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.009422, allocations: 27.91 kB / 393.4 MB, free: 460 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.009457, allocations: 8 kB / 393.4 MB, free: 452 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.009568, allocations: 19.98 kB / 393.4 MB, free: 432 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.354e-05/0.009611, allocations: 19.92 kB / 393.5 MB, free: 412 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.103e-05/0.009682, allocations: 27.92 kB / 393.5 MB, free: 384 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003399/0.01002, allocations: 107.7 kB / 393.6 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.01003, allocations: 0 / 393.6 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.01003, allocations: 0 / 393.6 MB, free: 276 kB / 314.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.01004, allocations: 0 / 393.6 MB, free: 276 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009175/0.01095, allocations: 318 kB / 393.9 MB, free: 15.93 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.229e-05/0.01102, allocations: 8.031 kB / 393.9 MB, free: 15.92 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.929e-05/0.01111, allocations: 12.89 kB / 393.9 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.01134, allocations: 125.6 kB / 394 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.857e-05/0.01138, allocations: 4.375 kB / 394.1 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.0114, allocations: 8.375 kB / 394.1 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/0.01179, allocations: 86.16 kB / 394.1 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.01181, allocations: 192 / 394.1 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.01182, allocations: 384 / 394.1 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.01184, allocations: 7.938 kB / 394.2 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003511/0.01219, allocations: 67.94 kB / 394.2 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.01319, allocations: 323.4 kB / 394.5 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.01344, allocations: 42.5 kB / 394.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.01359, allocations: 24.91 kB / 394.6 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.159e-05/0.01363, allocations: 7.984 kB / 394.6 MB, free: 15.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.409e-05/0.01369, allocations: 34.55 kB / 394.6 MB, free: 15.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 3.677e-06/0.01369, allocations: 0 / 394.6 MB, free: 15.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0006444/0.01433, allocations: 85.61 kB / 394.7 MB, free: 15.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.97e-05/0.01441, allocations: 59.33 kB / 394.8 MB, free: 14.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.01464, allocations: 129.8 kB / 394.9 MB, free: 14.81 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.01467, allocations: 25.7 kB / 394.9 MB, free: 14.78 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.01481, allocations: 104.1 kB / 395 MB, free: 14.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.01483, allocations: 12.08 kB / 395 MB, free: 14.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.575e-05/0.01489, allocations: 13.72 kB / 395.1 MB, free: 14.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002639/0.01516, allocations: 326.8 kB / 395.4 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.0153, allocations: 15.98 kB / 395.4 MB, free: 14.3 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.01547, allocations: 42.55 kB / 395.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.01576, allocations: 62.48 kB / 395.5 MB, free: 14.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01576, allocations: 0 / 395.5 MB, free: 14.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004322/0.01619, allocations: 85.55 kB / 395.6 MB, free: 14.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/0.01622, allocations: 8 kB / 395.6 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.01624, allocations: 4 kB / 395.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.897e-05/0.01627, allocations: 0 / 395.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.01643, allocations: 15.98 kB / 395.6 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.145e-05/0.01645, allocations: 12.08 kB / 395.6 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.01657, allocations: 11.92 kB / 395.6 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.01658, allocations: 0 / 395.6 MB, free: 14.04 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001697/0.01675, allocations: 113.8 kB / 395.7 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/0.01681, allocations: 7.953 kB / 395.8 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.704e-05/0.01685, allocations: 3.625 kB / 395.8 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.01686, allocations: 7.984 kB / 395.8 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.01687, allocations: 0 / 395.8 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01687, allocations: 3.938 kB / 395.8 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.01718, allocations: 125.2 kB / 395.9 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01718, allocations: 4 kB / 395.9 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.714e-05/0.01728, allocations: 7.984 kB / 395.9 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.01728, allocations: 0 / 395.9 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.0173, allocations: 8 kB / 395.9 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.0173, allocations: 0 / 395.9 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.01731, allocations: 0 / 395.9 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004775/0.01778, allocations: 167.5 kB / 396.1 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.91e-05/0.01781, allocations: 3.953 kB / 396.1 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.01785, allocations: 8.016 kB / 396.1 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.01798, allocations: 4 kB / 396.1 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.854e-05/0.01805, allocations: 11.92 kB / 396.1 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.01806, allocations: 0 / 396.1 MB, free: 13.51 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001227/0.01818, allocations: 95.28 kB / 396.2 MB, free: 13.42 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01818, allocations: 0 / 396.2 MB, free: 13.42 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004653/0.01865, allocations: 27.81 kB / 396.2 MB, free: 13.39 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002633/0.01891, allocations: 103.1 kB / 396.3 MB, free: 13.28 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003611/0.01927, allocations: 47.95 kB / 396.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.01928, allocations: 0 / 396.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.01942, allocations: 23.92 kB / 396.4 MB, free: 13.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005562/0.01997, allocations: 8 kB / 396.4 MB, free: 13.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000641/0.02061, allocations: 159.4 kB / 396.6 MB, free: 13.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.02076, allocations: 83.33 kB / 396.6 MB, free: 12.92 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.952e-05/0.02081, allocations: 0 / 396.6 MB, free: 12.92 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.66e-05/0.02086, allocations: 12.5 kB / 396.6 MB, free: 12.91 MB / 330.7 MB Notification: Performance of SimCode: time 1.363e-06/0.02086, allocations: 0 / 396.6 MB, free: 12.91 MB / 330.7 MB Notification: Performance of Templates: time 0.005502/0.02636, allocations: 0.7624 MB / 397.4 MB, free: 12.16 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.TestBrush.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Electrical.TestBrush.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.TestBrush.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.TestBrush.pipe >> ../files/HanserModelica_HanserModelica.Electrical.TestBrush.sim & ./HanserModelica_HanserModelica.Electrical.TestBrush -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.TestBrush.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4225846050539985]