Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier.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.8745/0.8745, allocations: 153.8 MB / 173.5 MB, free: 4.852 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.TestMassFlowMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier") translateModel(ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.631e-05/3.631e-05, allocations: 4.141 kB / 251.1 MB, free: 3.836 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.TestMassFlowMultiplier): time 1.912/1.912, allocations: 307.8 MB / 0.5459 GB, free: 3.086 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3415/2.254, allocations: 27.38 MB / 0.5726 GB, free: 13.28 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002208/2.254, allocations: 4.281 kB / 0.5726 GB, free: 13.28 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/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/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/MassFlowMultiplier.mo:16:3-18: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/MassFlowMultiplier.mo:19:3-20:52:writable] Warning: Connector Cs 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.0004649/2.255, allocations: 119.3 kB / 0.5727 GB, free: 13.24 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002426/2.255, allocations: 140.1 kB / 0.5729 GB, free: 13.19 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.02265/2.277, allocations: 8.364 MB / 0.581 GB, free: 11.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008229/2.278, allocations: 0.5269 MB / 0.5815 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003343/2.279, allocations: 166.5 kB / 0.5817 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004172/2.279, allocations: 223.9 kB / 0.5819 GB, free: 11.5 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/2.279, allocations: 135.1 kB / 0.582 GB, free: 11.45 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.766e-05/2.279, allocations: 28.66 kB / 0.5821 GB, free: 11.45 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02998/2.309, allocations: 13.55 MB / 0.5953 GB, free: 7.395 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.0006707/2.31, allocations: 0.6845 MB / 0.596 GB, free: 6.918 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002064/2.31, allocations: 471.6 kB / 0.5964 GB, free: 6.609 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 8.656e-05/2.31, allocations: 35.5 kB / 0.5965 GB, free: 6.609 MB / 462.1 MB Notification: Performance of FrontEnd: time 7.879e-05/2.31, allocations: 11.81 kB / 0.5965 GB, free: 6.605 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: 104 (77) * Number of variables: 104 (104) Notification: Performance of [SIM] Bindings: time 0.001723/2.312, allocations: 2.074 MB / 0.5985 GB, free: 5.121 MB / 462.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002654/2.312, allocations: 270.1 kB / 0.5988 GB, free: 4.914 MB / 462.1 MB Notification: Performance of [SIM] Early Inline: time 0.001216/2.313, allocations: 1.594 MB / 0.6003 GB, free: 3.617 MB / 462.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002717/2.314, allocations: 242 kB / 0.6005 GB, free: 3.336 MB / 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.001904/2.316, allocations: 1.872 MB / 0.6024 GB, free: 1.355 MB / 462.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001661/2.316, allocations: 180 kB / 0.6025 GB, free: 1.145 MB / 462.1 MB Notification: Performance of [SIM] Remove Stream: time 7.014e-05/2.316, allocations: 107.7 kB / 0.6026 GB, free: 1.016 MB / 462.1 MB Notification: Performance of [SIM] Detect States: time 0.0001618/2.316, allocations: 268.2 kB / 0.6029 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of [SIM] Events: time 9.522e-05/2.316, allocations: 58.89 kB / 0.603 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of [SIM] Partitioning: time 0.000366/2.317, allocations: 444.9 kB / 0.6034 GB, free: 248 kB / 462.1 MB Notification: Performance of [SIM] Causalize: time 0.001837/2.318, allocations: 1.414 MB / 0.6048 GB, free: 14.83 MB / 478.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0008407/2.319, allocations: 0.8532 MB / 0.6056 GB, free: 14 MB / 478.1 MB Notification: Performance of [INI] Simplify: time 0.0007541/2.32, allocations: 0.5083 MB / 0.6061 GB, free: 13.46 MB / 478.1 MB Notification: Performance of [INI] Inline: time 0.001543/2.322, allocations: 1.372 MB / 0.6074 GB, free: 12.12 MB / 478.1 MB Notification: Performance of [INI] Partitioning: time 5.918e-05/2.322, allocations: 32 kB / 0.6075 GB, free: 12.09 MB / 478.1 MB Notification: Performance of [INI] Cleanup: time 0.0001792/2.322, allocations: 195.9 kB / 0.6076 GB, free: 11.9 MB / 478.1 MB Notification: Performance of [INI] Causalize: time 0.00245/2.324, allocations: 1.732 MB / 0.6093 GB, free: 10.17 MB / 478.1 MB Notification: Performance of [INI] Tearing: time 0.0003698/2.325, allocations: 271.7 kB / 0.6096 GB, free: 9.934 MB / 478.1 MB Notification: Performance of [SIM] Initialization: time 8.32e-07/2.325, allocations: 0 / 0.6096 GB, free: 9.934 MB / 478.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0005129/2.325, allocations: 381 kB / 0.61 GB, free: 9.648 MB / 478.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.913e-06/2.325, allocations: 1.469 kB / 0.61 GB, free: 9.648 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_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 [/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 Notification: Performance of [SIM] Tearing: time 0.0006358/2.326, allocations: 0.5018 MB / 0.6105 GB, free: 9.211 MB / 478.1 MB Notification: Performance of [SIM] Categorize: time 1.227e-05/2.326, allocations: 0.5312 kB / 0.6105 GB, free: 9.211 MB / 478.1 MB Notification: Performance of [SIM] Solve: time 0.001842/2.328, allocations: 1.209 MB / 0.6116 GB, free: 8.191 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_1.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.9131405520020053] Failed to read output from testmodel.py, exit status != 0: 2.528439224988688 2.541904649 0.22845556900000002 Calling exit ...