Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipe.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.8692/0.8692, allocations: 153.8 MB / 173.5 MB, free: 4.285 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.TestLumpedStraightPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipe") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipe") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.292e-05, allocations: 6 kB / 251.1 MB, free: 3.848 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.TestLumpedStraightPipe): time 2.169/2.169, allocations: 308.4 MB / 0.5464 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2169/2.386, allocations: 161.1 MB / 0.7037 GB, free: 212 kB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006833/2.387, allocations: 4 kB / 0.7037 GB, free: 208 kB / 0.5607 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Volumes/Tank.mo:71:3-72:53: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/Volumes/Tank.mo:73:3-74:53: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/Volumes/Tank.mo:78:3-79:55: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/Volumes/Tank.mo:80:3-81:51: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/Volumes/Tank.mo:71:3-72:53: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/Volumes/Tank.mo:73:3-74:53: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/Volumes/Tank.mo:78:3-79:55: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/Volumes/Tank.mo:80:3-81:51: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/PressureLosses/LumpedStraightPipe.mo:49:3-50: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/LumpedStraightPipe.mo:51:3-53:37: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.0006107/2.388, allocations: 144 kB / 0.7039 GB, free: 64 kB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.0005334/2.388, allocations: 218.3 kB / 0.7041 GB, free: 15.85 MB / 0.5763 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. Notification: Performance of NFTyping.typeClassSections: time 0.03118/2.419, allocations: 10.23 MB / 0.7141 GB, free: 5.609 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.001686/2.421, allocations: 1.072 MB / 0.7151 GB, free: 4.531 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000508/2.421, allocations: 341.4 kB / 0.7154 GB, free: 4.195 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006907/2.422, allocations: 434.5 kB / 0.7159 GB, free: 3.77 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004373/2.423, allocations: 350.5 kB / 0.7162 GB, free: 3.426 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/2.423, allocations: 68 kB / 0.7163 GB, free: 3.359 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03001/2.453, allocations: 15.53 MB / 0.7314 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.001568/2.454, allocations: 1.351 MB / 0.7327 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.0006784/2.455, allocations: 0.767 MB / 0.7335 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001435/2.455, allocations: 56 kB / 0.7336 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.454e-05/2.455, allocations: 19.88 kB / 0.7336 GB, free: 1.59 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 (119) * Number of variables: 146 (146) Notification: Performance of [SIM] Bindings: time 0.003879/2.459, allocations: 3.494 MB / 0.737 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of [SIM] FunctionAlias: time 0.0009233/2.46, allocations: 0.7112 MB / 0.7377 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of [SIM] Early Inline: time 0.003689/2.464, allocations: 3.261 MB / 0.7409 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of [SIM] Simplify 1: time 0.0009833/2.465, allocations: 0.6167 MB / 0.7415 GB, free: 9.25 MB / 0.6075 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.004242/2.469, allocations: 3.016 MB / 0.7444 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of [SIM] Simplify 2: time 0.0007569/2.47, allocations: 455.8 kB / 0.7448 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of [SIM] Remove Stream: time 0.0002707/2.47, allocations: 224.1 kB / 0.7451 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of [SIM] Detect States: time 0.0006546/2.471, allocations: 0.5402 MB / 0.7456 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of [SIM] Events: time 0.0004141/2.471, allocations: 286.5 kB / 0.7459 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of [SIM] Partitioning: time 0.001313/2.472, allocations: 1.058 MB / 0.7469 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of [SIM] Causalize: time 0.003308/2.476, allocations: 2.267 MB / 0.7491 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002493/2.478, allocations: 2.271 MB / 0.7513 GB, free: 14.58 MB / 0.6232 GB Notification: Performance of [INI] Simplify: time 0.001556/2.48, allocations: 0.9037 MB / 0.7522 GB, free: 13.57 MB / 0.6232 GB Notification: Performance of [INI] Inline: time 0.003723/2.483, allocations: 3.194 MB / 0.7553 GB, free: 10.36 MB / 0.6232 GB Notification: Performance of [INI] Partitioning: time 0.0001182/2.484, allocations: 64.03 kB / 0.7554 GB, free: 10.29 MB / 0.6232 GB Notification: Performance of [INI] Cleanup: time 0.0004893/2.484, allocations: 483.5 kB / 0.7558 GB, free: 9.812 MB / 0.6232 GB Notification: Performance of [INI] Causalize: time 0.004851/2.489, allocations: 3.209 MB / 0.759 GB, free: 6.551 MB / 0.6232 GB Notification: Performance of [INI] Tearing: time 0.001033/2.49, allocations: 0.7177 MB / 0.7597 GB, free: 5.84 MB / 0.6232 GB Notification: Performance of [SIM] Initialization: time 1.874e-06/2.49, allocations: 0 / 0.7597 GB, free: 5.84 MB / 0.6232 GB Notification: Performance of [SIM] DAE-Mode: time 0.001541/2.491, allocations: 0.8496 MB / 0.7605 GB, free: 5.012 MB / 0.6232 GB Notification: Performance of [SIM] Remove Dummies: time 1.261e-05/2.491, allocations: 8.938 kB / 0.7605 GB, free: 5.004 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_18.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_18.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_18.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_18.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_18.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_18.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_18.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_18.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_18.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_9.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_9.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_9.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_9.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_9.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_9.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_9.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_9.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_9.x Notification: Performance of [SIM] Tearing: time 0.0005939/2.492, allocations: 479.3 kB / 0.761 GB, free: 4.535 MB / 0.6232 GB Notification: Performance of [SIM] Categorize: time 1.674e-05/2.492, allocations: 8 kB / 0.761 GB, free: 4.527 MB / 0.6232 GB Notification: Performance of [SIM] Solve: time 0.005389/2.497, allocations: 3.611 MB / 0.7645 GB, free: 0.9414 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_18.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace. " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 4.457318581989966] Failed to read output from testmodel.py, exit status != 0: 3.053105171013158 3.063527046 0.6056452600000001 Calling exit ...