Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.MinimalRespiration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.1258/0.1258, allocations: 15.57 MB / 35.23 MB, free: 4.48 MB / 26.18 MB " [Timeout remaining time 180] 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.001548/0.001548, allocations: 110.9 kB / 42.81 MB, free: 6.16 MB / 34.91 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.001881/0.001881, allocations: 223.6 kB / 50.51 MB, free: 9.988 MB / 34.91 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.715/1.715, allocations: 230.6 MB / 288.7 MB, free: 6.32 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1994/0.1994, allocations: 23.72 MB / 373.3 MB, free: 2.879 MB / 286.1 MB " [Timeout remaining time 179] Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo) 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) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo) Running command: translateModel(Physiolibrary.Fluid.Examples.MinimalRespiration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MinimalRespiration") translateModel(Physiolibrary.Fluid.Examples.MinimalRespiration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MinimalRespiration") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.556e-05, allocations: 2.281 kB / 0.5071 GB, free: 13.46 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MinimalRespiration): time 0.3739/0.3739, allocations: 42.33 MB / 0.5484 GB, free: 3.871 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02512/0.3991, allocations: 17.8 MB / 0.5658 GB, free: 7.031 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.4001, allocations: 17.41 kB / 0.5658 GB, free: 7.023 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001449/0.4016, allocations: 319.3 kB / 0.5662 GB, free: 6.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007791/0.4093, allocations: 2.294 MB / 0.5684 GB, free: 5.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006361/0.4157, allocations: 1.508 MB / 0.5699 GB, free: 3.969 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002419/0.4181, allocations: 1.238 MB / 0.5711 GB, free: 3.254 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007771/0.4189, allocations: 340.1 kB / 0.5714 GB, free: 2.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00623/0.4251, allocations: 2.222 MB / 0.5736 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009252/0.4261, allocations: 434.4 kB / 0.574 GB, free: 304 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.4262, allocations: 48 kB / 0.574 GB, free: 256 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008125/0.4343, allocations: 2.503 MB / 0.5765 GB, free: 13.74 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.001533/0.4358, allocations: 1.236 MB / 0.5777 GB, free: 12.5 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006696/0.4365, allocations: 0.7338 MB / 0.5784 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.4366, allocations: 59.94 kB / 0.5785 GB, free: 11.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.0002121/0.4369, allocations: 23.92 kB / 0.5785 GB, free: 11.67 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 (77) * Number of variables: 133 (80) Notification: Performance of [SIM] Bindings: time 0.003664/0.4405, allocations: 2.984 MB / 0.5814 GB, free: 8.543 MB / 398.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006219/0.4411, allocations: 430.8 kB / 0.5818 GB, free: 8.129 MB / 398.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1423:9-1423:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for c1.re [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1423:9-1423:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for c2.re [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1423:9-1423:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for c1.im [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1423:9-1423:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for c2.im [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1423:9-1423:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for c1.re [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1423:9-1423:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for c2.re [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1423:9-1423:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for c1.im [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1423:9-1423:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for c2.im Notification: Performance of [SIM] Early Inline: time 0.006719/0.4479, allocations: 5.356 MB / 0.587 GB, free: 2.844 MB / 398.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001065/0.4489, allocations: 0.6863 MB / 0.5877 GB, free: 2.148 MB / 398.1 MB Notification: Performance of [SIM] Alias: time 0.003486/0.4524, allocations: 2.038 MB / 0.5897 GB, free: 15.91 MB / 414.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0008807/0.4533, allocations: 0.5326 MB / 0.5902 GB, free: 15.36 MB / 414.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002763/0.4536, allocations: 196 kB / 0.5904 GB, free: 15.14 MB / 414.1 MB Notification: Performance of [SIM] Detect States: time 0.0006666/0.4542, allocations: 477.8 kB / 0.5909 GB, free: 14.62 MB / 414.1 MB Notification: Performance of [SIM] Events: time 0.0002067/0.4544, allocations: 91.8 kB / 0.5909 GB, free: 14.54 MB / 414.1 MB Notification: Performance of [SIM] Partitioning: time 0.001063/0.4555, allocations: 0.7947 MB / 0.5917 GB, free: 13.71 MB / 414.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Util/NBSlice.mo:1584:9-1584:76:writable] Error: Internal error UnorderedMap.getSafe failed because the key did not exist. Error: Internal error NBSlice.resolveDependency failed for: lungs.xx_mass. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (4) lungs.substanceMassFlowsFromStream = lungs.q_in.m_flow * lungs.xx_mass ($RES_SIM_52) " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.5406998230027966] Failed to read output from testmodel.py, exit status != 0: 0.466163910983596 0.481440886 0.041043727 Calling exit ...