Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater.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.001508/0.001508, allocations: 86.02 kB / 19.96 MB, free: 1.941 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.001658/0.001658, allocations: 164.2 kB / 23.23 MB, free: 4.969 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.354/1.354, allocations: 177.2 MB / 203.6 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.154/1.154, allocations: 154.7 MB / 414.7 MB, free: 5.148 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.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(IDEAS.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater") translateModel(IDEAS.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.675e-05, allocations: 5.344 kB / 0.6195 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater): time 0.5858/0.5858, allocations: 281.1 MB / 0.894 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.05175/0.6376, allocations: 31.18 MB / 0.9245 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006332/0.6439, allocations: 245.9 kB / 0.9247 GB, free: 11.26 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.009523/0.6534, allocations: 3.288 MB / 0.9279 GB, free: 7.957 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01739/0.6708, allocations: 6.7 MB / 0.9345 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0114/0.6822, allocations: 4.522 MB / 0.9389 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.03019/0.7124, allocations: 21.17 MB / 0.9596 GB, free: 7.535 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006109/0.7185, allocations: 3.508 MB / 0.963 GB, free: 3.961 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0169/0.7354, allocations: 7.53 MB / 0.9704 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006115/0.7415, allocations: 2.895 MB / 0.9732 GB, free: 9.523 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0008358/0.7424, allocations: 408 kB / 0.9736 GB, free: 9.125 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01261/0.755, allocations: 6.87 MB / 0.9803 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of combineBinaries: time 0.009657/0.7646, allocations: 8.817 MB / 0.9889 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 0.005708/0.7703, allocations: 5.393 MB / 0.9942 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0013/0.7716, allocations: 400 kB / 0.9945 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of FrontEnd: time 0.0008763/0.7725, allocations: 147.3 kB / 0.9947 GB, free: 3.371 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 622 (588) * Number of variables: 622 (579) Notification: Performance of [SIM] Bindings: time 0.02601/0.7985, allocations: 23.18 MB / 1.017 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of [SIM] FunctionAlias: time 0.006315/0.8049, allocations: 4.114 MB / 1.021 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of [SIM] Early Inline: time 0.379/1.184, allocations: 13.5 MB / 1.035 GB, free: 82.72 MB / 0.8575 GB Notification: Performance of [SIM] Simplify 1: time 0.003785/1.188, allocations: 1.71 MB / 1.036 GB, free: 82.29 MB / 0.8575 GB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.0232/1.211, allocations: 17.19 MB / 1.053 GB, free: 78.69 MB / 0.8575 GB Notification: Performance of [SIM] Simplify 2: time 0.002183/1.213, allocations: 1.338 MB / 1.054 GB, free: 78.36 MB / 0.8575 GB Notification: Performance of [SIM] Remove Stream: time 0.001033/1.214, allocations: 0.9422 MB / 1.055 GB, free: 78.21 MB / 0.8575 GB Notification: Performance of [SIM] Detect States: time 0.002901/1.217, allocations: 3.13 MB / 1.058 GB, free: 77.72 MB / 0.8575 GB Notification: Performance of [SIM] Events: time 0.0005718/1.218, allocations: 465.7 kB / 1.059 GB, free: 77.64 MB / 0.8575 GB Notification: Performance of [SIM] Partitioning: time 0.003696/1.221, allocations: 3.447 MB / 1.062 GB, free: 77.09 MB / 0.8575 GB Notification: Performance of [SIM] Causalize: time 0.01448/1.236, allocations: 11.64 MB / 1.073 GB, free: 75.53 MB / 0.8575 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.005643/1.241, allocations: 6.884 MB / 1.08 GB, free: 75.51 MB / 0.8575 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBEquation.mo:675:7-675:72:writable] Error: Type mismatch in if-expression in component . True branch: $FUN_172 has type Real[4], false branch: 0.0 has type Real. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 4.691950600594282] Failed to read output from testmodel.py, exit status != 0: 1.2517957873642445 1.261243292 0.486157918 Calling exit ...