Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.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.001175/0.001175, allocations: 80.25 kB / 20.06 MB, free: 4.465 MB / 18.57 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.0009971/0.0009971, allocations: 173.9 kB / 23.36 MB, free: 1.16 MB / 18.57 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 0.9351/0.9351, allocations: 177.1 MB / 203.7 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7196/0.7196, allocations: 154.6 MB / 414.7 MB, free: 0.7812 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/1.915e-05, allocations: 6.578 kB / 0.6195 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.02588/0.0259, allocations: 34.57 MB / 0.6533 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01103/0.03693, allocations: 8.873 MB / 0.662 GB, free: 1.406 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002341/0.03927, allocations: 59.5 kB / 0.662 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002103/0.04137, allocations: 0.5818 MB / 0.6626 GB, free: 0.7617 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004907/0.04628, allocations: 1.724 MB / 0.6643 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003182/0.04946, allocations: 1.317 MB / 0.6656 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00673/0.05619, allocations: 6.382 MB / 0.6718 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003085/0.05928, allocations: 2.453 MB / 0.6742 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004581/0.06386, allocations: 2.864 MB / 0.677 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002194/0.06605, allocations: 1.591 MB / 0.6785 GB, free: 340 kB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003093/0.06636, allocations: 216 kB / 0.6787 GB, free: 124 kB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3469/0.4132, allocations: 0.9318 MB / 0.6796 GB, free: 53.18 MB / 0.6355 GB Notification: Performance of combineBinaries: time 0.002752/0.416, allocations: 3.484 MB / 0.683 GB, free: 52.45 MB / 0.6355 GB Notification: Performance of replaceArrayConstructors: time 0.0009167/0.4169, allocations: 1.951 MB / 0.685 GB, free: 51.7 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000364/0.4172, allocations: 158.5 kB / 0.6851 GB, free: 51.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.0005232/0.4178, allocations: 47.38 kB / 0.6851 GB, free: 51.7 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 (366) * Number of variables: 586 (220) Notification: Performance of [SIM] Bindings: time 0.007309/0.4251, allocations: 9.819 MB / 0.6947 GB, free: 49.43 MB / 0.6355 GB Notification: Performance of [SIM] FunctionAlias: time 0.002133/0.4272, allocations: 2.131 MB / 0.6968 GB, free: 49.05 MB / 0.6355 GB Notification: Performance of [SIM] Early Inline: time 0.004418/0.4316, allocations: 6.874 MB / 0.7035 GB, free: 47.77 MB / 0.6355 GB Notification: Performance of [SIM] Simplify 1: time 0.0007819/0.4324, allocations: 0.8092 MB / 0.7043 GB, free: 47.44 MB / 0.6355 GB Notification: Performance of [SIM] Alias: time 0.004688/0.4371, allocations: 5.782 MB / 0.71 GB, free: 44.11 MB / 0.6355 GB Notification: Performance of [SIM] Simplify 2: time 0.000692/0.4378, allocations: 0.7335 MB / 0.7107 GB, free: 43.78 MB / 0.6355 GB Notification: Performance of [SIM] Remove Stream: time 0.0004695/0.4383, allocations: 0.6571 MB / 0.7113 GB, free: 43.36 MB / 0.6355 GB Notification: Performance of [SIM] Detect States: time 0.001265/0.4395, allocations: 1.82 MB / 0.7131 GB, free: 42.22 MB / 0.6355 GB Notification: Performance of [SIM] Events: time 0.0002013/0.4397, allocations: 214.8 kB / 0.7133 GB, free: 42.11 MB / 0.6355 GB Notification: Performance of [SIM] Partitioning: time 0.002641/0.4424, allocations: 2.46 MB / 0.7157 GB, free: 40.75 MB / 0.6355 GB Notification: Performance of [SIM] Causalize: time 0.02254/0.4649, allocations: 13.8 MB / 0.7292 GB, free: 36.88 MB / 0.6355 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.005158/0.4701, allocations: 4.934 MB / 0.734 GB, free: 34.06 MB / 0.6355 GB Notification: Performance of [INI] Simplify: time 0.007022/0.4771, allocations: 2.708 MB / 0.7366 GB, free: 32.67 MB / 0.6355 GB Notification: Performance of [INI] Inline: time 0.01301/0.4901, allocations: 9.143 MB / 0.7456 GB, free: 27.36 MB / 0.6355 GB Notification: Performance of [INI] Partitioning: time 0.00106/0.4912, allocations: 124.2 kB / 0.7457 GB, free: 27.28 MB / 0.6355 GB Notification: Performance of [INI] Cleanup: time 0.005156/0.4963, allocations: 2.596 MB / 0.7482 GB, free: 25.68 MB / 0.6355 GB Notification: Performance of [INI] Causalize: time 0.03806/0.5344, allocations: 32.89 MB / 0.7803 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of [INI] Tearing: time 0.0007061/0.5351, allocations: 0.8304 MB / 0.7812 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of [SIM] Initialization: time 3.116e-06/0.5351, allocations: 0 / 0.7812 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of [SIM] DAE-Mode: time 0.001117/0.5362, allocations: 0.6994 MB / 0.7818 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of [SIM] Remove Dummies: time 1.026e-05/0.5362, allocations: 2.078 kB / 0.7818 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of [SIM] Tearing: time 0.0004085/0.5366, allocations: 0.6481 MB / 0.7825 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of [SIM] Categorize: time 4.592e-05/0.5367, allocations: 11.56 kB / 0.7825 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of [SIM] Solve: time 0.007187/0.5438, allocations: 3.369 MB / 0.7858 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of [SIM] Jacobian: time 0.02035/0.5642, allocations: 17.92 MB / 0.8033 GB, free: 1.008 MB / 0.6511 GB Notification: Performance of [SIM] Minimize Homotopy System: time 2.629e-05/0.5642, allocations: 4 kB / 0.8033 GB, free: 1.004 MB / 0.6511 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 5 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 5 (1) {tan.vol.dynBal.U} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 11 (11) {onOffBot.y, onOffMid.y, yMid.u, yTop.u, nor.u2, onOffHea.y, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_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: ........... 222 (scalar:216, array:6, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 45 (resizable: 44, generic: 1, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 314 (scalar:305, array:9, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 87 (resizable: 86, generic: 1, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 317 (scalar:308, array:9, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 87 (resizable: 86, generic: 1, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 0.0002222/0.5644, allocations: 163.4 kB / 0.8034 GB, free: 0.8516 MB / 0.6511 GB Error: Internal error NSimStrongComponent.Block.createEquation failed with status Solve.EXPLICIT for [FOR-] (5) ($RES_SIM_112) [----] for $i1 in 1:5 loop [----] [SCAL] (1) $RES_SIM_112[$i1] = tan.conWal[$i1].G * tan.conWal[$i1].dT - tan.conWal[$i1].Q_flow ($RES_SIM_113) [----] end for; " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.3169431248679757] Failed to read output from testmodel.py, exit status != 0: 0.5837746895849705 0.59353512 0.173701995 Calling exit ...