Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical2.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.00156/0.00156, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.391/1.391, allocations: 230.7 MB / 253.5 MB, free: 14.25 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.001526/0.001526, allocations: 217.9 kB / 310.1 MB, free: 3.062 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.03914/0.03914, allocations: 8.913 MB / 375.4 MB, free: 6.539 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.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") translateModel(HanserModelica.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.298e-05/3.298e-05, allocations: 4.953 kB / 0.4904 GB, free: 44.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.002222/0.002255, allocations: 0.4933 MB / 0.4909 GB, free: 43.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001721/0.002427, allocations: 27.89 kB / 0.4909 GB, free: 43.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.664e-05/0.002464, allocations: 0 / 0.4909 GB, free: 43.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/0.002489, allocations: 3.938 kB / 0.4909 GB, free: 43.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.512e-05/0.002544, allocations: 4 kB / 0.4909 GB, free: 43.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001341/0.002678, allocations: 0 / 0.4909 GB, free: 43.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.107e-05/0.002769, allocations: 23.86 kB / 0.4909 GB, free: 43.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.515e-05/0.002844, allocations: 4 kB / 0.4909 GB, free: 43.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.629e-05/0.002871, allocations: 11.92 kB / 0.491 GB, free: 43.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.729e-05/0.002918, allocations: 4 kB / 0.491 GB, free: 43.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.002938, allocations: 0 / 0.491 GB, free: 43.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.31e-05/0.002952, allocations: 0 / 0.491 GB, free: 43.72 MB / 350.1 MB Notification: Performance of combineBinaries: time 7.871e-05/0.00303, allocations: 35.58 kB / 0.491 GB, free: 43.68 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 1.465e-05/0.003045, allocations: 19.75 kB / 0.491 GB, free: 43.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.158e-05/0.003066, allocations: 4 kB / 0.491 GB, free: 43.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.007e-05/0.003077, allocations: 0 / 0.491 GB, free: 43.66 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: 3 (3) * Number of variables: 3 (3) Notification: Performance of [SIM] Bindings: time 0.0004747/0.003551, allocations: 241 kB / 0.4912 GB, free: 43.3 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 6.105e-05/0.003612, allocations: 35.97 kB / 0.4913 GB, free: 43.26 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 6.797e-05/0.00368, allocations: 64.27 kB / 0.4913 GB, free: 43.17 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 5.895e-05/0.003739, allocations: 64.67 kB / 0.4914 GB, free: 43.06 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.0004463/0.004186, allocations: 144.6 kB / 0.4915 GB, free: 42.86 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 4.335e-05/0.004229, allocations: 64.73 kB / 0.4916 GB, free: 42.75 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 2.497e-05/0.004254, allocations: 36.62 kB / 0.4916 GB, free: 42.69 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.0001176/0.004371, allocations: 88.72 kB / 0.4917 GB, free: 42.55 MB / 350.1 MB Notification: Performance of [SIM] Events: time 1.541e-05/0.004387, allocations: 4 kB / 0.4917 GB, free: 42.54 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 6.187e-05/0.004449, allocations: 32.05 kB / 0.4918 GB, free: 42.5 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 7.873e-05/0.004527, allocations: 28.11 kB / 0.4918 GB, free: 42.47 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 2.961e-05/0.004557, allocations: 27.97 kB / 0.4918 GB, free: 42.44 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.0001047/0.004662, allocations: 101 kB / 0.4919 GB, free: 42.27 MB / 350.1 MB Notification: Performance of [INI] Inline: time 3.907e-05/0.004701, allocations: 44.14 kB / 0.492 GB, free: 42.23 MB / 350.1 MB Notification: Performance of [INI] Partitioning: time 8.526e-06/0.004709, allocations: 12.12 kB / 0.492 GB, free: 42.21 MB / 350.1 MB Notification: Performance of [INI] Cleanup: time 1.343e-05/0.004723, allocations: 15.98 kB / 0.492 GB, free: 42.19 MB / 350.1 MB Notification: Performance of [INI] Causalize: time 0.0001139/0.004837, allocations: 56.08 kB / 0.492 GB, free: 42.13 MB / 350.1 MB Notification: Performance of [INI] Tearing: time 1.066e-05/0.004847, allocations: 0 / 0.492 GB, free: 42.13 MB / 350.1 MB Notification: Performance of [SIM] Initialization: time 5.61e-07/0.004848, allocations: 0 / 0.492 GB, free: 42.13 MB / 350.1 MB Notification: Performance of [SIM] DAE-Mode: time 3.394e-05/0.004882, allocations: 24.06 kB / 0.4921 GB, free: 42.1 MB / 350.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.502e-06/0.004888, allocations: 4 kB / 0.4921 GB, free: 42.09 MB / 350.1 MB Notification: Performance of [SIM] Tearing: time 2.455e-06/0.004891, allocations: 8 kB / 0.4921 GB, free: 42.09 MB / 350.1 MB Notification: Performance of [SIM] Categorize: time 7.164e-06/0.004898, allocations: 0 / 0.4921 GB, free: 42.09 MB / 350.1 MB Notification: Performance of [SIM] Solve: time 0.0001085/0.005006, allocations: 47.95 kB / 0.4921 GB, free: 42.04 MB / 350.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001083/0.005115, allocations: 182 kB / 0.4923 GB, free: 41.83 MB / 350.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 1 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 1 (1) {i} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 0 (0) {} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 2 (scalar:2, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 3 (scalar:3, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.351e-05/0.005158, allocations: 26.95 kB / 0.4923 GB, free: 41.8 MB / 350.1 MB Notification: Performance of SimCode: time 0.000282/0.00544, allocations: 180 kB / 0.4925 GB, free: 41.61 MB / 350.1 MB Notification: Performance of Templates: time 0.003193/0.008633, allocations: 331.7 kB / 0.4928 GB, free: 41.29 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical2.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.268423587025609] Failed to read output from testmodel.py, exit status != 0: 0.017227648000698537 0.033961927 0.027332295000000003 Calling exit ...