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.0014/0.0014, 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.001503/0.001503, allocations: 205.2 kB / 24.49 MB, free: 3.965 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.445/1.445, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.391e-05/2.391e-05, allocations: 5.797 kB / 378.9 MB, free: 2.527 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls): time 0.7636/0.7636, allocations: 232.5 MB / 0.5971 GB, free: 1.043 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01988/0.7835, allocations: 12.28 MB / 0.609 GB, free: 0.668 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003026/0.7865, allocations: 99.03 kB / 0.6091 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003351/0.7898, allocations: 1.058 MB / 0.6102 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01873/0.8086, allocations: 5.534 MB / 0.6156 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01963/0.8282, allocations: 6.274 MB / 0.6217 GB, free: 13.64 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01859/0.8468, allocations: 11.64 MB / 0.6331 GB, free: 8.078 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006237/0.853, allocations: 2.577 MB / 0.6356 GB, free: 6.285 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01664/0.8697, allocations: 7.175 MB / 0.6426 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006861/0.8765, allocations: 2.898 MB / 0.6454 GB, free: 13.98 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001429/0.878, allocations: 284 kB / 0.6457 GB, free: 13.7 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01869/0.8967, allocations: 7.871 MB / 0.6534 GB, free: 6.605 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.00972/0.9064, allocations: 6.662 MB / 0.6599 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.004656/0.911, allocations: 3.922 MB / 0.6637 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001231/0.9123, allocations: 232 kB / 0.6639 GB, free: 12.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.0005575/0.9128, allocations: 79.22 kB / 0.664 GB, free: 12.6 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.02365/0.9365, allocations: 18.16 MB / 0.6817 GB, free: 11.16 MB / 0.4981 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1493:5-1493:109:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $i21 [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1493:5-1493:109:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $i37 Notification: Performance of [SIM] FunctionAlias: time 0.00409/0.9406, allocations: 2.692 MB / 0.6844 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of [SIM] Early Inline: time 0.01585/0.9564, allocations: 11.72 MB / 0.6958 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of [SIM] Simplify 1: time 0.004375/0.9608, allocations: 1.956 MB / 0.6977 GB, free: 10.96 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.01389/0.9747, allocations: 8.642 MB / 0.7062 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of [SIM] Simplify 2: time 0.003396/0.9781, allocations: 1.849 MB / 0.708 GB, free: 68 kB / 0.5137 GB Notification: Performance of [SIM] Remove Stream: time 0.00156/0.9796, allocations: 0.9412 MB / 0.7089 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of [SIM] Detect States: time 0.002769/0.9824, allocations: 2.281 MB / 0.7111 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of [SIM] Events: time 0.001341/0.9837, allocations: 0.8109 MB / 0.7119 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of [SIM] Partitioning: time 0.005167/0.9889, allocations: 4.083 MB / 0.7159 GB, free: 7.816 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.211605515796691] 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.0056654890067875 1.019745839 0.103726363 Calling exit ...