Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls.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.001704/0.001704, allocations: 104 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.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.001803/0.001803, allocations: 190.1 kB / 24.53 MB, free: 3.852 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.54/1.54, allocations: 225.7 MB / 253.4 MB, free: 12.78 MB / 206.1 MB " [Timeout remaining time 178] 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(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.0.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.0.0_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.79e-05/2.79e-05, allocations: 6.219 kB / 371.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls): time 0.9701/0.9701, allocations: 228.2 MB / 0.5859 GB, free: 1.121 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02415/0.9943, allocations: 12.22 MB / 0.5978 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004276/0.9985, allocations: 92.47 kB / 0.5979 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004096/1.003, allocations: 1.062 MB / 0.5989 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01794/1.021, allocations: 5.458 MB / 0.6043 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02159/1.042, allocations: 6.223 MB / 0.6103 GB, free: 184 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01984/1.062, allocations: 11.45 MB / 0.6215 GB, free: 11.99 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008905/1.071, allocations: 2.57 MB / 0.624 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02164/1.093, allocations: 7.06 MB / 0.6309 GB, free: 7.176 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007618/1.1, allocations: 2.859 MB / 0.6337 GB, free: 5.762 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00197/1.102, allocations: 284 kB / 0.634 GB, free: 5.484 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02206/1.124, allocations: 7.535 MB / 0.6413 GB, free: 14.73 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.01303/1.137, allocations: 6.64 MB / 0.6478 GB, free: 8.684 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.005782/1.143, allocations: 3.912 MB / 0.6516 GB, free: 5.051 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002223/1.145, allocations: 232 kB / 0.6519 GB, free: 4.824 MB / 478.1 MB Notification: Performance of FrontEnd: time 0.0007963/1.146, allocations: 80.36 kB / 0.6519 GB, free: 4.758 MB / 478.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.03236/1.178, allocations: 18.25 MB / 0.6698 GB, free: 3.254 MB / 494.1 MB [/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.006004/1.184, allocations: 2.675 MB / 0.6724 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of [SIM] Early Inline: time 0.0263/1.211, allocations: 11.85 MB / 0.684 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of [SIM] Simplify 1: time 0.006458/1.217, allocations: 1.901 MB / 0.6858 GB, free: 3.027 MB / 0.4981 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.02338/1.241, allocations: 8.692 MB / 0.6943 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of [SIM] Simplify 2: time 0.005402/1.246, allocations: 1.776 MB / 0.696 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of [SIM] Remove Stream: time 0.002828/1.249, allocations: 0.9332 MB / 0.6969 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of [SIM] Detect States: time 0.005187/1.254, allocations: 2.272 MB / 0.6992 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of [SIM] Events: time 0.001736/1.256, allocations: 0.8295 MB / 0.7 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of [SIM] Partitioning: time 0.006252/1.262, allocations: 4.071 MB / 0.7039 GB, free: 15.9 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.658530613000039] 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.2815083099994808 1.297043788 0.14723070300000002 Calling exit ...