Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Processes.Tests.TestMembrane.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.001286/0.001286, allocations: 96.2 kB / 19.71 MB, free: 2.121 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.001427/0.001427, allocations: 212.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.425/1.425, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1372/0.1372, 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.Processes.Tests.TestMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Processes.Tests.TestMembrane") translateModel(Chemical.Processes.Tests.TestMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Processes.Tests.TestMembrane") [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.00208/0.00208, allocations: 63.91 kB / 472.4 MB, free: 7.047 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3075, allocations: 59.86 MB / 0.5197 GB, free: 9.727 MB / 382.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.Processes.Tests.TestMembrane): time 0.07507/0.3825, allocations: 28.34 MB / 0.5474 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01347/0.396, allocations: 8.165 MB / 0.5554 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.3973, allocations: 23.88 kB / 0.5554 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003122/0.4005, allocations: 0.9749 MB / 0.5564 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002506/0.403, allocations: 0.813 MB / 0.5572 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002774/0.4057, allocations: 0.9481 MB / 0.5581 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002769/0.4085, allocations: 2 MB / 0.56 GB, free: 108 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007915/0.4093, allocations: 436.3 kB / 0.5605 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.4106, allocations: 0.8058 MB / 0.5612 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/0.4121, allocations: 0.9534 MB / 0.5622 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000306/0.4124, allocations: 224 kB / 0.5624 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003389/0.4158, allocations: 1.183 MB / 0.5635 GB, free: 12.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006815/0.4165, allocations: 0.6593 MB / 0.5642 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.4176, allocations: 0.9075 MB / 0.5651 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006042/0.4236, allocations: 4.033 MB / 0.569 GB, free: 7.406 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.375e-06/0.4236, allocations: 4 kB / 0.569 GB, free: 7.402 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4236, allocations: 0 / 0.569 GB, free: 7.402 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.891e-05/0.4237, allocations: 0 / 0.569 GB, free: 7.402 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 618 * Number of variables: 618 Notification: Performance of Generate backend data structure: time 0.00486/0.4285, allocations: 2.573 MB / 0.5715 GB, free: 4.785 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.4286, allocations: 8.031 kB / 0.5715 GB, free: 4.777 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00207/0.4306, allocations: 0.5301 MB / 0.572 GB, free: 4.246 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/0.4325, allocations: 1.078 MB / 0.5731 GB, free: 3.137 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004112/0.4329, allocations: 367.2 kB / 0.5735 GB, free: 2.754 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000337/0.4333, allocations: 200.3 kB / 0.5736 GB, free: 2.559 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01023/0.4435, allocations: 8.327 MB / 0.5818 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.221e-05/0.4435, allocations: 7.938 kB / 0.5818 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/0.4437, allocations: 83.97 kB / 0.5819 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000406/0.4441, allocations: 344.7 kB / 0.5822 GB, free: 9.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01682/0.4609, allocations: 14.41 MB / 0.5963 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02962/0.4906, allocations: 18.71 MB / 0.6145 GB, free: 8.527 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005322/0.4959, allocations: 3.443 MB / 0.6179 GB, free: 5.078 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004018/0.4999, allocations: 2.803 MB / 0.6206 GB, free: 2.27 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00169/0.5016, allocations: 0.5752 MB / 0.6212 GB, free: 1.691 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.5016, allocations: 39.56 kB / 0.6212 GB, free: 1.645 MB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 3.496e-06/0.5016, allocations: 0 / 0.6212 GB, free: 1.645 MB / 462.1 MB [/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 s1.substance.FixedDefinition and Chemical.Interfaces.Properties.selfClustering(s1.substance.definitionParam) or Chemical.Interfaces.Properties.selfClustering(Chemical.Interfaces.DefinitionInput(Chemical.Interfaces.DataRecord(s1.substanceDefinition.data.MM, s1.substanceDefinition.data.Hf, s1.substanceDefinition.data.H0, {s1.substanceDefinition.data.alow[1], s1.substanceDefinition.data.alow[2], s1.substanceDefinition.data.alow[3], s1.substanceDefinition.data.alow[4], s1.substanceDefinition.data.alow[5], s1.substanceDefinition.data.alow[6], s1.substanceDefinition.data.alow[7]}, {s1.substanceDefinition.data.blow[1], s1.substanceDefinition.data.blow[2], s1.substanceDefinition.data.blow[3]}, {s1.substanceDefinition.data.ahigh[1], s1.substanceDefinition.data.ahigh[2], s1.substanceDefinition.data.ahigh[3], s1.substanceDefinition.data.ahigh[4], s1.substanceDefinition.data.ahigh[5], s1.substanceDefinition.data.ahigh[6], s1.substanceDefinition.data.ahigh[7]}, {s1.substanceDefinition.data.bhigh[1], s1.substanceDefinition.data.bhigh[2], s1.substanceDefinition.data.bhigh[3]}, s1.substanceDefinition.data.z, s1.substanceDefinition.data.phase, s1.substanceDefinition.data.VmBase, s1.substanceDefinition.data.VmExcess), s1.substanceDefinition.SelfClustering, s1.substanceDefinition.SelfClustering_dH, s1.substanceDefinition.SelfClustering_dS)) then s1.x - 0.5 * (2.0 * s1.substance.SelfClustering_K + s1.solutionParam.n / s1.n - sqrt(4.0 * s1.substance.SelfClustering_K * s1.solutionParam.n / s1.n + (s1.solutionParam.n / s1.n) ^ 2.0)) / s1.substance.SelfClustering_K ^ 2.0 else s1.n - s1.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.Processes.Tests.TestMembrane could not be translated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.9036358629964525] Failed to read output from testmodel.py, exit status != 0: 0.5491476190072717 0.5634444430000001 0.136722026 Calling exit ...