Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls.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.001612/0.001612, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.002011/0.002011, allocations: 212.5 kB / 24.55 MB, free: 3.824 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.604/1.604, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.RoomCO2WithControls,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|PID.I.y|ductIn.mediums.1..T|ductIn.mediums.1..Xi.1.|ductIn.mediums.1..p|ductIn.mediums.2..T|ductIn.mediums.2..Xi.1.|ductIn.mediums.2..p|ductOut.mediums.1..T|ductOut.mediums.1..Xi.1.|ductOut.mediums.1..p|ductOut.mediums.2..T|ductOut.mediums.2..Xi.1.|ductOut.mediums.2..p|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls") translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|PID.I.y|ductIn.mediums.1..T|ductIn.mediums.1..Xi.1.|ductIn.mediums.1..p|ductIn.mediums.2..T|ductIn.mediums.2..Xi.1.|ductIn.mediums.2..p|ductOut.mediums.1..T|ductOut.mediums.1..Xi.1.|ductOut.mediums.1..p|ductOut.mediums.2..T|ductOut.mediums.2..Xi.1.|ductOut.mediums.2..p|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.705e-05, allocations: 5.375 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls): time 0.9301/0.9301, allocations: 232.5 MB / 0.5972 GB, free: 1.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02774/0.9579, allocations: 12.28 MB / 0.6092 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004499/0.9624, allocations: 94.47 kB / 0.6093 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004067/0.9664, allocations: 1.055 MB / 0.6103 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02026/0.9867, allocations: 5.538 MB / 0.6157 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01964/1.006, allocations: 6.204 MB / 0.6218 GB, free: 13.63 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01681/1.023, allocations: 11.51 MB / 0.633 GB, free: 8.199 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007726/1.031, allocations: 2.574 MB / 0.6355 GB, free: 6.406 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02126/1.052, allocations: 7.176 MB / 0.6425 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006781/1.059, allocations: 2.849 MB / 0.6453 GB, free: 14.12 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00151/1.06, allocations: 284 kB / 0.6456 GB, free: 13.84 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02138/1.082, allocations: 7.625 MB / 0.653 GB, free: 6.992 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.0118/1.094, allocations: 6.661 MB / 0.6595 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.005829/1.099, allocations: 3.93 MB / 0.6634 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002304/1.102, allocations: 232 kB / 0.6636 GB, free: 13.04 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.0008446/1.103, allocations: 72.52 kB / 0.6637 GB, free: 12.98 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 829 (465) * Number of variables: 829 (436) Notification: Performance of [SIM] Bindings: time 0.03212/1.135, allocations: 18.28 MB / 0.6815 GB, free: 11.45 MB / 0.4981 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1505:5-1505:109:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $i21 [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1505:5-1505:109:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $i37 Notification: Performance of [SIM] FunctionAlias: time 0.0063/1.141, allocations: 2.703 MB / 0.6841 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of [SIM] Early Inline: time 0.02325/1.164, allocations: 11.86 MB / 0.6957 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of [SIM] Simplify 1: time 0.005885/1.17, allocations: 1.908 MB / 0.6976 GB, free: 11.16 MB / 0.5137 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.01854/1.189, allocations: 8.699 MB / 0.7061 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of [SIM] Simplify 2: time 0.004428/1.193, allocations: 1.787 MB / 0.7078 GB, free: 272 kB / 0.5137 GB Notification: Performance of [SIM] Remove Stream: time 0.00221/1.195, allocations: 0.9346 MB / 0.7087 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of [SIM] Detect States: time 0.004449/1.2, allocations: 2.269 MB / 0.711 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of [SIM] Events: time 0.00249/1.202, allocations: 0.8309 MB / 0.7118 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of [SIM] Partitioning: time 0.008987/1.211, allocations: 4.076 MB / 0.7158 GB, free: 8.02 MB / 0.5294 GB Error: Internal error NBSlice.locationToIndex failed because value of 3 is too large for size 2. Error: Internal error NBSlice.resolveDependency failed for: ductIn.statesFM[2:3].X. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (8) ductIn.statesFM[2:3] = ductIn.heatTransfer.states ($RES_SIM_49) " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.6653618390555494] Failed to read output from testmodel.py, exit status != 0: ['time', 'PID.I.y', 'ductIn.mediums[1].T', 'ductIn.mediums[1].Xi[1]', 'ductIn.mediums[1].p', 'ductIn.mediums[2].T', 'ductIn.mediums[2].Xi[1]', 'ductIn.mediums[2].p', 'ductOut.mediums[1].T', 'ductOut.mediums[1].Xi[1]', 'ductOut.mediums[1].p', 'ductOut.mediums[2].T', 'ductOut.mediums[2].Xi[1]', 'ductOut.mediums[2].p', 'volume.medium.T', 'volume.medium.Xi[1]', 'volume.medium.p'] 1.2359046610072255 1.257889694 0.15030603 Calling exit ...