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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 225.6 MB / 246.2 MB, free: 13.59 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 196.3 kB / 301.4 MB, free: 9.105 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0416/0.0416, allocations: 8.933 MB / 365.5 MB, free: 9.234 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(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 0.00238/0.00238, allocations: 80.48 kB / 489.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1301, allocations: 54.42 MB / 0.531 GB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.00344/0.1336, allocations: 1.787 MB / 0.5328 GB, free: 12.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1346, allocations: 0.4957 MB / 0.5332 GB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.439e-05/0.1347, allocations: 4 kB / 0.5333 GB, free: 12.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.021e-05/0.1347, allocations: 11.86 kB / 0.5333 GB, free: 12.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.359e-05/0.1348, allocations: 19.84 kB / 0.5333 GB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.1351, allocations: 31.91 kB / 0.5333 GB, free: 12.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.1352, allocations: 83.66 kB / 0.5334 GB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.1353, allocations: 27.97 kB / 0.5334 GB, free: 12.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.645e-05/0.1354, allocations: 39.86 kB / 0.5335 GB, free: 12.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.161e-05/0.1355, allocations: 39.78 kB / 0.5335 GB, free: 12.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.1355, allocations: 8 kB / 0.5335 GB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.268e-05/0.1356, allocations: 19.98 kB / 0.5335 GB, free: 12.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.384e-05/0.1356, allocations: 15.94 kB / 0.5335 GB, free: 12.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.432e-05/0.1357, allocations: 39.8 kB / 0.5336 GB, free: 12.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.1359, allocations: 95.61 kB / 0.5337 GB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1359, allocations: 0 / 0.5337 GB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1359, allocations: 4 kB / 0.5337 GB, free: 12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1359, allocations: 0 / 0.5337 GB, free: 12 MB / 350.1 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.0006049/0.1365, allocations: 399 kB / 0.5341 GB, free: 11.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1366, allocations: 12.03 kB / 0.5341 GB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.1366, allocations: 8.891 kB / 0.5341 GB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.1368, allocations: 184.2 kB / 0.5342 GB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.1368, allocations: 4.375 kB / 0.5343 GB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.1368, allocations: 8.375 kB / 0.5343 GB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.1371, allocations: 85.97 kB / 0.5343 GB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1371, allocations: 7.984 kB / 0.5343 GB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.1371, allocations: 0 / 0.5343 GB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1371, allocations: 0 / 0.5343 GB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/0.1373, allocations: 71.83 kB / 0.5344 GB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006951/0.138, allocations: 399.5 kB / 0.5348 GB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.1382, allocations: 38.56 kB / 0.5348 GB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.259e-05/0.1382, allocations: 24.91 kB / 0.5349 GB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.1383, allocations: 0 / 0.5349 GB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.1383, allocations: 30.56 kB / 0.5349 GB, free: 10.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1383, allocations: 0 / 0.5349 GB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003737/0.1387, allocations: 101.5 kB / 0.535 GB, free: 10.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.1387, allocations: 51.41 kB / 0.535 GB, free: 10.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.1388, allocations: 121.8 kB / 0.5351 GB, free: 10.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.1389, allocations: 29.7 kB / 0.5352 GB, free: 10.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.464e-05/0.139, allocations: 112.1 kB / 0.5353 GB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.696e-06/0.139, allocations: 3.953 kB / 0.5353 GB, free: 10.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.139, allocations: 21.84 kB / 0.5353 GB, free: 10.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1392, allocations: 314.8 kB / 0.5356 GB, free: 9.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.072e-05/0.1393, allocations: 23.98 kB / 0.5356 GB, free: 9.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.626e-05/0.1393, allocations: 38.55 kB / 0.5357 GB, free: 9.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.1396, allocations: 70.48 kB / 0.5357 GB, free: 9.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1396, allocations: 0 / 0.5357 GB, free: 9.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002416/0.1398, allocations: 85.53 kB / 0.5358 GB, free: 9.555 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1398, allocations: 8 kB / 0.5358 GB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1398, allocations: 96 / 0.5358 GB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1399, allocations: 7.938 kB / 0.5358 GB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.286e-05/0.1399, allocations: 11.98 kB / 0.5358 GB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.14, allocations: 4 kB / 0.5358 GB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.189e-05/0.14, allocations: 11.94 kB / 0.5359 GB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-06/0.14, allocations: 0 / 0.5359 GB, free: 9.512 MB / 350.1 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.0001013/0.1401, allocations: 121.7 kB / 0.536 GB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.1402, allocations: 4 kB / 0.536 GB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.1402, allocations: 11.47 kB / 0.536 GB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1402, allocations: 4 kB / 0.536 GB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.1402, allocations: 7.938 kB / 0.536 GB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1402, allocations: 3.984 kB / 0.536 GB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.1404, allocations: 185.5 kB / 0.5362 GB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1404, allocations: 0 / 0.5362 GB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.202e-05/0.1405, allocations: 8 kB / 0.5362 GB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1405, allocations: 0 / 0.5362 GB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.1405, allocations: 3.938 kB / 0.5362 GB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1405, allocations: 3.984 kB / 0.5362 GB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1405, allocations: 0 / 0.5362 GB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.1408, allocations: 167.5 kB / 0.5364 GB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.1408, allocations: 85.05 kB / 0.5364 GB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.1408, allocations: 3.938 kB / 0.5364 GB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.826e-05/0.1409, allocations: 4 kB / 0.5364 GB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.1409, allocations: 11.98 kB / 0.5365 GB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.1409, allocations: 4.031 kB / 0.5365 GB, free: 8.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.479e-05/0.141, allocations: 95.7 kB / 0.5366 GB, free: 8.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.141, allocations: 0 / 0.5366 GB, free: 8.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.1413, allocations: 15.94 kB / 0.5366 GB, free: 8.688 MB / 350.1 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.0001406/0.1414, allocations: 99.52 kB / 0.5367 GB, free: 8.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.1416, allocations: 43.95 kB / 0.5367 GB, free: 8.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1416, allocations: 8.188 kB / 0.5367 GB, free: 8.531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.899e-05/0.1417, allocations: 23.92 kB / 0.5367 GB, free: 8.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.142, allocations: 24 kB / 0.5368 GB, free: 8.484 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003934/0.1424, allocations: 154.8 kB / 0.5369 GB, free: 8.305 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.1429, allocations: 0.6922 MB / 0.5376 GB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.175e-05/0.1429, allocations: 12.05 kB / 0.5376 GB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.097e-05/0.1429, allocations: 11.38 kB / 0.5376 GB, free: 7.566 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1429, allocations: 0 / 0.5376 GB, free: 7.566 MB / 350.1 MB Notification: Performance of Templates: time 0.003436/0.1463, allocations: 0.7004 MB / 0.5383 GB, free: 6.871 MB / 350.1 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: 4.946350100450218]