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.001771/0.001771, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002031/0.002031, allocations: 209.8 kB / 23 MB, free: 4.934 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.1377/0.1377, allocations: 23.93 MB / 337.1 MB, free: 10.92 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 67.89 kB / 472.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3247, allocations: 59.87 MB / 0.5198 GB, free: 9.766 MB / 382.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.08193/0.4066, allocations: 35.53 MB / 0.5545 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02564/0.4322, allocations: 14.49 MB / 0.5687 GB, free: 7.594 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00423/0.4365, allocations: 71.62 kB / 0.5687 GB, free: 7.523 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004765/0.4412, allocations: 1.334 MB / 0.57 GB, free: 6.324 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006334/0.4476, allocations: 1.602 MB / 0.5716 GB, free: 4.711 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008749/0.4563, allocations: 4.182 MB / 0.5757 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008611/0.4649, allocations: 4.935 MB / 0.5805 GB, free: 11.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002212/0.4671, allocations: 1.256 MB / 0.5817 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003044/0.4702, allocations: 2.009 MB / 0.5837 GB, free: 8.219 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00426/0.4744, allocations: 2.736 MB / 0.5864 GB, free: 5.473 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001166/0.4756, allocations: 0.5156 MB / 0.5869 GB, free: 4.957 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004372/0.48, allocations: 1.701 MB / 0.5885 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001543/0.4815, allocations: 1.487 MB / 0.59 GB, free: 1.762 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003098/0.4846, allocations: 2.157 MB / 0.5921 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01242/0.497, allocations: 8.13 MB / 0.6 GB, free: 7.434 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.497, allocations: 0 / 0.6 GB, free: 7.434 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.497, allocations: 0 / 0.6 GB, free: 7.434 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002147/0.4973, allocations: 4 kB / 0.6 GB, free: 7.43 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1492 * Number of variables: 1492 Notification: Performance of Generate backend data structure: time 0.01892/0.5162, allocations: 5.933 MB / 0.6058 GB, free: 1.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.5162, allocations: 12.03 kB / 0.6058 GB, free: 1.418 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004622/0.5209, allocations: 0.9924 MB / 0.6068 GB, free: 432 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006075/0.5269, allocations: 2.099 MB / 0.6089 GB, free: 14.26 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007973/0.5277, allocations: 0.6596 MB / 0.6095 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001154/0.5289, allocations: 492.2 kB / 0.61 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02297/0.5519, allocations: 14.04 MB / 0.6237 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-05/0.5519, allocations: 0 / 0.6237 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004542/0.5524, allocations: 200 kB / 0.6239 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007293/0.5531, allocations: 0.624 MB / 0.6245 GB, free: 14.14 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02937/0.5825, allocations: 22.19 MB / 0.6462 GB, free: 7.938 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05378/0.6363, allocations: 26.29 MB / 0.6718 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008859/0.6451, allocations: 5.397 MB / 0.6771 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006269/0.6514, allocations: 4.078 MB / 0.6811 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03096/0.6824, allocations: 14.48 MB / 0.6952 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.646e-05/0.6824, allocations: 60.56 kB / 0.6953 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=212): time 4.949e-06/0.6824, allocations: 0 / 0.6953 GB, free: 5.402 MB / 0.5294 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: 0.0 = if reaction.nextProducts[1].SelfClustering then H2_gas.substance.nj * (1.0 - H2_gas.substance.SelfClustering_K * H2_gas.x) - H2_gas.substance.amountOfFreeMolecule else H2_gas.substance.nj - H2_gas.substance.amountOfFreeMolecule [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8018:5-8018:89:writable] Error: Internal error Transformation module sort components failed Error: Internal error SimCode DAEmode: The model Chemical.Examples.WaterElectrolysis could not be translated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.5240729079960147] Failed to read output from testmodel.py, exit status != 0: 1.0479970660089748 1.06063253 0.5605703240000001 Calling exit ...