Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.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.001394/0.001394, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.001762/0.001762, allocations: 208.8 kB / 24.49 MB, free: 3.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.475/1.475, allocations: 230.6 MB / 258.3 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.309e-05/3.309e-05, allocations: 6.219 kB / 378.9 MB, free: 2.535 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.7356/0.7356, allocations: 181.9 MB / 0.5477 GB, free: 1.527 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01386/0.7495, allocations: 9.471 MB / 0.5569 GB, free: 1.484 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.7506, allocations: 33.44 kB / 0.557 GB, free: 1.484 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.7519, allocations: 437.8 kB / 0.5574 GB, free: 1.484 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009857/0.7618, allocations: 3.293 MB / 0.5606 GB, free: 1.371 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007085/0.7688, allocations: 2.755 MB / 0.5633 GB, free: 1.297 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004737/0.7736, allocations: 3.409 MB / 0.5666 GB, free: 1.273 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/0.7749, allocations: 0.8255 MB / 0.5674 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007003/0.7819, allocations: 3.208 MB / 0.5706 GB, free: 1.184 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002169/0.7841, allocations: 1.076 MB / 0.5716 GB, free: 1.184 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002125/0.7843, allocations: 110.4 kB / 0.5717 GB, free: 1.184 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009812/0.7941, allocations: 5.155 MB / 0.5768 GB, free: 1.125 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.002903/0.797, allocations: 2.56 MB / 0.5793 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009365/0.7979, allocations: 1.465 MB / 0.5807 GB, free: 64 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002873/0.7982, allocations: 104.9 kB / 0.5808 GB, free: 64 kB / 446.1 MB Notification: Performance of FrontEnd: time 0.0002396/0.7985, allocations: 34.36 kB / 0.5808 GB, free: 56 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 (186) * Number of variables: 228 (180) Notification: Performance of [SIM] Bindings: time 0.006785/0.8052, allocations: 6.502 MB / 0.5872 GB, free: 14.02 MB / 462.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0009646/0.8062, allocations: 0.8698 MB / 0.588 GB, free: 13.85 MB / 462.1 MB Notification: Performance of [SIM] Early Inline: time 0.004446/0.8107, allocations: 4.421 MB / 0.5923 GB, free: 13.71 MB / 462.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001183/0.8118, allocations: 0.7741 MB / 0.5931 GB, free: 13.51 MB / 462.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.003911/0.8157, allocations: 3.102 MB / 0.5961 GB, free: 12.75 MB / 462.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001114/0.8169, allocations: 0.7656 MB / 0.5969 GB, free: 12.4 MB / 462.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0004923/0.8174, allocations: 426.6 kB / 0.5973 GB, free: 12.23 MB / 462.1 MB Notification: Performance of [SIM] Detect States: time 0.0009339/0.8183, allocations: 0.9113 MB / 0.5982 GB, free: 11.87 MB / 462.1 MB Notification: Performance of [SIM] Events: time 0.000515/0.8188, allocations: 360.4 kB / 0.5985 GB, free: 11.74 MB / 462.1 MB Notification: Performance of [SIM] Partitioning: time 0.001874/0.8207, allocations: 1.718 MB / 0.6002 GB, free: 11.09 MB / 462.1 MB Notification: Performance of [SIM] Causalize: time 0.005593/0.8263, allocations: 4.354 MB / 0.6044 GB, free: 9.852 MB / 462.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003586/0.8299, allocations: 3.446 MB / 0.6078 GB, free: 7.566 MB / 462.1 MB Notification: Performance of [INI] Simplify: time 0.002943/0.8328, allocations: 1.636 MB / 0.6094 GB, free: 6.531 MB / 462.1 MB Notification: Performance of [INI] Inline: time 0.005985/0.8388, allocations: 5.842 MB / 0.6151 GB, free: 2.539 MB / 462.1 MB Notification: Performance of [INI] Partitioning: time 0.0001577/0.8389, allocations: 74.08 kB / 0.6152 GB, free: 2.492 MB / 462.1 MB Notification: Performance of [INI] Cleanup: time 0.00119/0.8401, allocations: 1.076 MB / 0.6162 GB, free: 1.469 MB / 462.1 MB Notification: Performance of [INI] Causalize: time 0.01508/0.8552, allocations: 10.03 MB / 0.626 GB, free: 7.398 MB / 478.1 MB Error: Internal error Trying to construct residual expression of type pipe.flowModel.Medium.ThermodynamicState for equation [RECD] (4) pipe.flowModel.states[1] = Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe.Medium.ThermodynamicState(traceVolume.port.p, Modelica.Math.Nonlinear.solveOneNonlinearEquation(function Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe.Medium.T_phX.f_nonlinear(p = BOX(traceVolume.port.p), h = BOX(volume.ports[2].h_outflow), X = BOX({volume.ports[2].Xi_outflow[1]})), 190.0, 647.0, 2.220446049250313e-14), {volume.ports[2].Xi_outflow[1], 1.0 - sum({volume.ports[2].Xi_outflow[1]})}) ($RES_SIM_284) but operator '+' is not defined. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.077986082062125] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.T', 'volume.medium.Xi[1]', 'volume.medium.p'] 0.8648011102341115 0.878611562 0.07702850800000001 Calling exit ...