Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser.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.9106/0.9106, allocations: 153.8 MB / 173.5 MB, free: 4.863 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.TestSimpleDynamicCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.596e-05/3.596e-05, allocations: 7.312 kB / 251.1 MB, free: 3.852 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.TestSimpleDynamicCondenser): time 1.891/1.891, allocations: 310.8 MB / 0.5488 GB, free: 104 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5594/2.45, allocations: 172.3 MB / 0.7171 GB, free: 76 kB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001546/2.452, allocations: 31.75 kB / 0.7171 GB, free: 44 kB / 0.5607 GB [/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/PressureLosses/SingularPressureLoss.mo:27:3-28:67: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/PressureLosses/SingularPressureLoss.mo:29:3-30:65: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/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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkQ.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/SourceQ.mo:63:3-64:65: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/PressureLosses/SingularPressureLoss.mo:27:3-28:67: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/PressureLosses/SingularPressureLoss.mo:29:3-30:65: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/PressureLosses/SingularPressureLoss.mo:27:3-28:67: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/PressureLosses/SingularPressureLoss.mo:29:3-30:65: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/PressureLosses/SingularPressureLoss.mo:27:3-28:67: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/PressureLosses/SingularPressureLoss.mo:29:3-30:65: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/HeatExchangers/SimpleDynamicCondenser.mo:119:3-120:52:writable] Warning: Connector Cv 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/HeatExchangers/SimpleDynamicCondenser.mo:121:3-122:53:writable] Warning: Connector Cl 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/HeatExchangers/SimpleDynamicCondenser.mo:129:3-130:55:writable] Warning: Connector Cee 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/HeatExchangers/SimpleDynamicCondenser.mo:131:3-132:53:writable] Warning: Connector Cse 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.001383/2.453, allocations: 259.5 kB / 0.7174 GB, free: 15.79 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.001992/2.455, allocations: 0.5038 MB / 0.7178 GB, free: 15.28 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T 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.04022/2.495, allocations: 13.64 MB / 0.7312 GB, free: 1.645 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.003396/2.499, allocations: 2.104 MB / 0.7332 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/2.5, allocations: 0.7384 MB / 0.7339 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/2.501, allocations: 0.8137 MB / 0.7347 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007515/2.502, allocations: 0.6295 MB / 0.7354 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001883/2.502, allocations: 148 kB / 0.7355 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04751/2.55, allocations: 17.47 MB / 0.7526 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.00446/2.554, allocations: 2.908 MB / 0.7554 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.002502/2.556, allocations: 1.839 MB / 0.7572 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006258/2.557, allocations: 148 kB / 0.7573 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of FrontEnd: time 0.0003786/2.557, allocations: 55.67 kB / 0.7574 GB, free: 6.688 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: 391 (342) * Number of variables: 391 (391) Notification: Performance of [SIM] Bindings: time 0.008244/2.566, allocations: 7.247 MB / 0.7645 GB, free: 15.14 MB / 0.6232 GB Notification: Performance of [SIM] FunctionAlias: time 0.001512/2.567, allocations: 1.155 MB / 0.7656 GB, free: 14 MB / 0.6232 GB Notification: Performance of [SIM] Early Inline: time 0.00605/2.573, allocations: 5.062 MB / 0.7705 GB, free: 8.879 MB / 0.6232 GB Notification: Performance of [SIM] Simplify 1: time 0.001454/2.575, allocations: 0.743 MB / 0.7713 GB, free: 8.059 MB / 0.6232 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.01159/2.586, allocations: 7.605 MB / 0.7787 GB, free: 15.67 MB / 0.6388 GB Notification: Performance of [SIM] Simplify 2: time 0.000808/2.587, allocations: 497.6 kB / 0.7792 GB, free: 15.14 MB / 0.6388 GB Notification: Performance of [SIM] Remove Stream: time 0.0003316/2.587, allocations: 264.1 kB / 0.7794 GB, free: 14.85 MB / 0.6388 GB Notification: Performance of [SIM] Detect States: time 0.0008997/2.588, allocations: 0.6692 MB / 0.7801 GB, free: 14.11 MB / 0.6388 GB Notification: Performance of [SIM] Events: time 0.0003848/2.589, allocations: 240.4 kB / 0.7803 GB, free: 13.89 MB / 0.6388 GB Notification: Performance of [SIM] Partitioning: time 0.001619/2.59, allocations: 1.24 MB / 0.7815 GB, free: 12.61 MB / 0.6388 GB Notification: Performance of [SIM] Causalize: time 0.004885/2.595, allocations: 3.369 MB / 0.7848 GB, free: 9.164 MB / 0.6388 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002529/2.598, allocations: 2.381 MB / 0.7871 GB, free: 6.781 MB / 0.6388 GB Notification: Performance of [INI] Simplify: time 0.002383/2.6, allocations: 1.27 MB / 0.7884 GB, free: 5.422 MB / 0.6388 GB Notification: Performance of [INI] Inline: time 0.004378/2.605, allocations: 3.719 MB / 0.792 GB, free: 1.691 MB / 0.6388 GB Notification: Performance of [INI] Partitioning: time 0.0001638/2.605, allocations: 68.06 kB / 0.7921 GB, free: 1.609 MB / 0.6388 GB Notification: Performance of [INI] Cleanup: time 0.0005869/2.605, allocations: 0.5424 MB / 0.7926 GB, free: 1.066 MB / 0.6388 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) Condenseur.Vv = (-500.0) + Condenseur.V ($RES_SRT_422); [SCAL] (1) PerteChargeCondPompe3.Q = $START.PerteChargeCondPompe3.Q ($RES_SRT_423); Notification: Performance of [INI] Causalize: time 0.0111/2.616, allocations: 7.386 MB / 0.7998 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of [INI] Tearing: time 0.001778/2.618, allocations: 1.268 MB / 0.801 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of [SIM] Initialization: time 1.713e-06/2.618, allocations: 0 / 0.801 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of [SIM] DAE-Mode: time 0.001814/2.62, allocations: 1.146 MB / 0.8022 GB, free: 7.34 MB / 0.6544 GB Notification: Performance of [SIM] Remove Dummies: time 1.857e-05/2.62, allocations: 9 kB / 0.8022 GB, free: 7.332 MB / 0.6544 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_16.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_16.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_16.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_16.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_16.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_16.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_16.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_16.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_16.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_15.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_15.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_15.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_15.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_15.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_15.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_15.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_15.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_15.x Notification: Performance of [SIM] Tearing: time 0.001337/2.621, allocations: 1.022 MB / 0.8032 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of [SIM] Categorize: time 2.363e-05/2.621, allocations: 8 kB / 0.8032 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of [SIM] Solve: time 0.005326/2.627, allocations: 3.809 MB / 0.8069 GB, free: 2.645 MB / 0.6544 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_16.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.413680258963723] Failed to read output from testmodel.py, exit status != 0: 2.9747749679954723 2.982938463 0.422843733 Calling exit ...