Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.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.001318/0.001318, allocations: 74.72 kB / 19.96 MB, free: 1.594 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.001474/0.001474, allocations: 164.2 kB / 23.23 MB, free: 4.758 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.35/1.35, 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.125/1.125, allocations: 154.7 MB / 414.7 MB, free: 5.145 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.Movers.BaseClasses.Validation.NegativePressureOrFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow") translateModel(IDEAS.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.333e-05/1.333e-05, allocations: 2.281 kB / 0.6195 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.003357/0.00337, allocations: 2.276 MB / 0.6217 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005891/0.009261, allocations: 3.58 MB / 0.6252 GB, free: 14.67 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.009399, allocations: 7.938 kB / 0.6252 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002569/0.01197, allocations: 1.087 MB / 0.6263 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000828/0.0128, allocations: 454.1 kB / 0.6267 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009951/0.01379, allocations: 0.5301 MB / 0.6273 GB, free: 12.6 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005706/0.0195, allocations: 4.158 MB / 0.6313 GB, free: 8.434 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.0196, allocations: 17.95 kB / 0.6313 GB, free: 8.414 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000697/0.0203, allocations: 0.503 MB / 0.6318 GB, free: 7.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002983/0.0206, allocations: 183.5 kB / 0.632 GB, free: 7.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.02063, allocations: 16 kB / 0.632 GB, free: 7.715 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004184/0.02482, allocations: 3.235 MB / 0.6352 GB, free: 4.477 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0005514/0.02537, allocations: 0.5999 MB / 0.6358 GB, free: 3.871 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 0.0003017/0.02567, allocations: 415.1 kB / 0.6362 GB, free: 3.461 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.02572, allocations: 20 kB / 0.6362 GB, free: 3.441 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.46e-05/0.02575, allocations: 7.938 kB / 0.6362 GB, free: 3.434 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 (20) * Number of variables: 20 (20) Notification: Performance of [SIM] Bindings: time 0.002455/0.02821, allocations: 2.532 MB / 0.6387 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of [SIM] FunctionAlias: time 0.0003816/0.02859, allocations: 265.8 kB / 0.6389 GB, free: 500 kB / 0.545 GB Notification: Performance of [SIM] Early Inline: time 0.0008171/0.0294, allocations: 0.7378 MB / 0.6396 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of [SIM] Simplify 1: time 0.0002462/0.02965, allocations: 177.8 kB / 0.6398 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of [SIM] Alias: time 0.0009818/0.03063, allocations: 0.6816 MB / 0.6405 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of [SIM] Simplify 2: time 0.0002152/0.03085, allocations: 152.8 kB / 0.6406 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of [SIM] Remove Stream: time 9.714e-05/0.03094, allocations: 88.34 kB / 0.6407 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of [SIM] Detect States: time 0.0003367/0.03128, allocations: 308.4 kB / 0.641 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of [SIM] Events: time 0.0001113/0.03139, allocations: 67.77 kB / 0.6411 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of [SIM] Partitioning: time 0.0003774/0.03177, allocations: 304.3 kB / 0.6413 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of [SIM] Causalize: time 0.0004025/0.03217, allocations: 292.5 kB / 0.6416 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004565/0.03263, allocations: 487.4 kB / 0.6421 GB, free: 12.86 MB / 0.5606 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_9 has type Real[9], false branch: 0.0 has type Real. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.482498127967119] Failed to read output from testmodel.py, exit status != 0: 0.04129616916179657 0.054867201000000004 0.026241991000000003 Calling exit ...