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.001673/0.001673, allocations: 114.5 kB / 18.94 MB, free: 2.957 MB / 14.72 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.513/1.513, allocations: 230.6 MB / 252.6 MB, free: 8.309 MB / 206.1 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.001747/0.001747, allocations: 218.3 kB / 309.2 MB, free: 3.145 MB / 238.1 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.04361/0.04361, allocations: 8.914 MB / 374.6 MB, free: 1.906 MB / 302.1 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002624/0.002624, allocations: 87.86 kB / 0.4897 GB, free: 6.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3785, allocations: 55.6 MB / 0.544 GB, free: 27.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.003049/0.3815, allocations: 1.814 MB / 0.5457 GB, free: 25.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009401/0.3825, allocations: 0.5274 MB / 0.5463 GB, free: 25.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.134e-05/0.3825, allocations: 3.281 kB / 0.5463 GB, free: 25.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.837e-05/0.3826, allocations: 11.3 kB / 0.5463 GB, free: 25.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.3827, allocations: 22.58 kB / 0.5463 GB, free: 25.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.3829, allocations: 36.55 kB / 0.5463 GB, free: 25.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.3831, allocations: 85.64 kB / 0.5464 GB, free: 25.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.3832, allocations: 28.95 kB / 0.5464 GB, free: 25.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.802e-05/0.3833, allocations: 31.95 kB / 0.5465 GB, free: 25.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.437e-05/0.3834, allocations: 40.23 kB / 0.5465 GB, free: 25.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.3834, allocations: 6.75 kB / 0.5465 GB, free: 25.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.372e-05/0.3834, allocations: 23.36 kB / 0.5465 GB, free: 25.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/0.3835, allocations: 19.3 kB / 0.5466 GB, free: 25.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.147e-05/0.3835, allocations: 40.22 kB / 0.5466 GB, free: 25.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.3837, allocations: 94.83 kB / 0.5467 GB, free: 25.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3837, allocations: 0 / 0.5467 GB, free: 25.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3837, allocations: 0 / 0.5467 GB, free: 25.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.3837, allocations: 0 / 0.5467 GB, free: 25.22 MB / 382.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.000513/0.3842, allocations: 323.9 kB / 0.547 GB, free: 24.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3842, allocations: 9.719 kB / 0.547 GB, free: 24.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.3843, allocations: 11.05 kB / 0.547 GB, free: 24.92 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.3844, allocations: 123.8 kB / 0.5471 GB, free: 24.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.3844, allocations: 384 / 0.5471 GB, free: 24.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.3844, allocations: 18.2 kB / 0.5471 GB, free: 24.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.3846, allocations: 93.48 kB / 0.5472 GB, free: 24.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3847, allocations: 0 / 0.5472 GB, free: 24.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.3847, allocations: 0 / 0.5472 GB, free: 24.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3847, allocations: 11.12 kB / 0.5472 GB, free: 24.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.3849, allocations: 61.45 kB / 0.5473 GB, free: 24.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005422/0.3854, allocations: 361.9 kB / 0.5476 GB, free: 24.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.3855, allocations: 45.97 kB / 0.5477 GB, free: 24.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.561e-05/0.3856, allocations: 25.27 kB / 0.5477 GB, free: 24.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.3856, allocations: 0 / 0.5477 GB, free: 24.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.3857, allocations: 34.56 kB / 0.5477 GB, free: 24.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.3857, allocations: 0 / 0.5477 GB, free: 24.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003418/0.386, allocations: 98.23 kB / 0.5478 GB, free: 24.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.386, allocations: 57.75 kB / 0.5479 GB, free: 24.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.436e-05/0.3861, allocations: 121.4 kB / 0.548 GB, free: 24.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.3861, allocations: 25.7 kB / 0.548 GB, free: 24.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/0.3862, allocations: 102.1 kB / 0.5481 GB, free: 23.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.606e-06/0.3862, allocations: 9.828 kB / 0.5481 GB, free: 23.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/0.3862, allocations: 16.56 kB / 0.5482 GB, free: 23.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.125e-05/0.3862, allocations: 320.2 kB / 0.5485 GB, free: 23.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.234e-05/0.3863, allocations: 25 kB / 0.5485 GB, free: 23.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.213e-05/0.3864, allocations: 33.92 kB / 0.5485 GB, free: 23.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.3866, allocations: 64.28 kB / 0.5486 GB, free: 23.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3866, allocations: 3.938 kB / 0.5486 GB, free: 23.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001953/0.3868, allocations: 87.75 kB / 0.5487 GB, free: 23.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3868, allocations: 5.969 kB / 0.5487 GB, free: 23.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3868, allocations: 0 / 0.5487 GB, free: 23.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.3868, allocations: 6.781 kB / 0.5487 GB, free: 23.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.136e-05/0.3869, allocations: 16.47 kB / 0.5487 GB, free: 23.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3869, allocations: 0 / 0.5487 GB, free: 23.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.796e-05/0.387, allocations: 9.734 kB / 0.5487 GB, free: 23.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.387, allocations: 0 / 0.5487 GB, free: 23.46 MB / 382.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 5.884e-05/0.387, allocations: 120.9 kB / 0.5488 GB, free: 23.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.387, allocations: 6.859 kB / 0.5488 GB, free: 23.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.3871, allocations: 10.56 kB / 0.5488 GB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3871, allocations: 3.141 kB / 0.5488 GB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3871, allocations: 0 / 0.5488 GB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3871, allocations: 4 kB / 0.5488 GB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.3872, allocations: 151.1 kB / 0.549 GB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3872, allocations: 4 kB / 0.549 GB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.84e-05/0.3873, allocations: 9.156 kB / 0.549 GB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3873, allocations: 0 / 0.549 GB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.3873, allocations: 11 kB / 0.549 GB, free: 23.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.3873, allocations: 0 / 0.549 GB, free: 23.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3873, allocations: 0 / 0.549 GB, free: 23.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.3875, allocations: 166.1 kB / 0.5492 GB, free: 23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.327e-05/0.3875, allocations: 11.27 kB / 0.5492 GB, free: 22.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.3875, allocations: 3.938 kB / 0.5492 GB, free: 22.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.747e-05/0.3876, allocations: 6.594 kB / 0.5492 GB, free: 22.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.033e-05/0.3877, allocations: 7.156 kB / 0.5492 GB, free: 22.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.3877, allocations: 0 / 0.5492 GB, free: 22.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.855e-05/0.3877, allocations: 92.34 kB / 0.5493 GB, free: 22.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3877, allocations: 4.031 kB / 0.5493 GB, free: 22.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.3879, allocations: 23.94 kB / 0.5493 GB, free: 22.89 MB / 382.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.0001056/0.3881, allocations: 104.9 kB / 0.5494 GB, free: 22.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.3883, allocations: 46.34 kB / 0.5495 GB, free: 22.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3883, allocations: 0 / 0.5495 GB, free: 22.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.188e-05/0.3884, allocations: 31.47 kB / 0.5495 GB, free: 22.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.3887, allocations: 3.344 kB / 0.5495 GB, free: 22.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.389, allocations: 169 kB / 0.5497 GB, free: 22.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.3891, allocations: 0.6883 MB / 0.5503 GB, free: 21.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.938e-05/0.3891, allocations: 7.359 kB / 0.5503 GB, free: 21.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.3892, allocations: 11.5 kB / 0.5503 GB, free: 21.92 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3892, allocations: 0 / 0.5503 GB, free: 21.92 MB / 382.1 MB Notification: Performance of Templates: time 0.003387/0.3926, allocations: 0.7259 MB / 0.5511 GB, free: 21.83 MB / 382.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: 5.102881746133789] Failed to read output from testmodel.py, exit status != 0: 0.40036578103899956 0.41103527500000003 0.024666656000000002 Calling exit ...