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.001201/0.001201, allocations: 85.28 kB / 20.05 MB, free: 1.48 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.001272/0.001272, allocations: 165.6 kB / 23.34 MB, free: 4.473 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.29/1.29, allocations: 177.1 MB / 203.7 MB, free: 9.129 MB / 190.1 MB " [Timeout remaining time 179] 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.01221/0.01221, allocations: 2.258 MB / 262.3 MB, free: 14.36 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.823e-05/1.823e-05, allocations: 6.219 kB / 386.8 MB, free: 356 kB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.002735/0.002754, allocations: 1.661 MB / 388.4 MB, free: 14.67 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002445/0.005199, allocations: 1.831 MB / 390.3 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.602e-05/0.005245, allocations: 0 / 390.3 MB, free: 12.83 MB / 318.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.000624/0.005869, allocations: 159.3 kB / 390.4 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.006004, allocations: 71.61 kB / 390.5 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.006202, allocations: 87.72 kB / 390.6 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.006373, allocations: 91.75 kB / 390.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.644e-05/0.006439, allocations: 7.938 kB / 390.7 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.762e-05/0.006527, allocations: 51.89 kB / 390.7 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.006644, allocations: 23.91 kB / 390.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.006663, allocations: 8 kB / 390.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003765/0.00704, allocations: 255.5 kB / 391 MB, free: 12.09 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001302/0.00717, allocations: 122.8 kB / 391.1 MB, free: 11.97 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 6.048e-05/0.007231, allocations: 86.92 kB / 391.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.464e-05/0.007255, allocations: 4 kB / 391.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.022e-05/0.007266, allocations: 0 / 391.2 MB, free: 11.88 MB / 318.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.0006327/0.007898, allocations: 499.1 kB / 391.7 MB, free: 11.27 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001417/0.00804, allocations: 90.41 kB / 391.8 MB, free: 11.17 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002845/0.008325, allocations: 236.2 kB / 392 MB, free: 10.91 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 9.292e-05/0.008417, allocations: 64.33 kB / 392.1 MB, free: 10.82 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.0004413/0.008859, allocations: 244.7 kB / 392.3 MB, free: 10.52 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 7.363e-05/0.008932, allocations: 56.39 kB / 392.4 MB, free: 10.44 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 6.288e-05/0.008995, allocations: 52.8 kB / 392.4 MB, free: 10.36 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0002243/0.00922, allocations: 168.8 kB / 392.6 MB, free: 10.13 MB / 318.1 MB Notification: Performance of [SIM] Events: time 7.348e-05/0.009293, allocations: 29.23 kB / 392.6 MB, free: 10.1 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001982/0.009491, allocations: 149.9 kB / 392.8 MB, free: 9.914 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.0002022/0.009693, allocations: 124 kB / 392.9 MB, free: 9.777 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001515/0.009845, allocations: 159.8 kB / 393.1 MB, free: 9.621 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.000731/0.01058, allocations: 228.7 kB / 393.3 MB, free: 9.371 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.0003032/0.01088, allocations: 299.8 kB / 393.6 MB, free: 9.074 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 2.515e-05/0.0109, allocations: 16.11 kB / 393.6 MB, free: 9.051 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 9.403e-05/0.011, allocations: 83.86 kB / 393.7 MB, free: 8.969 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.0005706/0.01157, allocations: 437.6 kB / 394.1 MB, free: 8.531 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 1.041e-05/0.01158, allocations: 4 kB / 394.1 MB, free: 8.527 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 2.124e-06/0.01158, allocations: 4 kB / 394.1 MB, free: 8.523 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.457e-06/0.01158, allocations: 0 / 394.1 MB, free: 8.523 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 1.192e-06/0.01159, allocations: 0 / 394.1 MB, free: 8.523 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 9.017e-06/0.01159, allocations: 4 kB / 394.1 MB, free: 8.52 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.0001258/0.01172, allocations: 67.94 kB / 394.2 MB, free: 8.453 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 7.694e-06/0.01173, allocations: 8 kB / 394.2 MB, free: 8.445 MB / 318.1 MB Notification: Performance of [SIM] Minimize Homotopy System: time 2.61e-07/0.01173, allocations: 0 / 394.2 MB, free: 8.445 MB / 318.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: ................. 7 (7) {timeTable.a, timeTable.b, timeTable.last, timeTable.nextEvent, timeTable.nextEventScaled, $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: ........... 11 (scalar:9, array:2, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:1) * 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.517e-05/0.01176, allocations: 28.27 kB / 394.2 MB, free: 8.414 MB / 318.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: 1.9898484498262405] Failed to read output from testmodel.py, exit status != 0: 0.019418105483055115 0.03251706 0.022409121 Calling exit ...