Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.WaterElectrolysis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 104.3 kB / 19.77 MB, free: 2.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 217.4 kB / 23.07 MB, free: 4.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.199/1.199, allocations: 230.6 MB / 256.9 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.11/0.11, allocations: 23.88 MB / 337.2 MB, free: 10.9 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterElectrolysis") translateModel(Chemical.Examples.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterElectrolysis") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.353e-05/1.353e-05, allocations: 2.281 kB / 472.4 MB, free: 6.977 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1328:7-1328:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1328:7-1328:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterElectrolysis): time 0.07178/0.07179, allocations: 35.66 MB / 0.4962 GB, free: 3.402 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01755/0.08934, allocations: 14.48 MB / 0.5103 GB, free: 4.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.09043, allocations: 55.75 kB / 0.5104 GB, free: 4.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002746/0.09318, allocations: 1.385 MB / 0.5117 GB, free: 3.422 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002626/0.09581, allocations: 1.563 MB / 0.5133 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1332/0.229, allocations: 4.18 MB / 0.5173 GB, free: 29.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005741/0.2348, allocations: 5.754 MB / 0.523 GB, free: 29.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/0.2361, allocations: 1.01 MB / 0.5239 GB, free: 29.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002118/0.2383, allocations: 2.176 MB / 0.5261 GB, free: 29.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002087/0.2403, allocations: 2.252 MB / 0.5283 GB, free: 28.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000456/0.2408, allocations: 442.9 kB / 0.5287 GB, free: 28.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003005/0.2438, allocations: 1.664 MB / 0.5303 GB, free: 28.81 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.004214/0.248, allocations: 8.751 MB / 0.5389 GB, free: 23.25 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.00197/0.25, allocations: 5.573 MB / 0.5443 GB, free: 19.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005108/0.2505, allocations: 365.3 kB / 0.5447 GB, free: 19.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0002303/0.2507, allocations: 132.8 kB / 0.5448 GB, free: 19.51 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1627 (913) * Number of variables: 1492 (1033) Notification: Performance of [SIM] Bindings: time 0.01742/0.2681, allocations: 32.07 MB / 0.5761 GB, free: 9.586 MB / 398.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002758/0.2709, allocations: 3.165 MB / 0.5792 GB, free: 6.844 MB / 398.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 i [/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 j [/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 i [/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 j [/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 i [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1505:5-1505:109:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for i [/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 i [/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 j [/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 i [/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 j [/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 i [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1505:5-1505:109:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for i Notification: Performance of [SIM] Early Inline: time 0.02781/0.2987, allocations: 31.39 MB / 0.6098 GB, free: 8.289 MB / 430.1 MB Notification: Performance of [SIM] Simplify 1: time 0.008489/0.3072, allocations: 8.309 MB / 0.618 GB, free: 432 kB / 430.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.02031/0.3275, allocations: 18.7 MB / 0.6362 GB, free: 13 MB / 462.1 MB Notification: Performance of [SIM] Simplify 2: time 0.007652/0.3352, allocations: 7.945 MB / 0.644 GB, free: 5.023 MB / 462.1 MB Notification: Performance of [SIM] Remove Stream: time 0.00162/0.3368, allocations: 1.614 MB / 0.6456 GB, free: 3.344 MB / 462.1 MB Notification: Performance of [SIM] Detect States: time 0.003912/0.3407, allocations: 4.477 MB / 0.6499 GB, free: 14.84 MB / 478.1 MB Notification: Performance of [SIM] Events: time 0.001665/0.3424, allocations: 1.391 MB / 0.6513 GB, free: 13.49 MB / 478.1 MB Error: Internal error NBPartitioning.partitioningClocked (ODE) failed because the following variables could not be assigned to a partition: {[ALGB] (1) protected input Real liquidWater.definitionVar.data.VmExcess (min = 0.0) [ALGB] (1) protected input Real liquidWater.definitionVar.data.VmBase (min = 0.0) [DISC] (1) protected input enumeration Chemical.Interfaces.Phase(Gas, Liquid, Solid, Aqueous, Incompressible) liquidWater.definitionVar.data.phase [ALGB] (1) protected input Real liquidWater.definitionVar.data.z [ALGB] (3) protected input Real[3] liquidWater.definitionVar.data.bhigh [ALGB] (7) protected input Real[7] liquidWater.definitionVar.data.ahigh [ALGB] (3) protected input Real[3] liquidWater.definitionVar.data.blow [ALGB] (7) protected input Real[7] liquidWater.definitionVar.data.alow [ALGB] (1) protected input Real liquidWater.definitionVar.data.H0 (nominal = 2e4) [ALGB] (1) protected input Real liquidWater.definitionVar.data.Hf (nominal = 2e4) [ALGB] (1) protected input Real liquidWater.definitionVar.data.MM (min = 0.0) [ALGB] (1) Real reaction.processDefinition.data.VmExcess (min = 0.0) [ALGB] (1) Real reaction.processDefinition.data.VmBase (min = 0.0) [DISC] (1) enumeration Chemical.Interfaces.Phase(Gas, Liquid, Solid, Aqueous, Incompressible) reaction.processDefinition.data.phase [ALGB] (1) Real reaction.processDefinition.data.z [ALGB] (3) Real[3] reaction.processDefinition.data.bhigh [ALGB] (7) Real[7] reaction.processDefinition.data.ahigh [ALGB] (3) Real[3] reaction.processDefinition.data.blow [ALGB] (7) Real[7] reaction.processDefinition.data.alow [ALGB] (1) Real reaction.processDefinition.data.H0 (nominal = 2e4) [ALGB] (1) Real reaction.processDefinition.data.Hf (nominal = 2e4) [ALGB] (1) Real reaction.processDefinition.data.MM (min = 0.0)} " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.3334782049641944] Failed to read output from testmodel.py, exit status != 0: 0.3517834770027548 0.363504007 0.11029836500000001 Calling exit ...