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.001532/0.001532, allocations: 117.7 kB / 17.13 MB, free: 5.918 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.391/1.391, allocations: 225.6 MB / 245.5 MB, free: 14.2 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.001496/0.001496, allocations: 199.4 kB / 300.5 MB, free: 9.844 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.04266/0.04266, allocations: 8.931 MB / 364.3 MB, free: 10.2 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.002481/0.002481, allocations: 83.45 kB / 487.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0871/0.08958, allocations: 54.42 MB / 0.5289 GB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.003222/0.0928, allocations: 1.773 MB / 0.5307 GB, free: 15.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009306/0.09373, allocations: 0.4996 MB / 0.5312 GB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.643e-05/0.09381, allocations: 0 / 0.5312 GB, free: 14.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.016e-05/0.09386, allocations: 11.86 kB / 0.5312 GB, free: 14.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.208e-05/0.09395, allocations: 15.86 kB / 0.5312 GB, free: 14.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.09419, allocations: 39.89 kB / 0.5312 GB, free: 14.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.09433, allocations: 83.66 kB / 0.5313 GB, free: 14.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.09443, allocations: 27.92 kB / 0.5313 GB, free: 14.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.289e-05/0.09452, allocations: 35.86 kB / 0.5314 GB, free: 14.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.323e-05/0.0946, allocations: 39.78 kB / 0.5314 GB, free: 14.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.09462, allocations: 8 kB / 0.5314 GB, free: 14.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.003e-05/0.09469, allocations: 23.98 kB / 0.5314 GB, free: 14.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.09471, allocations: 11.98 kB / 0.5314 GB, free: 14.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.239e-05/0.09476, allocations: 39.8 kB / 0.5315 GB, free: 14.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.09499, allocations: 99.61 kB / 0.5316 GB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.09499, allocations: 4 kB / 0.5316 GB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.09499, allocations: 0 / 0.5316 GB, free: 14.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.095, allocations: 0 / 0.5316 GB, free: 14.16 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.0005738/0.09557, allocations: 399 kB / 0.532 GB, free: 13.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.09562, allocations: 8.031 kB / 0.532 GB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.713e-05/0.09566, allocations: 8.891 kB / 0.532 GB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.09584, allocations: 180.2 kB / 0.5321 GB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.09585, allocations: 4.375 kB / 0.5321 GB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.09587, allocations: 8.375 kB / 0.5322 GB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.09611, allocations: 85.97 kB / 0.5322 GB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.09612, allocations: 4 kB / 0.5322 GB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.09614, allocations: 7.938 kB / 0.5322 GB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.09614, allocations: 4 kB / 0.5323 GB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002344/0.09638, allocations: 59.89 kB / 0.5323 GB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006419/0.09702, allocations: 391.6 kB / 0.5327 GB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.09716, allocations: 50.55 kB / 0.5327 GB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.09727, allocations: 16.91 kB / 0.5327 GB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.09729, allocations: 4 kB / 0.5328 GB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.09732, allocations: 34.56 kB / 0.5328 GB, free: 12.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.09732, allocations: 0 / 0.5328 GB, free: 12.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003735/0.09769, allocations: 93.52 kB / 0.5329 GB, free: 12.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.09773, allocations: 55.41 kB / 0.5329 GB, free: 12.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.09787, allocations: 121.8 kB / 0.533 GB, free: 12.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.09788, allocations: 25.7 kB / 0.5331 GB, free: 12.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.22e-05/0.09796, allocations: 112 kB / 0.5332 GB, free: 12.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.123e-05/0.09797, allocations: 11.88 kB / 0.5332 GB, free: 12.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.486e-05/0.09804, allocations: 21.84 kB / 0.5332 GB, free: 12.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.09818, allocations: 318.8 kB / 0.5335 GB, free: 11.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.385e-05/0.09828, allocations: 19.97 kB / 0.5335 GB, free: 11.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.09838, allocations: 38.56 kB / 0.5336 GB, free: 11.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.09857, allocations: 62.47 kB / 0.5336 GB, free: 11.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.09857, allocations: 3.938 kB / 0.5336 GB, free: 11.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002499/0.09882, allocations: 85.59 kB / 0.5337 GB, free: 11.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.09885, allocations: 4 kB / 0.5337 GB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.09885, allocations: 4.078 kB / 0.5337 GB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.09887, allocations: 7.938 kB / 0.5337 GB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.132e-05/0.09896, allocations: 15.98 kB / 0.5337 GB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.09896, allocations: 0 / 0.5337 GB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.055e-05/0.09902, allocations: 7.953 kB / 0.5337 GB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.09903, allocations: 7.938 kB / 0.5338 GB, free: 11.67 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 9.874e-05/0.09913, allocations: 129.7 kB / 0.5339 GB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.09915, allocations: 0 / 0.5339 GB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.01e-05/0.09918, allocations: 11.47 kB / 0.5339 GB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.09919, allocations: 4 kB / 0.5339 GB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.09919, allocations: 0 / 0.5339 GB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.09919, allocations: 0 / 0.5339 GB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.0994, allocations: 177.6 kB / 0.5341 GB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.0994, allocations: 0 / 0.5341 GB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.588e-05/0.09947, allocations: 15.98 kB / 0.5341 GB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.09947, allocations: 0 / 0.5341 GB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.09948, allocations: 3.938 kB / 0.5341 GB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.09948, allocations: 0 / 0.5341 GB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.09948, allocations: 4 kB / 0.5341 GB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.09977, allocations: 167.5 kB / 0.5342 GB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/0.09982, allocations: 85.06 kB / 0.5343 GB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.09984, allocations: 7.938 kB / 0.5343 GB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.617e-05/0.09993, allocations: 7.984 kB / 0.5343 GB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.09996, allocations: 8.016 kB / 0.5344 GB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.09997, allocations: 4.031 kB / 0.5344 GB, free: 10.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.381e-05/0.1, allocations: 99.64 kB / 0.5345 GB, free: 10.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1, allocations: 0 / 0.5345 GB, free: 10.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.1003, allocations: 19.94 kB / 0.5345 GB, free: 10.84 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.0001195/0.1004, allocations: 99.23 kB / 0.5346 GB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000243/0.1007, allocations: 47.95 kB / 0.5346 GB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1007, allocations: 4.188 kB / 0.5346 GB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.121e-05/0.1008, allocations: 23.92 kB / 0.5346 GB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.101, allocations: 4 kB / 0.5346 GB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003674/0.1014, allocations: 184.5 kB / 0.5348 GB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.1017, allocations: 0.6922 MB / 0.5355 GB, free: 9.727 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.1018, allocations: 19.44 kB / 0.5355 GB, free: 9.711 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1018, allocations: 0 / 0.5355 GB, free: 9.711 MB / 350.1 MB Notification: Performance of Templates: time 0.002712/0.1045, allocations: 0.9415 MB / 0.5364 GB, free: 8.77 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: 6.524204367073253] Failed to read output from testmodel.py, exit status != 0: 0.24968015705235302 0.12585886000000002 0.027985433 Calling exit ...