Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001359/0.001359, 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.001574/0.001574, allocations: 213.2 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.1338/0.1338, allocations: 23.92 MB / 337.1 MB, free: 10.94 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.Boundaries.Tests.TestExternalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Boundaries.Tests.TestExternalGas") translateModel(Chemical.Boundaries.Tests.TestExternalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Chemical_master_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.002064/0.002064, allocations: 63.91 kB / 472.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2825, allocations: 59.89 MB / 0.5198 GB, free: 9.719 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1558:5-1558: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 master/Interfaces.mo:1558:5-1558: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 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.Boundaries.Tests.TestExternalGas): time 0.09093/0.3734, allocations: 44.52 MB / 0.5633 GB, free: 12.44 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1684/0.5418, allocations: 128.6 MB / 0.6889 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004765/0.5466, allocations: 119.4 kB / 0.689 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005236/0.5518, allocations: 1.916 MB / 0.6909 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007553/0.5594, allocations: 2.517 MB / 0.6934 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004364/0.5637, allocations: 1.69 MB / 0.695 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01045/0.5742, allocations: 6.939 MB / 0.7018 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002898/0.5771, allocations: 1.765 MB / 0.7035 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003883/0.5809, allocations: 2.845 MB / 0.7063 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005061/0.586, allocations: 3.829 MB / 0.71 GB, free: 6.402 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0009654/0.587, allocations: 0.7148 MB / 0.7107 GB, free: 5.688 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003494/0.5905, allocations: 1.573 MB / 0.7123 GB, free: 4.117 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001742/0.5922, allocations: 2.118 MB / 0.7143 GB, free: 1.992 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003103/0.5953, allocations: 3.146 MB / 0.7174 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01297/0.6083, allocations: 11.27 MB / 0.7284 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.6083, allocations: 0 / 0.7284 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6083, allocations: 0 / 0.7284 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002317/0.6085, allocations: 0 / 0.7284 GB, free: 3.512 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.2153/0.8238, allocations: 8.465 MB / 0.7367 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.8239, allocations: 9.094 kB / 0.7367 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003046/0.8269, allocations: 1.463 MB / 0.7381 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004599/0.8315, allocations: 3.034 MB / 0.7411 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005645/0.8321, allocations: 0.9719 MB / 0.742 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001021/0.8331, allocations: 0.735 MB / 0.7427 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02563/0.8588, allocations: 23.82 MB / 0.766 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001417/0.8589, allocations: 15.81 kB / 0.766 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004946/0.8594, allocations: 318.6 kB / 0.7663 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00084/0.8602, allocations: 1.164 MB / 0.7675 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02867/0.8889, allocations: 39.87 MB / 0.8064 GB, free: 126.3 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.04964/0.9385, allocations: 43.39 MB / 0.8488 GB, free: 82.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009364/0.9479, allocations: 5.4 MB / 0.854 GB, free: 77.33 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004025/0.9519, allocations: 3.855 MB / 0.8578 GB, free: 73.47 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02084/0.9728, allocations: 12.71 MB / 0.8702 GB, free: 60.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.9728, allocations: 60.36 kB / 0.8703 GB, free: 60.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=227): time 5.18e-06/0.9728, allocations: 0 / 0.8703 GB, free: 60.66 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: solvent.substance.SelfClustering_K = exp((-solvent.substance.SelfClustering_dG) / (8.31446261815324 * solution.temperature)) [/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 659] [Calling sys.exit(0), Time elapsed: 3.4674498130043503] Failed to read output from testmodel.py, exit status != 0: 1.1122134999895934 1.130801604 0.518765198 Calling exit ...