Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.9038/0.9038, allocations: 153.8 MB / 173.5 MB, free: 4.289 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.731e-05, allocations: 2.281 kB / 251.1 MB, free: 3.855 MB / 206.1 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm): time 2.207/2.207, allocations: 307.4 MB / 0.5454 GB, free: 13.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04056/2.247, allocations: 30.75 MB / 0.5754 GB, free: 3.875 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002811/2.248, allocations: 0 / 0.5754 GB, free: 3.875 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/Diaphragm.mo:30:3-32:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/Diaphragm.mo:33:3-35:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004232/2.248, allocations: 109.2 kB / 0.5756 GB, free: 3.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002465/2.248, allocations: 123.2 kB / 0.5757 GB, free: 3.648 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.03238/2.281, allocations: 9.739 MB / 0.5852 GB, free: 9.906 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007663/2.281, allocations: 438.7 kB / 0.5856 GB, free: 9.477 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002343/2.282, allocations: 104.5 kB / 0.5857 GB, free: 9.375 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003758/2.282, allocations: 183.3 kB / 0.5859 GB, free: 9.195 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/2.282, allocations: 99.44 kB / 0.586 GB, free: 9.098 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/2.282, allocations: 16 kB / 0.586 GB, free: 9.082 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03278/2.315, allocations: 16.24 MB / 0.6018 GB, free: 8.82 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.0006964/2.316, allocations: 0.5062 MB / 0.6023 GB, free: 8.309 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002748/2.316, allocations: 367.2 kB / 0.6027 GB, free: 7.945 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.379e-05/2.316, allocations: 28 kB / 0.6027 GB, free: 7.918 MB / 478.1 MB Notification: Performance of FrontEnd: time 6.511e-05/2.316, allocations: 7.938 kB / 0.6027 GB, free: 7.91 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: 78 (51) * Number of variables: 78 (78) Notification: Performance of [SIM] Bindings: time 0.002272/2.318, allocations: 1.729 MB / 0.6044 GB, free: 6.047 MB / 478.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003345/2.319, allocations: 250.2 kB / 0.6047 GB, free: 5.793 MB / 478.1 MB Notification: Performance of [SIM] Early Inline: time 0.001625/2.32, allocations: 1.286 MB / 0.6059 GB, free: 4.477 MB / 478.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003226/2.321, allocations: 192.3 kB / 0.6061 GB, free: 4.238 MB / 478.1 MB Notification: Performance of [SIM] Alias: time 0.002048/2.323, allocations: 1.386 MB / 0.6074 GB, free: 2.691 MB / 478.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002247/2.323, allocations: 162.1 kB / 0.6076 GB, free: 2.492 MB / 478.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001237/2.323, allocations: 104.2 kB / 0.6077 GB, free: 2.363 MB / 478.1 MB Notification: Performance of [SIM] Detect States: time 0.0002727/2.323, allocations: 248.4 kB / 0.6079 GB, free: 2.062 MB / 478.1 MB Notification: Performance of [SIM] Events: time 9.942e-05/2.323, allocations: 43.97 kB / 0.608 GB, free: 2.02 MB / 478.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005246/2.324, allocations: 396 kB / 0.6084 GB, free: 1.617 MB / 478.1 MB Notification: Performance of [SIM] Causalize: time 0.001695/2.326, allocations: 1.222 MB / 0.6095 GB, free: 388 kB / 478.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007484/2.326, allocations: 0.7336 MB / 0.6103 GB, free: 15.64 MB / 494.1 MB Notification: Performance of [INI] Simplify: time 0.0006779/2.327, allocations: 424.2 kB / 0.6107 GB, free: 15.16 MB / 494.1 MB Notification: Performance of [INI] Inline: time 0.00143/2.328, allocations: 1.166 MB / 0.6118 GB, free: 13.99 MB / 494.1 MB Notification: Performance of [INI] Partitioning: time 5.221e-05/2.329, allocations: 33.38 kB / 0.6118 GB, free: 13.95 MB / 494.1 MB Notification: Performance of [INI] Cleanup: time 0.0001689/2.329, allocations: 163.8 kB / 0.612 GB, free: 13.79 MB / 494.1 MB Notification: Performance of [INI] Causalize: time 0.001994/2.331, allocations: 1.45 MB / 0.6134 GB, free: 12.33 MB / 494.1 MB Notification: Performance of [INI] Tearing: time 0.0004183/2.331, allocations: 264.1 kB / 0.6137 GB, free: 12.08 MB / 494.1 MB Notification: Performance of [SIM] Initialization: time 8.31e-07/2.331, allocations: 0 / 0.6137 GB, free: 12.08 MB / 494.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0006228/2.332, allocations: 444.2 kB / 0.6141 GB, free: 11.67 MB / 494.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.097e-06/2.332, allocations: 4 kB / 0.6141 GB, free: 11.67 MB / 494.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 $FUN_6.T [/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 $FUN_6.u [/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 $FUN_6.s [/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 $FUN_6.cp [/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 $FUN_6.ddhp [/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 $FUN_6.ddph [/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 $FUN_6.duph [/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 $FUN_6.duhp [/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 $FUN_6.x Notification: Performance of [SIM] Tearing: time 0.0006329/2.332, allocations: 467.8 kB / 0.6145 GB, free: 11.23 MB / 494.1 MB Notification: Performance of [SIM] Categorize: time 1.663e-05/2.332, allocations: 11.92 kB / 0.6145 GB, free: 11.22 MB / 494.1 MB Notification: Performance of [SIM] Solve: time 0.001515/2.334, allocations: 1.09 MB / 0.6156 GB, free: 10.14 MB / 494.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo:817:30-818:7:writable] Error: Internal error NBVariable.getVarPointer failed for $FUN_6.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace. " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 3.9838659199886024] Failed to read output from testmodel.py, exit status != 0: 2.5448449720279314 2.559833209 0.240517327 Calling exit ...