Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Greenhouses_Greenhouses.Examples.Greenhouse_1.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.001343/0.001343, allocations: 109.8 kB / 19.6 MB, free: 2.324 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.001428/0.001428, allocations: 217.9 kB / 22.89 MB, free: 5.641 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.233/1.233, allocations: 230.5 MB / 256.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Greenhouses 1.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Greenhouses 1.0.0-master/package.mo): time 0.06726/0.06726, allocations: 15.02 MB / 327.9 MB, free: 4.41 MB / 254.1 MB " [Timeout remaining time 180] Using package Greenhouses with version 1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Greenhouses 1.0.0-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(Greenhouses.Examples.Greenhouse_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Greenhouses_Greenhouses.Examples.Greenhouse_1") translateModel(Greenhouses.Examples.Greenhouse_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Greenhouses_Greenhouses.Examples.Greenhouse_1") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.068e-05/1.068e-05, allocations: 4.391 kB / 457 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Greenhouses.Examples.Greenhouse_1): time 0.04389/0.0439, allocations: 45.94 MB / 0.4912 GB, free: 6.812 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3089/0.3528, allocations: 172.9 MB / 0.66 GB, free: 11.12 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00359/0.3564, allocations: 99.56 kB / 0.6601 GB, free: 11.02 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003373/0.3597, allocations: 1.441 MB / 0.6615 GB, free: 9.57 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00669/0.3664, allocations: 2.56 MB / 0.664 GB, free: 6.992 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008668/0.3751, allocations: 4.34 MB / 0.6682 GB, free: 2.652 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01653/0.3916, allocations: 15.25 MB / 0.6831 GB, free: 3.371 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007608/0.3992, allocations: 5.776 MB / 0.6888 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00725/0.4065, allocations: 5.512 MB / 0.6942 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006558/0.413, allocations: 5.356 MB / 0.6994 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001488/0.4145, allocations: 1.113 MB / 0.7005 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1997/0.6142, allocations: 3.007 MB / 0.7034 GB, free: 22.42 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.0128/0.627, allocations: 17.75 MB / 0.7207 GB, free: 16.7 MB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.005264/0.6323, allocations: 9.917 MB / 0.7304 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002457/0.6347, allocations: 1.334 MB / 0.7317 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of FrontEnd: time 0.001161/0.6359, allocations: 362.3 kB / 0.7321 GB, free: 10.73 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7731 (1822) * Number of variables: 7731 (1686) Notification: Performance of Bindings: time 0.02799/0.6639, allocations: 40.59 MB / 0.7717 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of FunctionAlias: time 0.006342/0.6702, allocations: 5.652 MB / 0.7772 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of Early Inline: time 0.03481/0.705, allocations: 32.16 MB / 0.8086 GB, free: 3 MB / 0.5294 GB Notification: Performance of Simplify 1: time 0.007335/0.7124, allocations: 3.885 MB / 0.8124 GB, free: 14.95 MB / 0.545 GB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of Alias: time 0.05067/0.763, allocations: 40 MB / 0.8515 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of Simplify 2: time 0.00465/0.7677, allocations: 2.754 MB / 0.8542 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of Remove Stream: time 0.002996/0.7707, allocations: 2.186 MB / 0.8563 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of Detect States: time 0.006827/0.7775, allocations: 5.901 MB / 0.8621 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of Events: time 0.00469/0.7822, allocations: 3.124 MB / 0.8651 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.01058/0.7928, allocations: 8.229 MB / 0.8732 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of Causalize: time 20.81/21.6, allocations: 13.33 GB / 14.2 GB, free: 86.55 MB / 2.232 GB Notification: Performance of After Index Reduction Inline: time 0.01852/21.62, allocations: 24.86 MB / 14.22 GB, free: 78.62 MB / 2.232 GB Notification: Performance of Simplify: time 0.01605/21.64, allocations: 8.336 MB / 14.23 GB, free: 71.5 MB / 2.232 GB Notification: Performance of Inline: time 0.02436/21.66, allocations: 35.76 MB / 14.27 GB, free: 36.17 MB / 2.232 GB Notification: Performance of Partitioning: time 0.001514/21.66, allocations: 443.8 kB / 14.27 GB, free: 35.68 MB / 2.232 GB Notification: Performance of Cleanup: time 0.005028/21.67, allocations: 5.125 MB / 14.27 GB, free: 30.6 MB / 2.232 GB Notification: Performance of Causalize: time 58.58/80.25, allocations: 38.48 GB / 52.75 GB, free: 0.9498 GB / 3.419 GB Error: Internal error NBTearing.minimal failed because number of discrete variables 11 differs from number of discrete equations: 10. (2|11) Discrete Variables *************************** [PRE-] (1) discrete Real $PRE.TMY_and_control.nextTimeEventScaled [DISC] (10) Real[10] $TEV_9 (1|10) Discrete Equations *************************** [FOR-] (10) ($RES_EVT_2324) [----] for $i1 in 1:10 loop [----] [SCAL] (1) $TEV_9[$i1] = $PRE.TMY_and_control.nextTimeEventScaled ($RES_EVT_2325) [----] end for; Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 580] [Calling sys.exit(0), Time elapsed: 82.27584852091968] Failed to read output from testmodel.py, exit status != 0: 80.26833111979067 80.272181184 79.63414807 Calling exit ...