Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Boundaries.Tests.TestExternalGas.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.001578/0.001578, 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.001887/0.001887, allocations: 207.5 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.1423/0.1423, allocations: 23.88 MB / 337.1 MB, free: 11.07 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.Boundaries.Tests.TestExternalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Chemical_Chemical.Boundaries.Tests.TestExternalGas") translateModel(Chemical.Boundaries.Tests.TestExternalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Chemical_Chemical.Boundaries.Tests.TestExternalGas") [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.002293/0.002293, allocations: 63.91 kB / 472.4 MB, free: 7.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3098, allocations: 59.87 MB / 0.5198 GB, free: 9.715 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1564:5-1564:64: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/Interfaces.mo:1564:5-1564:64: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.Boundaries.Tests.TestExternalGas): time 0.09409/0.4039, allocations: 44.52 MB / 0.5632 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1718/0.5757, allocations: 128.6 MB / 0.6888 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00591/0.5816, allocations: 91.56 kB / 0.6889 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.006067/0.5877, allocations: 1.967 MB / 0.6908 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.009276/0.5969, allocations: 2.47 MB / 0.6932 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005021/0.602, allocations: 1.702 MB / 0.6949 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01063/0.6126, allocations: 6.988 MB / 0.7017 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002582/0.6152, allocations: 1.757 MB / 0.7034 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00367/0.6188, allocations: 2.833 MB / 0.7062 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005409/0.6242, allocations: 3.361 MB / 0.7095 GB, free: 6.949 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00184/0.6261, allocations: 0.7539 MB / 0.7102 GB, free: 6.195 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004851/0.6309, allocations: 1.698 MB / 0.7119 GB, free: 4.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002249/0.6332, allocations: 2.313 MB / 0.7141 GB, free: 2.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.004375/0.6376, allocations: 3.299 MB / 0.7174 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.02193/0.6595, allocations: 11.7 MB / 0.7288 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.6595, allocations: 4 kB / 0.7288 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6595, allocations: 0 / 0.7288 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003423/0.6598, allocations: 0 / 0.7288 GB, free: 3.113 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2356 * Number of variables: 2356 Notification: Performance of Generate backend data structure: time 0.2334/0.8932, allocations: 8.62 MB / 0.7372 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.8933, allocations: 8.781 kB / 0.7372 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004304/0.8976, allocations: 1.593 MB / 0.7388 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006516/0.9041, allocations: 3.542 MB / 0.7422 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001191/0.9053, allocations: 1.311 MB / 0.7435 GB, free: 178.9 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001128/0.9064, allocations: 0.7318 MB / 0.7442 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03404/0.9405, allocations: 28.71 MB / 0.7723 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002993/0.9408, allocations: 19.81 kB / 0.7723 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001377/0.9421, allocations: 315.3 kB / 0.7726 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009833/0.9431, allocations: 1.207 MB / 0.7738 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03522/0.9783, allocations: 45.89 MB / 0.8186 GB, free: 114 MB / 0.5606 GB 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.08013/1.058, allocations: 67 MB / 0.884 GB, free: 46.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01594/1.074, allocations: 12.19 MB / 0.8959 GB, free: 34.47 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008356/1.083, allocations: 8.76 MB / 0.9045 GB, free: 25.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002053/1.085, allocations: 0.6788 MB / 0.9051 GB, free: 25.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/1.085, allocations: 63.81 kB / 0.9052 GB, free: 24.95 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=245): time 7.033e-06/1.085, allocations: 2.625 kB / 0.9052 GB, free: 24.95 MB / 0.5606 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 solvent.substance.FixedDefinition and Chemical.Interfaces.Properties.selfClustering(solvent.substance.definitionParam) or Chemical.Interfaces.Properties.selfClustering(Chemical.Interfaces.DefinitionInput(Chemical.Interfaces.DataRecord(solvent.substanceDefinition.data.MM, solvent.substanceDefinition.data.Hf, solvent.substanceDefinition.data.H0, {solvent.substanceDefinition.data.alow[1], solvent.substanceDefinition.data.alow[2], solvent.substanceDefinition.data.alow[3], solvent.substanceDefinition.data.alow[4], solvent.substanceDefinition.data.alow[5], solvent.substanceDefinition.data.alow[6], solvent.substanceDefinition.data.alow[7]}, {solvent.substanceDefinition.data.blow[1], solvent.substanceDefinition.data.blow[2], solvent.substanceDefinition.data.blow[3]}, {solvent.substanceDefinition.data.ahigh[1], solvent.substanceDefinition.data.ahigh[2], solvent.substanceDefinition.data.ahigh[3], solvent.substanceDefinition.data.ahigh[4], solvent.substanceDefinition.data.ahigh[5], solvent.substanceDefinition.data.ahigh[6], solvent.substanceDefinition.data.ahigh[7]}, {solvent.substanceDefinition.data.bhigh[1], solvent.substanceDefinition.data.bhigh[2], solvent.substanceDefinition.data.bhigh[3]}, solvent.substanceDefinition.data.z, solvent.substanceDefinition.data.phase, solvent.substanceDefinition.data.VmBase, solvent.substanceDefinition.data.VmExcess), solvent.substanceDefinition.SelfClustering, solvent.substanceDefinition.SelfClustering_dH, solvent.substanceDefinition.SelfClustering_dS)) then solvent.substance.nj * (1.0 - solvent.substance.SelfClustering_K * solvent.x) - solvent.substance.amountOfFreeMolecule else solvent.substance.nj - solvent.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.Boundaries.Tests.TestExternalGas could not be translated " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.122144846012816] Failed to read output from testmodel.py, exit status != 0: 1.7002636600082042 1.71182393 1.049621481 Calling exit ...