Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.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.8825/0.8825, allocations: 153.8 MB / 173.5 MB, free: 4.281 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.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestControlValve") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestControlValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.182e-05, allocations: 2.281 kB / 251.1 MB, free: 3.84 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.TestControlValve): time 2.225/2.225, allocations: 307.5 MB / 0.5455 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04215/2.267, allocations: 30.81 MB / 0.5756 GB, free: 3.785 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003329/2.268, allocations: 4 kB / 0.5756 GB, free: 3.781 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/ControlValve.mo:45:3-47:43: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/ControlValve.mo:48:3-50:38: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.000712/2.268, allocations: 155.3 kB / 0.5757 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004511/2.269, allocations: 171.1 kB / 0.5759 GB, free: 3.461 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.03393/2.303, allocations: 9.847 MB / 0.5855 GB, free: 9.609 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009522/2.304, allocations: 0.4904 MB / 0.586 GB, free: 9.117 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002992/2.304, allocations: 144.3 kB / 0.5861 GB, free: 8.977 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004139/2.304, allocations: 207.2 kB / 0.5863 GB, free: 8.773 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002501/2.305, allocations: 151.3 kB / 0.5865 GB, free: 8.625 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.734e-05/2.305, allocations: 20 kB / 0.5865 GB, free: 8.605 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03366/2.338, allocations: 16.23 MB / 0.6023 GB, free: 8.352 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.0006959/2.339, allocations: 0.5486 MB / 0.6029 GB, free: 7.801 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003161/2.339, allocations: 394.7 kB / 0.6033 GB, free: 7.41 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.795e-05/2.339, allocations: 28 kB / 0.6033 GB, free: 7.383 MB / 478.1 MB Notification: Performance of FrontEnd: time 6.287e-05/2.34, allocations: 8 kB / 0.6033 GB, free: 7.375 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: 77 (50) * Number of variables: 77 (77) Notification: Performance of [SIM] Bindings: time 0.002284/2.342, allocations: 1.813 MB / 0.6051 GB, free: 5.426 MB / 478.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003756/2.342, allocations: 246.1 kB / 0.6053 GB, free: 5.176 MB / 478.1 MB Notification: Performance of [SIM] Early Inline: time 0.001551/2.344, allocations: 1.286 MB / 0.6066 GB, free: 3.859 MB / 478.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003331/2.344, allocations: 197.9 kB / 0.6067 GB, free: 3.621 MB / 478.1 MB Notification: Performance of [SIM] Alias: time 0.002278/2.346, allocations: 1.387 MB / 0.6081 GB, free: 2.07 MB / 478.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002354/2.347, allocations: 159.4 kB / 0.6082 GB, free: 1.871 MB / 478.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001318/2.347, allocations: 100.3 kB / 0.6083 GB, free: 1.746 MB / 478.1 MB Notification: Performance of [SIM] Detect States: time 0.0003175/2.347, allocations: 233.8 kB / 0.6086 GB, free: 1.465 MB / 478.1 MB Notification: Performance of [SIM] Events: time 0.0001045/2.347, allocations: 43.92 kB / 0.6086 GB, free: 1.422 MB / 478.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005319/2.348, allocations: 383.5 kB / 0.609 GB, free: 1.043 MB / 478.1 MB Notification: Performance of [SIM] Causalize: time 0.001769/2.349, allocations: 1.178 MB / 0.6101 GB, free: 15.85 MB / 494.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0008161/2.35, allocations: 0.6985 MB / 0.6108 GB, free: 15.15 MB / 494.1 MB Notification: Performance of [INI] Simplify: time 0.0007279/2.351, allocations: 448.7 kB / 0.6112 GB, free: 14.65 MB / 494.1 MB Notification: Performance of [INI] Inline: time 0.001417/2.352, allocations: 1.127 MB / 0.6123 GB, free: 13.52 MB / 494.1 MB Notification: Performance of [INI] Partitioning: time 6.572e-05/2.352, allocations: 33.31 kB / 0.6124 GB, free: 13.48 MB / 494.1 MB Notification: Performance of [INI] Cleanup: time 0.000154/2.353, allocations: 163.8 kB / 0.6125 GB, free: 13.32 MB / 494.1 MB Notification: Performance of [INI] Causalize: time 0.002155/2.355, allocations: 1.555 MB / 0.614 GB, free: 11.75 MB / 494.1 MB Notification: Performance of [INI] Tearing: time 0.0003885/2.355, allocations: 254.3 kB / 0.6143 GB, free: 11.52 MB / 494.1 MB Notification: Performance of [SIM] Initialization: time 7.41e-07/2.355, allocations: 0 / 0.6143 GB, free: 11.52 MB / 494.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0006497/2.356, allocations: 430.1 kB / 0.6147 GB, free: 11.14 MB / 494.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.771e-06/2.356, allocations: 0 / 0.6147 GB, free: 11.14 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.0006501/2.356, allocations: 470.4 kB / 0.6151 GB, free: 10.7 MB / 494.1 MB Notification: Performance of [SIM] Categorize: time 1.563e-05/2.356, allocations: 4 kB / 0.6151 GB, free: 10.7 MB / 494.1 MB Notification: Performance of [SIM] Solve: time 0.001548/2.358, allocations: 1.086 MB / 0.6162 GB, free: 9.641 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.9807876250124536] Failed to read output from testmodel.py, exit status != 0: 2.5701778840157203 2.5846193889999998 0.24174184299999996 Calling exit ...