Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Boundaries.Tests.TestSubstance.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.001331/0.001331, 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.001453/0.001453, allocations: 209.7 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.1347/0.1347, allocations: 23.88 MB / 337.1 MB, free: 10.98 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.TestSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Chemical_Chemical.Boundaries.Tests.TestSubstance") translateModel(Chemical.Boundaries.Tests.TestSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Chemical_Chemical.Boundaries.Tests.TestSubstance") [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.002055/0.002055, allocations: 63.91 kB / 472.4 MB, free: 7.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3065, allocations: 59.86 MB / 0.5198 GB, free: 9.801 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:644:5-644:47: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:644:5-644:47: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.TestSubstance): time 0.09965/0.4061, allocations: 49.83 MB / 0.5684 GB, free: 7.559 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02811/0.4342, allocations: 13.29 MB / 0.5814 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007341/0.4416, allocations: 111.5 kB / 0.5815 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00769/0.4493, allocations: 2.242 MB / 0.5837 GB, free: 8.305 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01214/0.4614, allocations: 3.029 MB / 0.5867 GB, free: 5.254 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006742/0.4681, allocations: 2.111 MB / 0.5887 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01423/0.4824, allocations: 8.747 MB / 0.5973 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00344/0.4858, allocations: 1.97 MB / 0.5992 GB, free: 8.301 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005045/0.4908, allocations: 3.503 MB / 0.6026 GB, free: 4.785 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00591/0.4968, allocations: 4.162 MB / 0.6067 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001799/0.4986, allocations: 0.9219 MB / 0.6076 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005096/0.5037, allocations: 1.862 MB / 0.6094 GB, free: 13.82 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002836/0.5065, allocations: 2.764 MB / 0.6121 GB, free: 11.04 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005774/0.5123, allocations: 4.009 MB / 0.616 GB, free: 7.012 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01967/0.5319, allocations: 13.91 MB / 0.6296 GB, free: 9.043 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.5319, allocations: 3.984 kB / 0.6296 GB, free: 9.039 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5319, allocations: 0 / 0.6296 GB, free: 9.039 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003431/0.5323, allocations: 0 / 0.6296 GB, free: 9.039 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2855 * Number of variables: 2855 Notification: Performance of Generate backend data structure: time 0.01855/0.5508, allocations: 10.54 MB / 0.6399 GB, free: 14.4 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.5509, allocations: 11.97 kB / 0.6399 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005142/0.556, allocations: 1.992 MB / 0.6419 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008362/0.5644, allocations: 4.125 MB / 0.6459 GB, free: 8.195 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001739/0.5661, allocations: 1.63 MB / 0.6475 GB, free: 6.453 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001645/0.5678, allocations: 0.9023 MB / 0.6484 GB, free: 5.551 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04691/0.6147, allocations: 37.54 MB / 0.685 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001636/0.6148, allocations: 7.938 kB / 0.685 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008071/0.6156, allocations: 383.9 kB / 0.6854 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001665/0.6173, allocations: 1.493 MB / 0.6868 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4372/1.054, allocations: 62.32 MB / 0.7477 GB, free: 166.3 MB / 0.5607 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.1012/1.156, allocations: 85.25 MB / 0.831 GB, free: 95.04 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01716/1.173, allocations: 16.22 MB / 0.8468 GB, free: 78.8 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01214/1.185, allocations: 12.13 MB / 0.8586 GB, free: 66.65 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002294/1.187, allocations: 0.715 MB / 0.8593 GB, free: 65.93 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.778e-05/1.187, allocations: 84.88 kB / 0.8594 GB, free: 65.84 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=402): time 7.193e-06/1.187, allocations: 0 / 0.8594 GB, free: 65.84 MB / 0.5607 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 substance.substance.FixedDefinition and Chemical.Interfaces.Properties.selfClustering(substance.substance.definitionParam) or Chemical.Interfaces.Properties.selfClustering(Chemical.Interfaces.DefinitionInput(Chemical.Interfaces.DataRecord(boundaryRear.substanceDefinition.data.MM, boundaryRear.substanceDefinition.data.Hf, boundaryRear.substanceDefinition.data.H0, {boundaryRear.substanceDefinition.data.alow[1], boundaryRear.substanceDefinition.data.alow[2], boundaryRear.substanceDefinition.data.alow[3], boundaryRear.substanceDefinition.data.alow[4], boundaryRear.substanceDefinition.data.alow[5], boundaryRear.substanceDefinition.data.alow[6], boundaryRear.substanceDefinition.data.alow[7]}, {boundaryRear.substanceDefinition.data.blow[1], boundaryRear.substanceDefinition.data.blow[2], boundaryRear.substanceDefinition.data.blow[3]}, {boundaryRear.substanceDefinition.data.ahigh[1], boundaryRear.substanceDefinition.data.ahigh[2], boundaryRear.substanceDefinition.data.ahigh[3], boundaryRear.substanceDefinition.data.ahigh[4], boundaryRear.substanceDefinition.data.ahigh[5], boundaryRear.substanceDefinition.data.ahigh[6], boundaryRear.substanceDefinition.data.ahigh[7]}, {boundaryRear.substanceDefinition.data.bhigh[1], boundaryRear.substanceDefinition.data.bhigh[2], boundaryRear.substanceDefinition.data.bhigh[3]}, boundaryRear.substanceDefinition.data.z, boundaryRear.substanceDefinition.data.phase, boundaryRear.substanceDefinition.data.VmBase, boundaryRear.substanceDefinition.data.VmExcess), boundaryRear.substanceDefinition.SelfClustering, boundaryRear.substanceDefinition.SelfClustering_dH, boundaryRear.substanceDefinition.SelfClustering_dS)) then substance.x - 0.5 * (2.0 * substance.substance.SelfClustering_K + boundaryRear.solutionParam.n / substance.n - sqrt(4.0 * substance.substance.SelfClustering_K * boundaryRear.solutionParam.n / substance.n + (boundaryRear.solutionParam.n / substance.n) ^ 2.0)) / substance.substance.SelfClustering_K ^ 2.0 else substance.n - substance.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.TestSubstance could not be translated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.86382618600328] Failed to read output from testmodel.py, exit status != 0: 1.4500961040030234 1.464657443 0.929496278 Calling exit ...