Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001406/0.001406, allocations: 78.58 kB / 19.95 MB, free: 1.949 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.001627/0.001627, allocations: 169.4 kB / 23.22 MB, free: 4.961 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.348/1.348, allocations: 177.2 MB / 203.6 MB, free: 9.203 MB / 190.1 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-531:190: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-531:198: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 1.128/1.128, allocations: 155 MB / 415 MB, free: 4.934 MB / 382.1 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.CHPs.OrganicRankine.Examples.ORCHotWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater") translateModel(IDEAS.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.408e-05, allocations: 4.797 kB / 0.6198 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater): time 0.5556/0.5556, allocations: 281.1 MB / 0.8944 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.04651/0.6021, allocations: 31.16 MB / 0.9248 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005414/0.6075, allocations: 249.9 kB / 0.925 GB, free: 10.79 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.008351/0.6159, allocations: 3.299 MB / 0.9283 GB, free: 7.473 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01611/0.632, allocations: 6.702 MB / 0.9348 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01023/0.6422, allocations: 4.506 MB / 0.9392 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.02787/0.6701, allocations: 21.17 MB / 0.9599 GB, free: 7.066 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005945/0.676, allocations: 3.515 MB / 0.9633 GB, free: 3.484 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01473/0.6908, allocations: 7.535 MB / 0.9707 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005264/0.696, allocations: 2.909 MB / 0.9735 GB, free: 9.027 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0007223/0.6967, allocations: 400 kB / 0.9739 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01201/0.7088, allocations: 6.854 MB / 0.9806 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of combineBinaries: time 0.00848/0.7172, allocations: 8.825 MB / 0.9892 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 0.004862/0.7221, allocations: 5.39 MB / 0.9945 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001075/0.7232, allocations: 396 kB / 0.9949 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of FrontEnd: time 0.0008348/0.724, allocations: 147.3 kB / 0.995 GB, free: 2.898 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.02334/0.7474, allocations: 23.18 MB / 1.018 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of [SIM] FunctionAlias: time 0.004466/0.7518, allocations: 3.408 MB / 1.021 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of [SIM] Early Inline: time 0.3849/1.137, allocations: 12.98 MB / 1.034 GB, free: 83.23 MB / 0.8575 GB Notification: Performance of [SIM] Simplify 1: time 0.004431/1.141, allocations: 1.684 MB / 1.035 GB, free: 82.81 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.02339/1.165, allocations: 16.77 MB / 1.052 GB, free: 79.52 MB / 0.8575 GB Notification: Performance of [SIM] Simplify 2: time 0.00219/1.167, allocations: 1.377 MB / 1.053 GB, free: 79.18 MB / 0.8575 GB Notification: Performance of [SIM] Remove Stream: time 0.0009607/1.168, allocations: 0.9259 MB / 1.054 GB, free: 79.04 MB / 0.8575 GB Notification: Performance of [SIM] Detect States: time 0.002821/1.17, allocations: 3.042 MB / 1.057 GB, free: 78.56 MB / 0.8575 GB Notification: Performance of [SIM] Events: time 0.000633/1.171, allocations: 491.7 kB / 1.057 GB, free: 78.48 MB / 0.8575 GB Notification: Performance of [SIM] Partitioning: time 0.003435/1.175, allocations: 3.346 MB / 1.061 GB, free: 78.04 MB / 0.8575 GB Notification: Performance of [SIM] Causalize: time 0.01218/1.187, allocations: 10.29 MB / 1.071 GB, free: 76.63 MB / 0.8575 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.005242/1.192, allocations: 6.827 MB / 1.077 GB, free: 76.62 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_78 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.597244752570987] Failed to read output from testmodel.py, exit status != 0: 1.2025420255959034 1.211597945 0.485223165 Calling exit ...