Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.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.8766/0.8766, 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.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend") translateModel(ThermoSysPro.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.423e-05, allocations: 2.281 kB / 251.1 MB, free: 3.801 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.TestBend): time 2.162/2.162, allocations: 307.7 MB / 0.5457 GB, free: 13.08 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04245/2.204, allocations: 31.1 MB / 0.5761 GB, free: 3.352 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003807/2.205, allocations: 4 kB / 0.5761 GB, free: 3.348 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/Bend.mo:55:3-57: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/Bend.mo:58:3-60:43: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.0007585/2.205, allocations: 275 kB / 0.5763 GB, free: 3.078 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000444/2.206, allocations: 274.9 kB / 0.5766 GB, free: 2.809 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.03408/2.24, allocations: 9.935 MB / 0.5863 GB, free: 8.875 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001172/2.241, allocations: 0.6196 MB / 0.5869 GB, free: 8.254 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003488/2.242, allocations: 196.7 kB / 0.5871 GB, free: 8.062 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005133/2.242, allocations: 287 kB / 0.5874 GB, free: 7.781 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003397/2.242, allocations: 259 kB / 0.5876 GB, free: 7.527 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.688e-05/2.242, allocations: 24 kB / 0.5876 GB, free: 7.504 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03098/2.273, allocations: 16.31 MB / 0.6036 GB, free: 7.172 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.0007897/2.274, allocations: 0.6728 MB / 0.6042 GB, free: 6.492 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003194/2.275, allocations: 442 kB / 0.6046 GB, free: 6.055 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.46e-05/2.275, allocations: 32 kB / 0.6047 GB, free: 6.023 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.263e-05/2.275, allocations: 11.88 kB / 0.6047 GB, free: 6.012 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: 89 (62) * Number of variables: 89 (89) Notification: Performance of [SIM] Bindings: time 0.002463/2.277, allocations: 2.076 MB / 0.6067 GB, free: 3.793 MB / 478.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003743/2.278, allocations: 276 kB / 0.607 GB, free: 3.516 MB / 478.1 MB Notification: Performance of [SIM] Early Inline: time 0.001756/2.279, allocations: 1.445 MB / 0.6084 GB, free: 2.039 MB / 478.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004119/2.28, allocations: 228.2 kB / 0.6086 GB, free: 1.77 MB / 478.1 MB Notification: Performance of [SIM] Alias: time 0.002506/2.282, allocations: 1.588 MB / 0.6102 GB, free: 15.98 MB / 494.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002677/2.282, allocations: 182 kB / 0.6103 GB, free: 15.76 MB / 494.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001337/2.283, allocations: 112.3 kB / 0.6104 GB, free: 15.62 MB / 494.1 MB Notification: Performance of [SIM] Detect States: time 0.0002904/2.283, allocations: 272.4 kB / 0.6107 GB, free: 15.3 MB / 494.1 MB Notification: Performance of [SIM] Events: time 0.000145/2.283, allocations: 63.88 kB / 0.6108 GB, free: 15.24 MB / 494.1 MB Notification: Performance of [SIM] Partitioning: time 0.0006345/2.284, allocations: 460.9 kB / 0.6112 GB, free: 14.77 MB / 494.1 MB Notification: Performance of [SIM] Causalize: time 0.001876/2.286, allocations: 1.317 MB / 0.6125 GB, free: 13.42 MB / 494.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000881/2.286, allocations: 0.8545 MB / 0.6133 GB, free: 12.57 MB / 494.1 MB Notification: Performance of [INI] Simplify: time 0.0007996/2.287, allocations: 0.5082 MB / 0.6138 GB, free: 11.99 MB / 494.1 MB Notification: Performance of [INI] Inline: time 0.001553/2.289, allocations: 1.34 MB / 0.6151 GB, free: 10.65 MB / 494.1 MB Notification: Performance of [INI] Partitioning: time 7.015e-05/2.289, allocations: 40 kB / 0.6152 GB, free: 10.6 MB / 494.1 MB Notification: Performance of [INI] Cleanup: time 0.0001738/2.289, allocations: 199.8 kB / 0.6154 GB, free: 10.4 MB / 494.1 MB Notification: Performance of [INI] Causalize: time 0.0031/2.292, allocations: 2.247 MB / 0.6176 GB, free: 8.141 MB / 494.1 MB Notification: Performance of [INI] Tearing: time 0.0004927/2.293, allocations: 332.5 kB / 0.6179 GB, free: 7.828 MB / 494.1 MB Notification: Performance of [SIM] Initialization: time 1.182e-06/2.293, allocations: 0 / 0.6179 GB, free: 7.828 MB / 494.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0007294/2.293, allocations: 495.1 kB / 0.6183 GB, free: 7.352 MB / 494.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.586e-06/2.293, allocations: 336 / 0.6183 GB, free: 7.352 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.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.0007816/2.294, allocations: 0.5508 MB / 0.6189 GB, free: 6.82 MB / 494.1 MB Notification: Performance of [SIM] Categorize: time 1.625e-05/2.294, allocations: 4 kB / 0.6189 GB, free: 6.816 MB / 494.1 MB Notification: Performance of [SIM] Solve: time 0.001734/2.296, allocations: 1.176 MB / 0.62 GB, free: 5.668 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 658] [Calling sys.exit(0), Time elapsed: 3.873415990965441] Failed to read output from testmodel.py, exit status != 0: 2.4915926969842985 2.506193101 0.22809693600000003 Calling exit ...