Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002661/0.002661, allocations: 99.64 kB / 21.25 MB, free: 424 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002823/0.002823, allocations: 215.3 kB / 24.55 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.599/1.599, allocations: 230.5 MB / 258.2 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.521e-05, allocations: 2.281 kB / 379 MB, free: 2.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls): time 0.9776/0.9776, allocations: 232.5 MB / 0.5972 GB, free: 1.043 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02498/1.003, allocations: 12.27 MB / 0.6092 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003555/1.006, allocations: 95.81 kB / 0.6092 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005382/1.012, allocations: 1.061 MB / 0.6103 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02053/1.032, allocations: 5.526 MB / 0.6157 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01873/1.051, allocations: 6.206 MB / 0.6217 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01897/1.07, allocations: 11.51 MB / 0.633 GB, free: 8.16 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006844/1.077, allocations: 2.569 MB / 0.6355 GB, free: 6.367 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02005/1.097, allocations: 7.179 MB / 0.6425 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007354/1.104, allocations: 2.86 MB / 0.6453 GB, free: 14.03 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00132/1.105, allocations: 284 kB / 0.6456 GB, free: 13.75 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02032/1.126, allocations: 7.627 MB / 0.653 GB, free: 6.902 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.01178/1.137, allocations: 6.659 MB / 0.6595 GB, free: 0.832 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.005585/1.143, allocations: 3.927 MB / 0.6634 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001764/1.145, allocations: 235.9 kB / 0.6636 GB, free: 12.96 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.0006208/1.145, allocations: 79.16 kB / 0.6637 GB, free: 12.89 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.02943/1.175, allocations: 18.28 MB / 0.6815 GB, free: 11.37 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.006214/1.181, allocations: 2.69 MB / 0.6841 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of [SIM] Early Inline: time 0.02253/1.204, allocations: 11.87 MB / 0.6957 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of [SIM] Simplify 1: time 0.006139/1.21, allocations: 1.906 MB / 0.6976 GB, free: 11.09 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.01584/1.226, allocations: 8.692 MB / 0.7061 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of [SIM] Simplify 2: time 0.003701/1.229, allocations: 1.788 MB / 0.7078 GB, free: 200 kB / 0.5137 GB Notification: Performance of [SIM] Remove Stream: time 0.001671/1.231, allocations: 0.9378 MB / 0.7087 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of [SIM] Detect States: time 0.003007/1.234, allocations: 2.283 MB / 0.711 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of [SIM] Events: time 0.001484/1.235, allocations: 0.8141 MB / 0.7118 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of [SIM] Partitioning: time 0.005726/1.241, allocations: 4.075 MB / 0.7157 GB, free: 7.953 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.7712211289908737] 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.2606645390042104 1.275896221 0.12680703399999996 Calling exit ...