Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1.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.8523/0.8523, allocations: 153.8 MB / 173.5 MB, free: 4.277 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.TestStodolaTurbine1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.848e-05/1.848e-05, allocations: 6 kB / 251.1 MB, free: 3.773 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.TestStodolaTurbine1): time 2.129/2.129, allocations: 309.1 MB / 0.5471 GB, free: 12.08 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.05746/2.186, allocations: 39.83 MB / 0.586 GB, free: 9.098 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005436/2.187, allocations: 4 kB / 0.586 GB, free: 9.094 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/StodolaTurbine.mo:59:3-61: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/Machines/StodolaTurbine.mo:62:3-63: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/Machines/StodolaTurbine.mo:67:3-71:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) 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/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/Machines/DynamicCentrifugalPump.mo:71:3-75:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/DynamicCentrifugalPump.mo:76:3-77:48: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/Machines/DynamicCentrifugalPump.mo:78:3-79:45: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/ElectroMechanics/Machines/Shaft.mo:13:3-15:47:writable] Warning: Connector C2 is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/ElectroMechanics/Machines/Shaft.mo:16:3-18:49:writable] Warning: Connector C1 is not balanced: The number of potential variables (2) 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/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). Notification: Performance of NFTyping.typeComponents: time 0.0008452/2.188, allocations: 227.8 kB / 0.5862 GB, free: 8.871 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007848/2.188, allocations: 321.7 kB / 0.5866 GB, free: 8.555 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:1445:9-1445:35:writable] Warning: h 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_Ps.mo:71:3-71: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_Ps.mo:71:3-71: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. Notification: Performance of NFTyping.typeClassSections: time 0.04319/2.232, allocations: 13.17 MB / 0.5994 GB, free: 11.37 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001843/2.233, allocations: 1.181 MB / 0.6006 GB, free: 10.19 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005011/2.234, allocations: 289.7 kB / 0.6009 GB, free: 9.902 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007017/2.235, allocations: 454.2 kB / 0.6013 GB, free: 9.457 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000389/2.235, allocations: 302.3 kB / 0.6016 GB, free: 9.16 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.384e-05/2.235, allocations: 56 kB / 0.6016 GB, free: 9.105 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03809/2.273, allocations: 21.41 MB / 0.6225 GB, free: 3.668 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.001476/2.275, allocations: 1.453 MB / 0.624 GB, free: 2.199 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006807/2.275, allocations: 0.9849 MB / 0.6249 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001419/2.276, allocations: 76 kB / 0.625 GB, free: 1.129 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.0001231/2.276, allocations: 19.88 kB / 0.625 GB, free: 1.109 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: 208 (129) * Number of variables: 208 (208) Notification: Performance of [SIM] Bindings: time 0.004475/2.28, allocations: 4.338 MB / 0.6292 GB, free: 12.57 MB / 0.4982 GB Notification: Performance of [SIM] FunctionAlias: time 0.0009407/2.281, allocations: 0.739 MB / 0.63 GB, free: 11.79 MB / 0.4982 GB Notification: Performance of [SIM] Early Inline: time 0.004083/2.285, allocations: 3.657 MB / 0.6335 GB, free: 8.09 MB / 0.4982 GB Notification: Performance of [SIM] Simplify 1: time 0.0008877/2.286, allocations: 479.1 kB / 0.634 GB, free: 7.559 MB / 0.4982 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.004825/2.291, allocations: 3.407 MB / 0.6373 GB, free: 3.836 MB / 0.4982 GB Notification: Performance of [SIM] Simplify 2: time 0.0005835/2.291, allocations: 380.1 kB / 0.6377 GB, free: 3.402 MB / 0.4982 GB Notification: Performance of [SIM] Remove Stream: time 0.0002894/2.292, allocations: 256.2 kB / 0.6379 GB, free: 3.113 MB / 0.4982 GB Notification: Performance of [SIM] Detect States: time 0.0007169/2.292, allocations: 0.6286 MB / 0.6385 GB, free: 2.418 MB / 0.4982 GB Notification: Performance of [SIM] Events: time 0.0001828/2.293, allocations: 113.5 kB / 0.6386 GB, free: 2.305 MB / 0.4982 GB Notification: Performance of [SIM] Partitioning: time 0.00136/2.294, allocations: 1.186 MB / 0.6398 GB, free: 1.094 MB / 0.4982 GB Notification: Performance of [SIM] Causalize: time 0.004297/2.298, allocations: 3.166 MB / 0.6429 GB, free: 13.88 MB / 0.5138 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002288/2.301, allocations: 2.299 MB / 0.6451 GB, free: 11.58 MB / 0.5138 GB Notification: Performance of [INI] Simplify: time 0.001934/2.303, allocations: 1.125 MB / 0.6462 GB, free: 10.3 MB / 0.5138 GB Notification: Performance of [INI] Inline: time 0.004083/2.307, allocations: 3.625 MB / 0.6498 GB, free: 6.664 MB / 0.5138 GB Notification: Performance of [INI] Partitioning: time 0.0002709/2.307, allocations: 80.14 kB / 0.6499 GB, free: 6.566 MB / 0.5138 GB Notification: Performance of [INI] Cleanup: time 0.0006981/2.308, allocations: 0.5268 MB / 0.6504 GB, free: 6.039 MB / 0.5138 GB Notification: Performance of [INI] Causalize: time 0.00659/2.314, allocations: 4.074 MB / 0.6543 GB, free: 1.852 MB / 0.5138 GB Notification: Performance of [INI] Tearing: time 0.0007287/2.315, allocations: 0.519 MB / 0.6549 GB, free: 1.367 MB / 0.5138 GB Notification: Performance of [SIM] Initialization: time 1.743e-06/2.315, allocations: 0 / 0.6549 GB, free: 1.367 MB / 0.5138 GB Notification: Performance of [SIM] DAE-Mode: time 0.002158/2.317, allocations: 1.441 MB / 0.6563 GB, free: 24 kB / 0.5138 GB Notification: Performance of [SIM] Remove Dummies: time 1.442e-05/2.317, allocations: 8.938 kB / 0.6563 GB, free: 12 kB / 0.5138 GB [/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.d [/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_3.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_3.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_3.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_3.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_3.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_3.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_3.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_3.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_3.x Notification: Performance of [SIM] Tearing: time 0.0007628/2.318, allocations: 0.609 MB / 0.6569 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of [SIM] Categorize: time 3.647e-05/2.318, allocations: 8 kB / 0.6569 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of [SIM] Solve: time 0.006058/2.324, allocations: 4.033 MB / 0.6608 GB, free: 11.48 MB / 0.5294 GB [/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.duhp, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace. " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 3.9140620199614204] Failed to read output from testmodel.py, exit status != 0: 2.531289396050852 2.547278376 0.26809129600000003 Calling exit ...