Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001591/0.001591, allocations: 109.9 kB / 22 MB, free: 5.219 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.001778/0.001778, allocations: 217.5 kB / 25.3 MB, free: 2.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 207.7 MB / 236.2 MB, free: 9.773 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.262e-05, allocations: 2.281 kB / 348.5 MB, free: 9.383 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls): time 1.007/1.007, allocations: 240.7 MB / 0.5754 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03156/1.039, allocations: 14.33 MB / 0.5894 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004331/1.043, allocations: 97.22 kB / 0.5895 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004373/1.047, allocations: 1.103 MB / 0.5906 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02279/1.07, allocations: 6.081 MB / 0.5965 GB, free: 496 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02337/1.094, allocations: 6.524 MB / 0.6029 GB, free: 284 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01978/1.113, allocations: 11.53 MB / 0.6142 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01057/1.124, allocations: 2.566 MB / 0.6167 GB, free: 14 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02638/1.15, allocations: 7.571 MB / 0.6241 GB, free: 10.87 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008608/1.159, allocations: 2.859 MB / 0.6269 GB, free: 9.68 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002086/1.161, allocations: 284.7 kB / 0.6271 GB, free: 9.68 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02812/1.189, allocations: 8.426 MB / 0.6354 GB, free: 5.234 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.01409/1.203, allocations: 6.638 MB / 0.6418 GB, free: 15.18 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.006319/1.21, allocations: 3.92 MB / 0.6457 GB, free: 11.54 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002577/1.212, allocations: 232 kB / 0.6459 GB, free: 11.31 MB / 478.1 MB Notification: Performance of FrontEnd: time 0.0009307/1.213, allocations: 86.81 kB / 0.646 GB, free: 11.25 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.03816/1.251, allocations: 18.26 MB / 0.6638 GB, free: 9.758 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.00644/1.258, allocations: 2.649 MB / 0.6664 GB, free: 7.141 MB / 494.1 MB Notification: Performance of [SIM] Early Inline: time 0.02939/1.287, allocations: 11.98 MB / 0.6781 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of [SIM] Simplify 1: time 0.008338/1.295, allocations: 1.928 MB / 0.68 GB, free: 9.383 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.02816/1.324, allocations: 8.71 MB / 0.6885 GB, free: 348 kB / 0.4981 GB Notification: Performance of [SIM] Simplify 2: time 0.006805/1.33, allocations: 1.82 MB / 0.6903 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of [SIM] Remove Stream: time 0.003802/1.334, allocations: 0.935 MB / 0.6912 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of [SIM] Detect States: time 0.006727/1.341, allocations: 2.285 MB / 0.6934 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of [SIM] Events: time 0.002496/1.343, allocations: 0.8274 MB / 0.6942 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of [SIM] Partitioning: time 0.01105/1.354, allocations: 4.077 MB / 0.6982 GB, free: 6.184 MB / 0.5137 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.9318517159554176] 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.3793572510476224 1.3961420599999999 0.17917058800000002 Calling exit ...