Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.Diffusion.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.001808/0.001808, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.002298/0.002298, allocations: 213.6 kB / 23 MB, free: 4.969 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.434/1.434, 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.1516/0.1516, 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.Examples.Diffusion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Diffusion") translateModel(Chemical.Examples.Diffusion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Diffusion") [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.002012/0.002012, allocations: 63.91 kB / 472.4 MB, free: 7.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3157, allocations: 59.87 MB / 0.5198 GB, free: 9.711 MB / 382.1 MB [/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.Examples.Diffusion): time 0.1052/0.4209, allocations: 54.66 MB / 0.5731 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03354/0.4544, allocations: 15.56 MB / 0.5883 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009251/0.4637, allocations: 123.5 kB / 0.5884 GB, free: 3.445 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008688/0.4724, allocations: 2.501 MB / 0.5909 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01344/0.4858, allocations: 3.529 MB / 0.5943 GB, free: 13.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008227/0.494, allocations: 2.879 MB / 0.5971 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01816/0.5122, allocations: 10.87 MB / 0.6078 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004297/0.5165, allocations: 2.399 MB / 0.6101 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007371/0.5239, allocations: 4.496 MB / 0.6145 GB, free: 8.559 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00918/0.533, allocations: 5.377 MB / 0.6198 GB, free: 3.16 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004137/0.5372, allocations: 1.223 MB / 0.6209 GB, free: 1.938 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007635/0.5448, allocations: 2.342 MB / 0.6232 GB, free: 15.59 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00498/0.5498, allocations: 3.594 MB / 0.6267 GB, free: 11.99 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008838/0.5586, allocations: 5.056 MB / 0.6317 GB, free: 6.906 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02411/0.5827, allocations: 17.02 MB / 0.6483 GB, free: 5.824 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.5827, allocations: 0 / 0.6483 GB, free: 5.824 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5827, allocations: 0 / 0.6483 GB, free: 5.824 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0004203/0.5832, allocations: 0 / 0.6483 GB, free: 5.824 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3564 * Number of variables: 3564 Notification: Performance of Generate backend data structure: time 0.02662/0.6098, allocations: 12.65 MB / 0.6606 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.6098, allocations: 8.031 kB / 0.6607 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01098/0.6208, allocations: 2.861 MB / 0.6634 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01107/0.6319, allocations: 5.292 MB / 0.6686 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002177/0.6341, allocations: 2.012 MB / 0.6706 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002861/0.6369, allocations: 1.133 MB / 0.6717 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06485/0.7018, allocations: 47.3 MB / 0.7179 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002038/0.702, allocations: 0 / 0.7179 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001275/0.7033, allocations: 467.9 kB / 0.7183 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00209/0.7053, allocations: 1.843 MB / 0.7201 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4572/1.163, allocations: 79.2 MB / 0.7975 GB, free: 126.2 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.1273/1.29, allocations: 103.6 MB / 0.8986 GB, free: 23.34 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02177/1.312, allocations: 19.42 MB / 0.9176 GB, free: 3.883 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02214/1.334, allocations: 15.6 MB / 0.9328 GB, free: 4.273 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002844/1.337, allocations: 0.7452 MB / 0.9336 GB, free: 3.531 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.967e-05/1.337, allocations: 87.88 kB / 0.9336 GB, free: 3.434 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=533): time 8.997e-06/1.337, allocations: 4 kB / 0.9336 GB, free: 3.43 MB / 0.5763 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 s2.substance.FixedDefinition and Chemical.Interfaces.Properties.selfClustering(s2.substance.definitionParam) or Chemical.Interfaces.Properties.selfClustering(Chemical.Interfaces.DefinitionInput(Chemical.Interfaces.DataRecord(s2.substanceDefinition.data.MM, s2.substanceDefinition.data.Hf, s2.substanceDefinition.data.H0, {s2.substanceDefinition.data.alow[1], s2.substanceDefinition.data.alow[2], s2.substanceDefinition.data.alow[3], s2.substanceDefinition.data.alow[4], s2.substanceDefinition.data.alow[5], s2.substanceDefinition.data.alow[6], s2.substanceDefinition.data.alow[7]}, {s2.substanceDefinition.data.blow[1], s2.substanceDefinition.data.blow[2], s2.substanceDefinition.data.blow[3]}, {s2.substanceDefinition.data.ahigh[1], s2.substanceDefinition.data.ahigh[2], s2.substanceDefinition.data.ahigh[3], s2.substanceDefinition.data.ahigh[4], s2.substanceDefinition.data.ahigh[5], s2.substanceDefinition.data.ahigh[6], s2.substanceDefinition.data.ahigh[7]}, {s2.substanceDefinition.data.bhigh[1], s2.substanceDefinition.data.bhigh[2], s2.substanceDefinition.data.bhigh[3]}, s2.substanceDefinition.data.z, s2.substanceDefinition.data.phase, s2.substanceDefinition.data.VmBase, s2.substanceDefinition.data.VmExcess), s2.substanceDefinition.SelfClustering, s2.substanceDefinition.SelfClustering_dH, s2.substanceDefinition.SelfClustering_dS)) then s2.x - 0.5 * (2.0 * s2.substance.SelfClustering_K + s2.solutionParam.n / s2.n - sqrt(4.0 * s2.substance.SelfClustering_K * s2.solutionParam.n / s2.n + (s2.solutionParam.n / s2.n) ^ 2.0)) / s2.substance.SelfClustering_K ^ 2.0 else s2.n - s2.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.Diffusion could not be translated " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.291777476013522] Failed to read output from testmodel.py, exit status != 0: 1.8775277380045736 1.885721649 1.300679575 Calling exit ...