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.001197/0.001197, allocations: 108.3 kB / 19.71 MB, free: 2.152 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.00129/0.00129, allocations: 213.5 kB / 23.01 MB, free: 4.961 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.322/1.322, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1273/0.1273, allocations: 23.92 MB / 337.1 MB, free: 10.91 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 2.069e-05/2.069e-05, allocations: 2.281 kB / 472.4 MB, free: 7 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1336:7-1336: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:1336:7-1336: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:1350:7-1350: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:1350:7-1350: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.07968/0.0797, allocations: 35.6 MB / 0.4961 GB, free: 3.473 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02235/0.1021, allocations: 14.49 MB / 0.5102 GB, free: 4.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002625/0.1047, allocations: 71.56 kB / 0.5103 GB, free: 4.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003714/0.1084, allocations: 1.335 MB / 0.5116 GB, free: 3.512 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004464/0.1129, allocations: 1.602 MB / 0.5132 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1782/0.291, allocations: 4.175 MB / 0.5172 GB, free: 29.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007295/0.2983, allocations: 5.756 MB / 0.5229 GB, free: 29.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002343/0.3007, allocations: 1.037 MB / 0.5239 GB, free: 29.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003904/0.3046, allocations: 2.351 MB / 0.5262 GB, free: 29.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004577/0.3092, allocations: 2.737 MB / 0.5288 GB, free: 28.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001242/0.3104, allocations: 439.3 kB / 0.5293 GB, free: 28.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004469/0.3149, allocations: 1.608 MB / 0.5308 GB, free: 28.56 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.005181/0.3201, allocations: 8.616 MB / 0.5392 GB, free: 23.02 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.002476/0.3225, allocations: 5.536 MB / 0.5446 GB, free: 19.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007071/0.3232, allocations: 368.2 kB / 0.545 GB, free: 19.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0003144/0.3235, allocations: 129.4 kB / 0.5451 GB, free: 19.31 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.01918/0.3427, allocations: 31.63 MB / 0.576 GB, free: 9.531 MB / 398.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.003386/0.3461, allocations: 3.15 MB / 0.5791 GB, free: 6.844 MB / 398.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1411:9-1411:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for i [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1411:9-1411:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for j [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1411:9-1411:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for i [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1411:9-1411:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for j [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1411:9-1411:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for i [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1493:5-1493:109:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for i [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1411:9-1411:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for i [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1411:9-1411:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for j [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1411:9-1411:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for i [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1411:9-1411:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for j [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1411:9-1411:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for i [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1493:5-1493:109:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for i Notification: Performance of [SIM] Early Inline: time 0.02584/0.372, allocations: 24.42 MB / 0.6029 GB, free: 15.03 MB / 430.1 MB Notification: Performance of [SIM] Simplify 1: time 0.008003/0.38, allocations: 6.123 MB / 0.6089 GB, free: 9.309 MB / 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.02204/0.402, allocations: 16.6 MB / 0.6251 GB, free: 8.027 MB / 446.1 MB Notification: Performance of [SIM] Simplify 2: time 0.00709/0.4091, allocations: 5.654 MB / 0.6306 GB, free: 2.457 MB / 446.1 MB Notification: Performance of [SIM] Remove Stream: time 0.001824/0.4109, allocations: 1.369 MB / 0.632 GB, free: 1.02 MB / 446.1 MB Notification: Performance of [SIM] Detect States: time 0.003879/0.4148, allocations: 3.759 MB / 0.6356 GB, free: 13.23 MB / 462.1 MB Notification: Performance of [SIM] Events: time 0.001603/0.4164, allocations: 1.124 MB / 0.6367 GB, free: 12.13 MB / 462.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.6914843847043812] Failed to read output from testmodel.py, exit status != 0: 0.4272274458780885 0.43961296699999997 0.113319627 Calling exit ...