Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 110.4 kB / 20.54 MB, free: 1.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 191.6 kB / 23.72 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 225.6 MB / 252.3 MB, free: 13.35 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1949/0.1949, allocations: 44.92 MB / 352.4 MB, free: 12.25 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|Tmix1_1.T|Tmix1_2.T|Tmix2.T|Tdiff|volume1_1.medium.h|volume1_2.medium.h|volume2_1.medium.h|volume2_2.medium.h",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|Tmix1_1.T|Tmix1_2.T|Tmix2.T|Tdiff|volume1_1.medium.h|volume1_2.medium.h|volume2_1.medium.h|volume2_2.medium.h",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.569e-05, allocations: 2.281 kB / 495.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.2559/0.2559, allocations: 76.35 MB / 0.5589 GB, free: 60 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04121/0.2971, allocations: 33.72 MB / 0.5918 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002315/0.2994, allocations: 43.75 kB / 0.5918 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003102/0.3025, allocations: 1.056 MB / 0.5929 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01622/0.3187, allocations: 5.143 MB / 0.5979 GB, free: 13.22 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01761/0.3363, allocations: 6.353 MB / 0.6041 GB, free: 6.875 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00894/0.3453, allocations: 6.544 MB / 0.6105 GB, free: 324 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002984/0.3483, allocations: 1.715 MB / 0.6122 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01257/0.3608, allocations: 6.272 MB / 0.6183 GB, free: 8.242 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003359/0.3642, allocations: 1.647 MB / 0.6199 GB, free: 6.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005055/0.3647, allocations: 172 kB / 0.6201 GB, free: 6.422 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01384/0.3785, allocations: 6.786 MB / 0.6267 GB, free: 15.63 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.004161/0.3827, allocations: 3.669 MB / 0.6303 GB, free: 11.93 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.001808/0.3845, allocations: 2.105 MB / 0.6323 GB, free: 9.797 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005457/0.385, allocations: 299.2 kB / 0.6326 GB, free: 9.504 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0003792/0.3854, allocations: 63.66 kB / 0.6327 GB, free: 9.441 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 (353) * Number of variables: 441 (333) Notification: Performance of Bindings: time 0.008751/0.3942, allocations: 8.075 MB / 0.6406 GB, free: 1.059 MB / 462.1 MB Notification: Performance of FunctionAlias: time 0.0009261/0.3951, allocations: 0.8627 MB / 0.6414 GB, free: 188 kB / 462.1 MB Notification: Performance of Early Inline: time 0.005003/0.4001, allocations: 4.49 MB / 0.6458 GB, free: 11.63 MB / 478.1 MB Notification: Performance of Simplify 1: time 0.001252/0.4014, allocations: 0.7932 MB / 0.6466 GB, free: 10.78 MB / 478.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of Alias: time 0.006093/0.4075, allocations: 4.233 MB / 0.6507 GB, free: 5.879 MB / 478.1 MB Notification: Performance of Simplify 2: time 0.001162/0.4086, allocations: 0.7437 MB / 0.6514 GB, free: 5.074 MB / 478.1 MB Notification: Performance of Remove Stream: time 0.0007399/0.4094, allocations: 0.6854 MB / 0.6521 GB, free: 4.328 MB / 478.1 MB Notification: Performance of Detect States: time 0.001134/0.4105, allocations: 1.06 MB / 0.6531 GB, free: 3.195 MB / 478.1 MB Notification: Performance of Events: time 0.001599/0.4121, allocations: 1.286 MB / 0.6544 GB, free: 1.93 MB / 478.1 MB Notification: Performance of Partitioning: time 0.002832/0.4149, allocations: 2.498 MB / 0.6568 GB, free: 14.95 MB / 494.1 MB Notification: Performance of Causalize: time 0.01407/0.429, allocations: 10.41 MB / 0.667 GB, free: 4.109 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.00443/0.4334, allocations: 4.112 MB / 0.671 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of Simplify: time 0.005555/0.439, allocations: 3.213 MB / 0.6741 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of Inline: time 0.005984/0.445, allocations: 5.802 MB / 0.6798 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of Partitioning: time 0.0002451/0.4452, allocations: 128.4 kB / 0.6799 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of Cleanup: time 0.001035/0.4462, allocations: 1.104 MB / 0.681 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of Causalize: time 0.02195/0.4682, allocations: 16 MB / 0.6966 GB, free: 5.184 MB / 0.5137 GB Error: Internal error NBEquation.Equation.getResidualExp failed for: [-IF-] (1) ($RES_SIM_315) [----] if volume1_1.regularFlow[$i1] then [----] [SCAL] (1) volume1_1.ports[$i1].p = volume1_1.vessel_ps_static[$i1] ($RES_SIM_316) [----] elseif volume1_1.inFlow[$i1] then [----] [SCAL] (1) volume1_1.ports[$i1].p = volume1_1.vessel_ps_static[$i1] ($RES_SIM_317) [----] else [----] [SCAL] (1) volume1_1.ports[$i1].m_flow = 0.0 ($RES_SIM_318) [----] end if; Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.7994398828595877]