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.001226/0.001226, allocations: 104.3 kB / 19.72 MB, free: 2.145 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.001348/0.001348, allocations: 210.7 kB / 23.01 MB, free: 4.965 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.413/1.413, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.01427/0.01427, allocations: 3.275 MB / 316.5 MB, free: 15.63 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.771e-05/1.771e-05, allocations: 2.281 kB / 440.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.002148/0.002166, allocations: 1.652 MB / 442.3 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.003944, allocations: 1.816 MB / 444.2 MB, free: 8.059 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.374e-05/0.003998, allocations: 7.938 kB / 444.2 MB, free: 8.051 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.0006139/0.004612, allocations: 163.4 kB / 444.3 MB, free: 7.891 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.004737, allocations: 67.62 kB / 444.4 MB, free: 7.824 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.00491, allocations: 87.77 kB / 444.5 MB, free: 7.738 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.005042, allocations: 91.7 kB / 444.6 MB, free: 7.648 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.229e-05/0.005114, allocations: 15.95 kB / 444.6 MB, free: 7.633 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.838e-05/0.005163, allocations: 35.92 kB / 444.6 MB, free: 7.598 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.005278, allocations: 31.8 kB / 444.6 MB, free: 7.566 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.005295, allocations: 8 kB / 444.7 MB, free: 7.559 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002754/0.00557, allocations: 275.6 kB / 444.9 MB, free: 7.289 MB / 302.1 MB Notification: Performance of combineBinaries: time 8.559e-05/0.005656, allocations: 138.6 kB / 445.1 MB, free: 7.152 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 2.733e-05/0.005683, allocations: 94.78 kB / 445.2 MB, free: 7.059 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.005708, allocations: 4 kB / 445.2 MB, free: 7.055 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.117e-05/0.005719, allocations: 0 / 445.2 MB, free: 7.055 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.000435/0.006154, allocations: 0.5059 MB / 445.7 MB, free: 6.43 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 4.444e-05/0.006199, allocations: 48.02 kB / 445.7 MB, free: 6.371 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001341/0.006333, allocations: 200.2 kB / 445.9 MB, free: 6.148 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 7.126e-05/0.006404, allocations: 88.7 kB / 446 MB, free: 6.016 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0003112/0.006715, allocations: 228.6 kB / 446.2 MB, free: 5.727 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 5.009e-05/0.006765, allocations: 84.7 kB / 446.3 MB, free: 5.598 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 3.022e-05/0.006796, allocations: 56.41 kB / 446.4 MB, free: 5.516 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001141/0.00691, allocations: 121.1 kB / 446.5 MB, free: 5.344 MB / 302.1 MB Notification: Performance of [SIM] Events: time 8.092e-05/0.006991, allocations: 43.78 kB / 446.5 MB, free: 5.301 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001043/0.007095, allocations: 96.2 kB / 446.6 MB, free: 5.191 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001567/0.007252, allocations: 124.6 kB / 446.7 MB, free: 5.055 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 8.625e-05/0.007338, allocations: 139.9 kB / 446.9 MB, free: 4.918 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001702/0.00904, allocations: 399 kB / 447.3 MB, free: 4.535 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001978/0.009238, allocations: 283.8 kB / 447.5 MB, free: 4.254 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.247e-05/0.00925, allocations: 28.05 kB / 447.6 MB, free: 4.219 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 5.344e-05/0.009304, allocations: 59.94 kB / 447.6 MB, free: 4.16 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0003386/0.009642, allocations: 355.1 kB / 448 MB, free: 3.805 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.145e-05/0.009654, allocations: 12 kB / 448 MB, free: 3.793 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.61e-07/0.009654, allocations: 0 / 448 MB, free: 3.793 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.628e-06/0.009664, allocations: 0 / 448 MB, free: 3.793 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.894e-06/0.009666, allocations: 0 / 448 MB, free: 3.793 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 8.947e-06/0.009675, allocations: 7.984 kB / 448 MB, free: 3.785 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001024/0.009777, allocations: 63.95 kB / 448 MB, free: 3.723 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 6.893e-06/0.009784, allocations: 4 kB / 448.1 MB, free: 3.719 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:7, array:1, record:1) * 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.158e-05/0.009815, allocations: 23.77 kB / 448.1 MB, free: 3.695 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.263909328263253] Failed to read output from testmodel.py, exit status != 0: 0.016228956636041403 0.030511288 0.021873607 Calling exit ...