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.001386/0.001386, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 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 1.053/1.053, allocations: 177.2 MB / 201 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] 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.001947/0.001947, allocations: 152.7 kB / 257.7 MB, free: 12.98 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.02445/0.02445, allocations: 6.66 MB / 320.9 MB, free: 26.33 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 1.062e-06/1.062e-06, allocations: 0 / 392.9 MB, free: 2.27 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.321e-05/1.427e-05, allocations: 6.25 kB / 392.9 MB, free: 2.262 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.002064/0.002078, allocations: 1.837 MB / 394.7 MB, free: 420 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006348/0.002713, allocations: 0.5065 MB / 395.2 MB, free: 15.89 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.329e-05/0.002766, allocations: 4 kB / 395.2 MB, free: 15.89 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.32e-05/0.002809, allocations: 11.86 kB / 395.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 7.822e-05/0.002887, allocations: 27.67 kB / 395.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.00305, allocations: 27.97 kB / 395.3 MB, free: 15.83 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 8.188e-05/0.003132, allocations: 87.58 kB / 395.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.092e-05/0.003223, allocations: 19.98 kB / 395.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.128e-05/0.003304, allocations: 55.83 kB / 395.4 MB, free: 15.67 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.129e-05/0.003355, allocations: 27.91 kB / 395.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.00337, allocations: 8 kB / 395.5 MB, free: 15.63 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.928e-05/0.00342, allocations: 16 kB / 395.5 MB, free: 15.62 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.008e-05/0.00344, allocations: 15.92 kB / 395.5 MB, free: 15.6 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.27e-05/0.003462, allocations: 27.97 kB / 395.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.003581, allocations: 75.73 kB / 395.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003583, allocations: 4 kB / 395.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.6e-07/0.003583, allocations: 0 / 395.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.915e-06/0.003586, allocations: 0 / 395.6 MB, free: 15.5 MB / 330.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.0003119/0.003898, allocations: 408.3 kB / 396 MB, free: 15.06 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.003928, allocations: 12.03 kB / 396 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.003957, allocations: 12.89 kB / 396 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.412e-05/0.004041, allocations: 132.4 kB / 396.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.004052, allocations: 8.312 kB / 396.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-06/0.00406, allocations: 4.375 kB / 396.2 MB, free: 14.87 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.004163, allocations: 74.94 kB / 396.2 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.00417, allocations: 4.188 kB / 396.2 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.004178, allocations: 4.359 kB / 396.3 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.004183, allocations: 7.938 kB / 396.3 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.946e-05/0.004213, allocations: 15.98 kB / 396.3 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.004538, allocations: 347.3 kB / 396.6 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.302e-05/0.004581, allocations: 34.98 kB / 396.6 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.345e-05/0.004595, allocations: 7.688 kB / 396.7 MB, free: 14.33 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.004605, allocations: 4.062 kB / 396.7 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.004621, allocations: 37.39 kB / 396.7 MB, free: 14.28 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.004622, allocations: 0 / 396.7 MB, free: 14.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001078/0.00473, allocations: 45.66 kB / 396.7 MB, free: 14.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.004755, allocations: 51.41 kB / 396.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.606e-05/0.004831, allocations: 177.9 kB / 397 MB, free: 13.97 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.948e-06/0.004841, allocations: 29.7 kB / 397 MB, free: 13.94 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.727e-05/0.004898, allocations: 154.8 kB / 397.1 MB, free: 13.78 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.05e-06/0.004904, allocations: 7.891 kB / 397.2 MB, free: 13.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.00493, allocations: 23.38 kB / 397.2 MB, free: 13.74 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.005038, allocations: 0.4922 MB / 397.7 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.034e-05/0.005048, allocations: 4.125 kB / 397.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.351e-05/0.005072, allocations: 35.06 kB / 397.7 MB, free: 13.19 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.469e-05/0.005107, allocations: 39.05 kB / 397.7 MB, free: 13.14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.005108, allocations: 0 / 397.7 MB, free: 13.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.922e-05/0.005167, allocations: 53.53 kB / 397.8 MB, free: 13.08 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.005177, allocations: 7.984 kB / 397.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.005181, allocations: 0 / 397.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.00519, allocations: 8.094 kB / 397.8 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.699e-05/0.005237, allocations: 8 kB / 397.8 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.00524, allocations: 0 / 397.8 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.48e-05/0.005265, allocations: 12 kB / 397.8 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.00527, allocations: 3.984 kB / 397.8 MB, free: 13.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 5.851e-05/0.005329, allocations: 164.5 kB / 398 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.005344, allocations: 3.953 kB / 398 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.138e-05/0.005366, allocations: 7.625 kB / 398 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.005367, allocations: 96 / 398 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.005369, allocations: 0 / 398 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.005372, allocations: 7.984 kB / 398 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.947e-05/0.005472, allocations: 113.2 kB / 398.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.005473, allocations: 4 kB / 398.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.056e-05/0.005494, allocations: 7.984 kB / 398.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.005495, allocations: 0 / 398.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-06/0.005499, allocations: 3.938 kB / 398.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.5e-07/0.005499, allocations: 0 / 398.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.0055, allocations: 0 / 398.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.858e-05/0.005589, allocations: 195.8 kB / 398.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-06/0.005598, allocations: 7.938 kB / 398.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-06/0.005606, allocations: 4.031 kB / 398.3 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.045e-05/0.005636, allocations: 0 / 398.3 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.005656, allocations: 4 kB / 398.3 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.005659, allocations: 3.984 kB / 398.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.843e-05/0.005697, allocations: 131.2 kB / 398.5 MB, free: 12.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005697, allocations: 0 / 398.5 MB, free: 12.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001567/0.005854, allocations: 19.94 kB / 398.5 MB, free: 12.32 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 8.748e-05/0.005942, allocations: 103.2 kB / 398.6 MB, free: 12.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.546e-05/0.006007, allocations: 23.61 kB / 398.6 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.006009, allocations: 8.188 kB / 398.6 MB, free: 12.17 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.403e-05/0.006023, allocations: 7.688 kB / 398.6 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/0.006198, allocations: 11.94 kB / 398.6 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002245/0.006422, allocations: 169 kB / 398.8 MB, free: 11.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.123e-05/0.006454, allocations: 59.34 kB / 398.9 MB, free: 11.88 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.043e-05/0.006474, allocations: 7.906 kB / 398.9 MB, free: 11.87 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.959e-05/0.006524, allocations: 78.27 kB / 399 MB, free: 11.79 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.006524, allocations: 0 / 399 MB, free: 11.79 MB / 330.7 MB Notification: Performance of Templates: time 0.00226/0.008784, allocations: 0.8408 MB / 399.8 MB, free: 10.96 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.TestBrush.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0229265931993723]