Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.GasSolubility_NIST_.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.001857/0.001857, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002268/0.002268, allocations: 217.9 kB / 22.25 MB, free: 5.121 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.474/1.474, allocations: 230.6 MB / 256 MB, free: 7.973 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.1463/0.1463, allocations: 23.89 MB / 336.3 MB, free: 11.13 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.Examples.GasSolubility_NIST_,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.GasSolubility_NIST_") translateModel(Chemical.Examples.GasSolubility_NIST_,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.GasSolubility_NIST_") [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.002166/0.002166, allocations: 68.19 kB / 471.7 MB, free: 7.121 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.36, allocations: 59.87 MB / 0.5191 GB, free: 9.859 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/Interfaces.mo:1816:5-1816: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 master/Interfaces.mo:1816:5-1816: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.Examples.GasSolubility_NIST_): time 0.05035/0.4104, allocations: 33.32 MB / 0.5517 GB, free: 6.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2006/0.611, allocations: 151.3 MB / 0.6994 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002638/0.6136, allocations: 47.75 kB / 0.6994 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004263/0.6179, allocations: 1.173 MB / 0.7006 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004958/0.6228, allocations: 1.253 MB / 0.7018 GB, free: 14.4 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004786/0.6276, allocations: 1.603 MB / 0.7034 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006916/0.6345, allocations: 3.304 MB / 0.7066 GB, free: 9.473 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.6358, allocations: 0.6083 MB / 0.7072 GB, free: 8.809 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002011/0.6378, allocations: 1.183 MB / 0.7084 GB, free: 7.621 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002384/0.6402, allocations: 1.626 MB / 0.7099 GB, free: 5.988 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004025/0.6406, allocations: 288 kB / 0.7102 GB, free: 5.707 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004065/0.6446, allocations: 1.74 MB / 0.7119 GB, free: 3.965 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000804/0.6454, allocations: 0.8563 MB / 0.7128 GB, free: 3.105 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001679/0.6471, allocations: 1.698 MB / 0.7144 GB, free: 1.398 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008636/0.6557, allocations: 5.238 MB / 0.7195 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.6557, allocations: 0 / 0.7195 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6557, allocations: 0 / 0.7195 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.969e-05/0.6558, allocations: 0 / 0.7195 GB, free: 12.14 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: 914 * Number of variables: 914 Notification: Performance of Generate backend data structure: time 0.006588/0.6624, allocations: 3.661 MB / 0.7231 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.6625, allocations: 15.95 kB / 0.7231 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.6638, allocations: 0.6074 MB / 0.7237 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002204/0.666, allocations: 1.289 MB / 0.725 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00042/0.6664, allocations: 408.6 kB / 0.7254 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004146/0.6668, allocations: 296.3 kB / 0.7256 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2519/0.9187, allocations: 9.81 MB / 0.7352 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.683e-05/0.9188, allocations: 1.031 kB / 0.7352 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001936/0.919, allocations: 118.8 kB / 0.7353 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005159/0.9195, allocations: 465.1 kB / 0.7358 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01906/0.9385, allocations: 18.1 MB / 0.7535 GB, free: 180.7 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.0249/0.9634, allocations: 18.04 MB / 0.7711 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002491/0.9659, allocations: 2.152 MB / 0.7732 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001627/0.9675, allocations: 1.555 MB / 0.7747 GB, free: 164 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.013/0.9805, allocations: 8.246 MB / 0.7827 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.9806, allocations: 46.25 kB / 0.7828 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=119): time 3.406e-06/0.9806, allocations: 0 / 0.7828 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=168): time 0.07744/1.058, allocations: 20.39 MB / 0.8027 GB, free: 135.6 MB / 0.5606 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of inlineWhenForInitialization (initialization): time 0.002107/1.06, allocations: 0.9756 MB / 0.8036 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002569/1.063, allocations: 2.315 MB / 0.8059 GB, free: 132.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005369/1.063, allocations: 57.7 kB / 0.806 GB, free: 132.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008554/1.064, allocations: 1.702 MB / 0.8076 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00064/1.065, allocations: 0.5965 MB / 0.8082 GB, free: 130 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001047/1.066, allocations: 0.6445 MB / 0.8088 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.565e-05/1.066, allocations: 301.1 kB / 0.8091 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00305/1.069, allocations: 2.451 MB / 0.8115 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003351/1.072, allocations: 3.202 MB / 0.8146 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006667/1.079, allocations: 5.762 MB / 0.8203 GB, free: 117 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.127e-05/1.079, allocations: 10.69 kB / 0.8203 GB, free: 117 MB / 0.5606 GB Notification: Performance of matching and sorting (n=287) (initialization): time 0.01295/1.092, allocations: 6.923 MB / 0.827 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/1.092, allocations: 18.66 kB / 0.8271 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.675e-05/1.092, allocations: 24 kB / 0.8271 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01422/1.106, allocations: 2.777 MB / 0.8298 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0104/1.117, allocations: 1.122 MB / 0.8309 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/1.128, allocations: 8.87 MB / 0.8396 GB, free: 96.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003485/1.132, allocations: 115.9 kB / 0.8397 GB, free: 96.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005675/1.132, allocations: 403.8 kB / 0.8401 GB, free: 96.36 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * Number of states: 0 () * Number of discrete variables: 4 (water_25.substanceDefinitionVar.SelfClustering,water_25.substanceDefinitionVar.data.phase,CO2_g_25.substanceDefinitionVar.SelfClustering,CO2_g_25.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (251): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (2,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,17), (3,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001628/1.134, allocations: 0.8822 MB / 0.8409 GB, free: 95.47 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006259/1.134, allocations: 258.3 kB / 0.8412 GB, free: 95.22 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01538/1.15, allocations: 6.796 MB / 0.8478 GB, free: 88.58 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/1.15, allocations: 22.64 kB / 0.8478 GB, free: 88.56 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.15, allocations: 4 kB / 0.8478 GB, free: 88.56 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-05/1.15, allocations: 7.969 kB / 0.8478 GB, free: 88.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01853/1.168, allocations: 9.863 MB / 0.8575 GB, free: 78.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/1.168, allocations: 4 kB / 0.8575 GB, free: 78.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008172/1.176, allocations: 0.7154 MB / 0.8582 GB, free: 77.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01589/1.192, allocations: 2.943 MB / 0.861 GB, free: 74.92 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003649/1.193, allocations: 91.95 kB / 0.8611 GB, free: 74.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01332/1.206, allocations: 9.91 MB / 0.8708 GB, free: 64.46 MB / 0.5606 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001978/1.208, allocations: 0.7457 MB / 0.8715 GB, free: 63.69 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01272/1.221, allocations: 6.193 MB / 0.8776 GB, free: 57.44 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006455/1.221, allocations: 272.8 kB / 0.8778 GB, free: 57.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000419/1.222, allocations: 39.89 kB / 0.8779 GB, free: 57.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/1.223, allocations: 51.97 kB / 0.8779 GB, free: 57.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004187/1.223, allocations: 183.6 kB / 0.8781 GB, free: 56.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002365/1.224, allocations: 183.9 kB / 0.8783 GB, free: 56.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002106/1.226, allocations: 1.916 MB / 0.8801 GB, free: 54.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.226, allocations: 0 / 0.8801 GB, free: 54.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002783/1.229, allocations: 0.8277 MB / 0.881 GB, free: 53.98 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 ($STATESET1.x,CO2_dissolutionP.rear.n_flow,CO2_25.logn,water_25.logm) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (2,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,17), (4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007311/1.229, allocations: 445.6 kB / 0.8814 GB, free: 53.56 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01004/1.239, allocations: 4.657 MB / 0.8859 GB, free: 48.88 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.239, allocations: 2.656 kB / 0.8859 GB, free: 48.88 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006649/1.246, allocations: 2.112 MB / 0.888 GB, free: 46.74 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/1.248, allocations: 0.5179 MB / 0.8885 GB, free: 46.26 MB / 0.5606 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.7714425013400614] Failed to read output from testmodel.py, exit status != 0: 1.257593447342515 1.266976014 0.608490952 Calling exit ...