Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLoopBreaker.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.9132/0.9132, allocations: 153.8 MB / 173.5 MB, free: 4.844 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.SimpleExamples.TestLoopBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLoopBreaker") translateModel(ThermoSysPro.Examples.SimpleExamples.TestLoopBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLoopBreaker") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.246e-05, allocations: 5.703 kB / 251.1 MB, free: 3.832 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.SimpleExamples.TestLoopBreaker): time 1.964/1.964, allocations: 308.4 MB / 0.5464 GB, free: 2.535 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3364/2.3, allocations: 27.49 MB / 0.5732 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002506/2.301, allocations: 4.094 kB / 0.5732 GB, free: 13.13 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourcePQ.mo:29:3-30:52: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/SingularPressureLoss.mo:25:3-27:16: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/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 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/SingularPressureLoss.mo:25:3-27:16: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/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 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/Junctions/Splitter2.mo:14:3-16:16:writable] Warning: Connector Ce 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/Junctions/Splitter2.mo:17:3-18:82:writable] Warning: Connector Cs1 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/Junctions/Splitter2.mo:19:3-21:17:writable] Warning: Connector Cs2 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/Junctions/Mixer2.mo:14:3-16:24:writable] Warning: Connector Ce2 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/Junctions/Mixer2.mo:17:3-18:52:writable] Warning: Connector Cs 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/Junctions/Mixer2.mo:20:3-22:17:writable] Warning: Connector Ce1 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/Sink.mo:17:3-19:16: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/LoopBreakers/LoopBreakerP.mo:6:3-8:16: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/LoopBreakers/LoopBreakerP.mo:9:3-10:83: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.000517/2.301, allocations: 142.8 kB / 0.5734 GB, free: 13.08 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003545/2.301, allocations: 197.4 kB / 0.5736 GB, free: 13 MB / 462.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.02514/2.327, allocations: 8.4 MB / 0.5818 GB, free: 11.48 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001217/2.328, allocations: 0.7343 MB / 0.5825 GB, free: 11.31 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004589/2.328, allocations: 258.4 kB / 0.5827 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004989/2.329, allocations: 285.5 kB / 0.583 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002728/2.329, allocations: 207.7 kB / 0.5832 GB, free: 11.17 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.523e-05/2.329, allocations: 44.97 kB / 0.5832 GB, free: 11.17 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02699/2.356, allocations: 13.57 MB / 0.5965 GB, free: 6.727 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.0008333/2.357, allocations: 0.9877 MB / 0.5975 GB, free: 6.031 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002691/2.357, allocations: 0.6695 MB / 0.5981 GB, free: 5.578 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 9.235e-05/2.357, allocations: 53.69 kB / 0.5982 GB, free: 5.578 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0001086/2.357, allocations: 18.31 kB / 0.5982 GB, free: 5.57 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 (123) * Number of variables: 159 (159) Notification: Performance of [SIM] Bindings: time 0.002218/2.36, allocations: 2.837 MB / 0.601 GB, free: 3.125 MB / 462.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003135/2.36, allocations: 372.2 kB / 0.6013 GB, free: 2.773 MB / 462.1 MB Notification: Performance of [SIM] Early Inline: time 0.001558/2.361, allocations: 2.294 MB / 0.6036 GB, free: 488 kB / 462.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003802/2.362, allocations: 322.8 kB / 0.6039 GB, free: 108 kB / 462.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.004321/2.366, allocations: 2.952 MB / 0.6067 GB, free: 12.97 MB / 478.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003395/2.367, allocations: 239.6 kB / 0.607 GB, free: 12.7 MB / 478.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001545/2.367, allocations: 140.7 kB / 0.6071 GB, free: 12.54 MB / 478.1 MB Notification: Performance of [SIM] Detect States: time 0.0003601/2.367, allocations: 333.7 kB / 0.6074 GB, free: 12.18 MB / 478.1 MB Notification: Performance of [SIM] Events: time 0.000136/2.367, allocations: 60.45 kB / 0.6075 GB, free: 12.12 MB / 478.1 MB Notification: Performance of [SIM] Partitioning: time 0.0007309/2.368, allocations: 0.5779 MB / 0.608 GB, free: 11.56 MB / 478.1 MB Notification: Performance of [SIM] Causalize: time 0.002408/2.37, allocations: 1.694 MB / 0.6097 GB, free: 9.867 MB / 478.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001224/2.372, allocations: 1.135 MB / 0.6108 GB, free: 8.762 MB / 478.1 MB Notification: Performance of [INI] Simplify: time 0.001163/2.373, allocations: 0.7149 MB / 0.6115 GB, free: 8.012 MB / 478.1 MB Notification: Performance of [INI] Inline: time 0.002034/2.375, allocations: 1.855 MB / 0.6133 GB, free: 6.199 MB / 478.1 MB Notification: Performance of [INI] Partitioning: time 8.888e-05/2.375, allocations: 49.33 kB / 0.6134 GB, free: 6.141 MB / 478.1 MB Notification: Performance of [INI] Cleanup: time 0.0002581/2.375, allocations: 273.3 kB / 0.6136 GB, free: 5.887 MB / 478.1 MB Notification: Performance of [INI] Causalize: time 0.003101/2.378, allocations: 2.183 MB / 0.6158 GB, free: 3.684 MB / 478.1 MB Notification: Performance of [INI] Tearing: time 0.0004101/2.379, allocations: 290.7 kB / 0.616 GB, free: 3.43 MB / 478.1 MB Notification: Performance of [SIM] Initialization: time 1.432e-06/2.379, allocations: 0 / 0.616 GB, free: 3.43 MB / 478.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0007771/2.379, allocations: 0.5291 MB / 0.6166 GB, free: 2.992 MB / 478.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.873e-06/2.379, allocations: 0.5 kB / 0.6166 GB, free: 2.992 MB / 478.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_2.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_2.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_2.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_2.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_2.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_2.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_2.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_2.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_2.x [/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_1.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_1.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_1.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_1.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_1.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_1.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_1.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_1.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_1.x Notification: Performance of [SIM] Tearing: time 0.00061/2.38, allocations: 0.5225 MB / 0.6171 GB, free: 2.543 MB / 478.1 MB Notification: Performance of [SIM] Categorize: time 1.77e-05/2.38, allocations: 8.875 kB / 0.6171 GB, free: 2.535 MB / 478.1 MB Notification: Performance of [SIM] Solve: time 0.002584/2.383, allocations: 1.771 MB / 0.6188 GB, free: 0.9961 MB / 478.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_2.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.9931797579629347] Failed to read output from testmodel.py, exit status != 0: 2.56839182699332 2.582375121 0.22188692100000001 Calling exit ...