Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001445/0.001445, allocations: 104.3 kB / 19.76 MB, free: 1.906 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.001574/0.001574, allocations: 218.8 kB / 23.07 MB, free: 4.98 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.285/1.285, allocations: 230.7 MB / 256.9 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1311/0.1311, allocations: 24 MB / 337.3 MB, free: 10.82 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Examples.WaterElectrolysis") translateModel(Chemical.Examples.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.WaterElectrolysis") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.534e-05, allocations: 4.109 kB / 472.6 MB, free: 6.863 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1343:7-1343: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 master/Boundaries.mo:1343:7-1343: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 master/Boundaries.mo:1361:7-1361: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 master/Boundaries.mo:1361:7-1361: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.07704/0.07706, allocations: 35.97 MB / 0.4967 GB, free: 2.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02106/0.09812, allocations: 14.78 MB / 0.5111 GB, free: 4.137 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002253/0.1004, allocations: 71.62 kB / 0.5112 GB, free: 4.066 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003343/0.1037, allocations: 1.339 MB / 0.5125 GB, free: 2.719 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003964/0.1077, allocations: 1.621 MB / 0.514 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1683/0.276, allocations: 4.257 MB / 0.5182 GB, free: 29.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007353/0.2834, allocations: 5.865 MB / 0.5239 GB, free: 29.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/0.2851, allocations: 1.016 MB / 0.5249 GB, free: 29.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003825/0.2889, allocations: 2.396 MB / 0.5273 GB, free: 29.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004791/0.2937, allocations: 2.517 MB / 0.5297 GB, free: 28.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007116/0.2944, allocations: 451.8 kB / 0.5302 GB, free: 28.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004291/0.2987, allocations: 1.633 MB / 0.5317 GB, free: 28.79 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.005821/0.3045, allocations: 8.812 MB / 0.5403 GB, free: 23.12 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.003099/0.3076, allocations: 5.645 MB / 0.5459 GB, free: 19.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009302/0.3086, allocations: 375.8 kB / 0.5462 GB, free: 19.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0003484/0.3089, allocations: 135.4 kB / 0.5464 GB, free: 19.33 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: 1655 (941) * Number of variables: 1520 (1061) Notification: Performance of [SIM] Bindings: time 0.02364/0.3325, allocations: 32.09 MB / 0.5777 GB, free: 8.594 MB / 398.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.004022/0.3366, allocations: 3.218 MB / 0.5808 GB, free: 5.652 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.03589/0.3724, allocations: 32.49 MB / 0.6126 GB, free: 5.992 MB / 430.1 MB Notification: Performance of [SIM] Simplify 1: time 0.01107/0.3835, allocations: 8.405 MB / 0.6208 GB, free: 14.03 MB / 446.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.02641/0.4099, allocations: 19.62 MB / 0.6399 GB, free: 9.695 MB / 462.1 MB Notification: Performance of [SIM] Simplify 2: time 0.009402/0.4193, allocations: 7.947 MB / 0.6477 GB, free: 1.707 MB / 462.1 MB Notification: Performance of [SIM] Remove Stream: time 0.002457/0.4218, allocations: 1.661 MB / 0.6493 GB, free: 15.98 MB / 478.1 MB Notification: Performance of [SIM] Detect States: time 0.004943/0.4267, allocations: 4.582 MB / 0.6538 GB, free: 11.36 MB / 478.1 MB Notification: Performance of [SIM] Events: time 0.002109/0.4288, allocations: 1.329 MB / 0.6551 GB, free: 10.07 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.602185901021585] Failed to read output from testmodel.py, exit status != 0: 0.4395409510470927 0.451896875 0.140306328 Calling exit ...