Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.SSVTest.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.001346/0.001346, allocations: 104.3 kB / 19.76 MB, free: 1.906 MB / 14.72 MB " [Timeout remaining time 180] 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.001404/0.001404, allocations: 208.2 kB / 23.06 MB, free: 4.984 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.39/1.39, allocations: 230.6 MB / 256.9 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.01391/0.01391, allocations: 3.278 MB / 316.6 MB, free: 15.67 MB / 254.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(ExternData.Examples.SSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.SSVTest") translateModel(ExternData.Examples.SSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.SSVTest") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.307e-05/1.307e-05, allocations: 2.281 kB / 440.8 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.002111/0.002124, allocations: 1.666 MB / 442.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.003864, allocations: 1.816 MB / 444.3 MB, free: 8.008 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.822e-05/0.003912, allocations: 0 / 444.3 MB, free: 8.008 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:147:3-177:14:writable] Warning: Pure function 'ExternData.SSVFile' contains a call to impure function 'ExternData.Types.ExternXML2File.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0005655/0.004478, allocations: 163.4 kB / 444.5 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.004587, allocations: 63.7 kB / 444.5 MB, free: 7.785 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001616/0.004748, allocations: 91.77 kB / 444.6 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.00488, allocations: 79.83 kB / 444.7 MB, free: 7.617 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.403e-05/0.004954, allocations: 11.97 kB / 444.7 MB, free: 7.605 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.962e-05/0.005003, allocations: 43.78 kB / 444.7 MB, free: 7.562 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.005115, allocations: 31.84 kB / 444.8 MB, free: 7.531 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.005131, allocations: 4 kB / 444.8 MB, free: 7.527 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002564/0.005387, allocations: 263.7 kB / 445 MB, free: 7.27 MB / 302.1 MB Notification: Performance of combineBinaries: time 8.308e-05/0.00547, allocations: 150.4 kB / 445.2 MB, free: 7.121 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 2.495e-05/0.005495, allocations: 90.73 kB / 445.3 MB, free: 7.031 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.005521, allocations: 4 kB / 445.3 MB, free: 7.027 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.698e-06/0.00553, allocations: 4 kB / 445.3 MB, free: 7.023 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 (6) * Number of variables: 10 (10) Notification: Performance of [SIM] Bindings: time 0.0004007/0.005931, allocations: 0.4988 MB / 445.8 MB, free: 6.402 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 4.238e-05/0.005974, allocations: 55.95 kB / 445.8 MB, free: 6.336 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001235/0.006097, allocations: 204.2 kB / 446 MB, free: 6.109 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 6.63e-05/0.006163, allocations: 84.66 kB / 446.1 MB, free: 5.98 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0003164/0.00648, allocations: 220.7 kB / 446.3 MB, free: 5.699 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 4.972e-05/0.006529, allocations: 88.72 kB / 446.4 MB, free: 5.566 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 2.985e-05/0.006559, allocations: 60.28 kB / 446.5 MB, free: 5.48 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001096/0.006669, allocations: 112.7 kB / 446.6 MB, free: 5.316 MB / 302.1 MB Notification: Performance of [SIM] Events: time 8.138e-05/0.00675, allocations: 44.33 kB / 446.6 MB, free: 5.273 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001012/0.006851, allocations: 100.2 kB / 446.7 MB, free: 5.16 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001459/0.006997, allocations: 120.6 kB / 446.8 MB, free: 5.027 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 8.673e-05/0.007084, allocations: 143.9 kB / 447 MB, free: 4.887 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001688/0.008772, allocations: 405.2 kB / 447.4 MB, free: 4.5 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001889/0.008961, allocations: 283.8 kB / 447.7 MB, free: 4.219 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.337e-05/0.008975, allocations: 16.12 kB / 447.7 MB, free: 4.195 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 5.888e-05/0.009033, allocations: 67.94 kB / 447.7 MB, free: 4.129 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0003398/0.009373, allocations: 356.5 kB / 448.1 MB, free: 3.77 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.088e-05/0.009384, allocations: 11.94 kB / 448.1 MB, free: 3.758 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3e-07/0.009384, allocations: 4 kB / 448.1 MB, free: 3.754 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 4.677e-05/0.009431, allocations: 36.23 kB / 448.1 MB, free: 3.703 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.667e-06/0.009435, allocations: 0 / 448.1 MB, free: 3.703 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.585e-06/0.009437, allocations: 8 kB / 448.1 MB, free: 3.695 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 8.075e-06/0.009446, allocations: 4 kB / 448.1 MB, free: 3.691 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001244/0.00957, allocations: 103.9 kB / 448.2 MB, free: 3.59 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001085/0.009678, allocations: 348 kB / 448.6 MB, free: 3.184 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 2 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 8 (8) {timeTable.a, timeTable.b, timeTable.last, timeTable.nextEvent, timeTable.nextEventScaled, $SEV_1, $SEV_0, $TEV_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: ........... 4 (scalar:4, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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: ........... 9 (scalar:8, array:1, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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 3.325e-05/0.009712, allocations: 30.19 kB / 448.6 MB, free: 3.156 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:157:5-157:266:writable] Error: Type mismatch in if-expression in component . True branch: fill(LITERAL(0, \"\"), 0, 2) has type String[0, 2], false branch: {{LITERAL(2, \"ssv\"), nameSpace}, LITERAL(5, {LITERAL(3, \"ssc\"), LITERAL(4, \"http://ssp-standard.org/SSP1/SystemStructureCommon\")})} has type String[2, 2]. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.2221938059665263] Failed to read output from testmodel.py, exit status != 0: 0.016078201006166637 0.030342099 0.022033298 Calling exit ...