Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.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.8656/0.8656, allocations: 153.8 MB / 173.5 MB, free: 4.84 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.Fluid.Examples.SimpleExamples.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.064e-05, allocations: 8.016 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.Fluid.Examples.SimpleExamples.TestSteamEngine): time 1.872/1.872, allocations: 308 MB / 0.546 GB, free: 2.602 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4891/2.361, allocations: 172.5 MB / 0.7145 GB, free: 1.902 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003599/2.361, allocations: 7.938 kB / 0.7145 GB, free: 1.895 MB / 0.5607 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Machines/SteamEngine.mo:41:3-42:53:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Machines/SteamEngine.mo:43:3-44:51:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:47:3-48:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:59:3-60:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.000689/2.362, allocations: 192.3 kB / 0.7147 GB, free: 1.707 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.0004343/2.362, allocations: 182.7 kB / 0.7148 GB, free: 1.527 MB / 0.5607 GB [/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.04308/2.406, allocations: 14.52 MB / 0.729 GB, free: 3.023 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0009171/2.406, allocations: 0.6274 MB / 0.7296 GB, free: 2.395 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000307/2.407, allocations: 198.2 kB / 0.7298 GB, free: 2.199 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003386/2.407, allocations: 266.9 kB / 0.7301 GB, free: 1.938 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/2.407, allocations: 171.1 kB / 0.7302 GB, free: 1.77 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 5.029e-05/2.407, allocations: 32 kB / 0.7303 GB, free: 1.738 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04163/2.449, allocations: 22.84 MB / 0.7526 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.001021/2.45, allocations: 0.831 MB / 0.7534 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.0004334/2.45, allocations: 0.5565 MB / 0.7539 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001078/2.451, allocations: 48 kB / 0.754 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of FrontEnd: time 0.0001077/2.451, allocations: 15.88 kB / 0.754 GB, free: 9.406 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 (90) * Number of variables: 115 (115) Notification: Performance of [SIM] Bindings: time 0.0034/2.454, allocations: 2.489 MB / 0.7564 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of [SIM] FunctionAlias: time 0.0004614/2.455, allocations: 306.5 kB / 0.7567 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of [SIM] Early Inline: time 0.002217/2.457, allocations: 1.708 MB / 0.7584 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of [SIM] Simplify 1: time 0.0005673/2.457, allocations: 234 kB / 0.7586 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of [SIM] Alias: time 0.003283/2.461, allocations: 2.125 MB / 0.7607 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of [SIM] Simplify 2: time 0.0002541/2.461, allocations: 164.4 kB / 0.7608 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of [SIM] Remove Stream: time 0.0001418/2.461, allocations: 108.3 kB / 0.7609 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of [SIM] Detect States: time 0.0003865/2.461, allocations: 274.8 kB / 0.7612 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of [SIM] Events: time 0.0001528/2.462, allocations: 58.42 kB / 0.7613 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of [SIM] Partitioning: time 0.0006193/2.462, allocations: 460.8 kB / 0.7617 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of [SIM] Causalize: time 0.00215/2.464, allocations: 1.433 MB / 0.7631 GB, free: 15.47 MB / 0.6232 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001039/2.465, allocations: 0.8665 MB / 0.7639 GB, free: 14.61 MB / 0.6232 GB Notification: Performance of [INI] Simplify: time 0.0008585/2.466, allocations: 478.9 kB / 0.7644 GB, free: 14.07 MB / 0.6232 GB Notification: Performance of [INI] Inline: time 0.002116/2.468, allocations: 1.345 MB / 0.7657 GB, free: 12.72 MB / 0.6232 GB Notification: Performance of [INI] Partitioning: time 7.822e-05/2.468, allocations: 39.97 kB / 0.7657 GB, free: 12.67 MB / 0.6232 GB Notification: Performance of [INI] Cleanup: time 0.0002296/2.469, allocations: 187.8 kB / 0.7659 GB, free: 12.48 MB / 0.6232 GB Notification: Performance of [INI] Causalize: time 0.002639/2.471, allocations: 1.677 MB / 0.7676 GB, free: 10.79 MB / 0.6232 GB Notification: Performance of [INI] Tearing: time 0.000245/2.471, allocations: 132.9 kB / 0.7677 GB, free: 10.67 MB / 0.6232 GB Notification: Performance of [SIM] Initialization: time 1.002e-06/2.471, allocations: 0 / 0.7677 GB, free: 10.67 MB / 0.6232 GB Notification: Performance of [SIM] DAE-Mode: time 0.0007426/2.472, allocations: 455.7 kB / 0.7681 GB, free: 10.27 MB / 0.6232 GB Notification: Performance of [SIM] Remove Dummies: time 1.281e-05/2.472, allocations: 8.375 kB / 0.7681 GB, free: 10.26 MB / 0.6232 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 Notification: Performance of [SIM] Tearing: time 0.0003498/2.473, allocations: 249.8 kB / 0.7684 GB, free: 10.02 MB / 0.6232 GB Notification: Performance of [SIM] Categorize: time 2.059e-05/2.473, allocations: 10.3 kB / 0.7684 GB, free: 10.02 MB / 0.6232 GB Notification: Performance of [SIM] Solve: time 0.001775/2.474, allocations: 1.15 MB / 0.7695 GB, free: 8.93 MB / 0.6232 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: 4.268352844985202] Failed to read output from testmodel.py, exit status != 0: 2.8930722000077367 2.903419936 0.44982812600000005 Calling exit ...