Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.9079/0.9079, allocations: 153.8 MB / 173.5 MB, free: 4.848 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.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.596e-05, allocations: 2.281 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.Examples.SimpleExamples.TestSteamEngine): time 1.918/1.918, allocations: 307.7 MB / 0.5458 GB, free: 3.164 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3319/2.25, allocations: 25.89 MB / 0.5711 GB, free: 13.61 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/2.251, allocations: 3.984 kB / 0.5711 GB, free: 13.61 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/SteamEngine.mo:35:3-37:17: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/Machines/SteamEngine.mo:38:3-39:44: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/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/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). Notification: Performance of NFTyping.typeComponents: time 0.0005959/2.251, allocations: 177.3 kB / 0.5712 GB, free: 13.61 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003045/2.251, allocations: 161.3 kB / 0.5714 GB, free: 13.61 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/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. Notification: Performance of NFTyping.typeClassSections: time 0.02529/2.277, allocations: 9.548 MB / 0.5807 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008588/2.278, allocations: 0.4942 MB / 0.5812 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002622/2.278, allocations: 109.8 kB / 0.5813 GB, free: 12.65 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002824/2.278, allocations: 191.6 kB / 0.5815 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/2.278, allocations: 123.1 kB / 0.5816 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.644e-05/2.278, allocations: 19.34 kB / 0.5816 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03019/2.309, allocations: 18.22 MB / 0.5994 GB, free: 4.105 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.000504/2.309, allocations: 0.5939 MB / 0.6 GB, free: 3.52 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001323/2.309, allocations: 420.1 kB / 0.6004 GB, free: 3.113 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.636e-05/2.309, allocations: 32.62 kB / 0.6004 GB, free: 3.082 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.423e-05/2.309, allocations: 9.969 kB / 0.6004 GB, free: 3.074 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: 95 (52) * Number of variables: 95 (95) Notification: Performance of [SIM] Bindings: time 0.001369/2.311, allocations: 1.992 MB / 0.6024 GB, free: 1.008 MB / 462.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002815/2.311, allocations: 315.8 kB / 0.6027 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of [SIM] Early Inline: time 0.001523/2.313, allocations: 1.594 MB / 0.6042 GB, free: 15.14 MB / 478.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003612/2.313, allocations: 225.8 kB / 0.6044 GB, free: 14.88 MB / 478.1 MB Notification: Performance of [SIM] Alias: time 0.002168/2.315, allocations: 1.468 MB / 0.6059 GB, free: 13.32 MB / 478.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002582/2.315, allocations: 168.4 kB / 0.606 GB, free: 13.1 MB / 478.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001564/2.315, allocations: 141.8 kB / 0.6062 GB, free: 12.95 MB / 478.1 MB Notification: Performance of [SIM] Detect States: time 0.000309/2.316, allocations: 296.8 kB / 0.6065 GB, free: 12.62 MB / 478.1 MB Notification: Performance of [SIM] Events: time 6.021e-05/2.316, allocations: 32.09 kB / 0.6065 GB, free: 12.59 MB / 478.1 MB Notification: Performance of [SIM] Partitioning: time 0.0006495/2.316, allocations: 0.5096 MB / 0.607 GB, free: 12.09 MB / 478.1 MB Notification: Performance of [SIM] Causalize: time 0.002083/2.319, allocations: 1.476 MB / 0.6084 GB, free: 10.61 MB / 478.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0009178/2.319, allocations: 0.9101 MB / 0.6093 GB, free: 9.738 MB / 478.1 MB Notification: Performance of [INI] Simplify: time 0.0008083/2.32, allocations: 0.5181 MB / 0.6098 GB, free: 9.18 MB / 478.1 MB Notification: Performance of [INI] Inline: time 0.001628/2.322, allocations: 1.486 MB / 0.6113 GB, free: 7.742 MB / 478.1 MB Notification: Performance of [INI] Partitioning: time 7.371e-05/2.322, allocations: 40.95 kB / 0.6113 GB, free: 7.695 MB / 478.1 MB Notification: Performance of [INI] Cleanup: time 0.0001842/2.322, allocations: 221.3 kB / 0.6115 GB, free: 7.492 MB / 478.1 MB Notification: Performance of [INI] Causalize: time 0.002471/2.325, allocations: 1.778 MB / 0.6133 GB, free: 5.711 MB / 478.1 MB Notification: Performance of [INI] Tearing: time 0.0001919/2.325, allocations: 137.1 kB / 0.6134 GB, free: 5.59 MB / 478.1 MB Notification: Performance of [SIM] Initialization: time 7.62e-07/2.325, allocations: 0 / 0.6134 GB, free: 5.59 MB / 478.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0009827/2.326, allocations: 0.6721 MB / 0.614 GB, free: 5.02 MB / 478.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.773e-06/2.326, allocations: 0 / 0.614 GB, free: 5.02 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_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.0003155/2.326, allocations: 275.8 kB / 0.6143 GB, free: 4.773 MB / 478.1 MB Notification: Performance of [SIM] Categorize: time 1.854e-05/2.326, allocations: 4 kB / 0.6143 GB, free: 4.77 MB / 478.1 MB Notification: Performance of [SIM] Solve: time 0.002309/2.328, allocations: 1.587 MB / 0.6159 GB, free: 3.344 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_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: 3.9698498449870385] Failed to read output from testmodel.py, exit status != 0: 2.5290052039781585 2.544524662 0.231843142 Calling exit ...