Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.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.001441/0.001441, allocations: 100.4 kB / 19.72 MB, free: 2.121 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.001529/0.001529, allocations: 210 kB / 23.01 MB, free: 4.93 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.324/1.324, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.845/2.845, allocations: 0.49 GB / 0.7958 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tow.TAir|tow.vol.heatPort.Q_flow|tow.m_flow|onOffCon.u|onOffCon.reference",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tow.TAir|tow.vol.heatPort.Q_flow|tow.m_flow|onOffCon.u|onOffCon.reference",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/1.921e-05, allocations: 2.281 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb): time 0.08529/0.08531, allocations: 83.36 MB / 1.236 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1837/0.269, allocations: 147.9 MB / 1.381 GB, free: 9.348 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004576/0.2736, allocations: 134.9 kB / 1.381 GB, free: 9.215 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.006805/0.2804, allocations: 2.121 MB / 1.383 GB, free: 7.086 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01024/0.2907, allocations: 3.594 MB / 1.387 GB, free: 3.48 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007966/0.2986, allocations: 3.217 MB / 1.39 GB, free: 288 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01443/0.3131, allocations: 10.99 MB / 1.4 GB, free: 5.266 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004173/0.3172, allocations: 2.605 MB / 1.403 GB, free: 2.582 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007558/0.3248, allocations: 3.976 MB / 1.407 GB, free: 14.61 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00358/0.3284, allocations: 2.07 MB / 1.409 GB, free: 12.53 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0005301/0.3289, allocations: 268 kB / 1.409 GB, free: 12.27 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008387/0.3373, allocations: 4.967 MB / 1.414 GB, free: 7.293 MB / 1.107 GB Notification: Performance of combineBinaries: time 0.005838/0.3431, allocations: 6.463 MB / 1.42 GB, free: 0.7695 MB / 1.107 GB Notification: Performance of replaceArrayConstructors: time 0.00328/0.3464, allocations: 4.086 MB / 1.424 GB, free: 12.64 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005973/0.347, allocations: 272 kB / 1.425 GB, free: 12.37 MB / 1.123 GB Notification: Performance of FrontEnd: time 0.0007299/0.3477, allocations: 119.3 kB / 1.425 GB, free: 12.25 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 511 (466) * Number of variables: 511 (456) Notification: Performance of [SIM] Bindings: time 0.01517/0.3629, allocations: 15.81 MB / 1.44 GB, free: 12.07 MB / 1.139 GB Notification: Performance of [SIM] FunctionAlias: time 0.001801/0.3647, allocations: 1.542 MB / 1.442 GB, free: 10.48 MB / 1.139 GB Notification: Performance of [SIM] Early Inline: time 0.007215/0.3719, allocations: 7.03 MB / 1.449 GB, free: 3.387 MB / 1.139 GB Notification: Performance of [SIM] Simplify 1: time 0.002184/0.3741, allocations: 1.262 MB / 1.45 GB, free: 2.004 MB / 1.139 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.01711/0.3912, allocations: 12.03 MB / 1.462 GB, free: 4.953 MB / 1.154 GB Notification: Performance of [SIM] Simplify 2: time 0.001453/0.3927, allocations: 0.8838 MB / 1.462 GB, free: 3.996 MB / 1.154 GB Notification: Performance of [SIM] Remove Stream: time 0.0005855/0.3932, allocations: 487.8 kB / 1.463 GB, free: 3.484 MB / 1.154 GB Notification: Performance of [SIM] Detect States: time 0.00128/0.3945, allocations: 1.134 MB / 1.464 GB, free: 2.277 MB / 1.154 GB Notification: Performance of [SIM] Events: time 0.0006051/0.3951, allocations: 456.3 kB / 1.464 GB, free: 1.836 MB / 1.154 GB Notification: Performance of [SIM] Partitioning: time 0.001851/0.397, allocations: 1.687 MB / 1.466 GB, free: 44 kB / 1.154 GB Notification: Performance of [SIM] Causalize: time 0.008528/0.4055, allocations: 6.342 MB / 1.472 GB, free: 9.473 MB / 1.17 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003592/0.4091, allocations: 3.622 MB / 1.476 GB, free: 5.848 MB / 1.17 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBEquation.mo:621:7-621:72:writable] Error: Type mismatch in if-expression in component . True branch: Buildings.Utilities.Math.Functions.splineDerivatives(pum.eff.per.motorEfficiency_yMot_generic.y, pum.eff.per.motorEfficiency_yMot_generic.eta, true) has type Real[9], false branch: 0.0 has type Real. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 6.081349923741072] Failed to read output from testmodel.py, exit status != 0: 0.41781026823446155 0.431109598 0.080552989 Calling exit ...