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.00139/0.00139, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001581/0.001581, allocations: 217 kB / 22.24 MB, free: 4.855 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 7.992 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.1396/0.1396, allocations: 23.98 MB / 336.4 MB, free: 10.88 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.002355/0.002355, allocations: 63.89 kB / 471.8 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3348, allocations: 59.9 MB / 0.5192 GB, free: 9.793 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1585:5-1585: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:1585:5-1585: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:1841:5-1841: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:1841:5-1841: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.07923/0.414, allocations: 31.78 MB / 0.5502 GB, free: 8.117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1932/0.6073, allocations: 129.8 MB / 0.677 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00436/0.6116, allocations: 55.69 kB / 0.6771 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004342/0.616, allocations: 1.083 MB / 0.6781 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005841/0.6218, allocations: 1.28 MB / 0.6794 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005232/0.6271, allocations: 1.603 MB / 0.681 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007108/0.6342, allocations: 3.362 MB / 0.6842 GB, free: 180 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/0.6354, allocations: 0.605 MB / 0.6848 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.6374, allocations: 1.206 MB / 0.686 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002275/0.6397, allocations: 1.474 MB / 0.6875 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004346/0.6401, allocations: 296 kB / 0.6877 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003586/0.6437, allocations: 1.209 MB / 0.6889 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007946/0.6445, allocations: 0.8641 MB / 0.6898 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001475/0.6459, allocations: 1.297 MB / 0.691 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008752/0.6547, allocations: 5.191 MB / 0.6961 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.6547, allocations: 0 / 0.6961 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.265e-06/0.6547, allocations: 0 / 0.6961 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.954e-05/0.6548, allocations: 0 / 0.6961 GB, free: 3.945 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 932 * Number of variables: 932 Notification: Performance of Generate backend data structure: time 0.006538/0.6613, allocations: 3.716 MB / 0.6997 GB, free: 180 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.6614, allocations: 16.02 kB / 0.6997 GB, free: 164 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001964/0.6633, allocations: 0.7049 MB / 0.7004 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002256/0.6656, allocations: 1.305 MB / 0.7017 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000371/0.666, allocations: 412.8 kB / 0.7021 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004186/0.6664, allocations: 300.3 kB / 0.7024 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01308/0.6795, allocations: 10.24 MB / 0.7124 GB, free: 3.109 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.495e-05/0.6795, allocations: 0 / 0.7124 GB, free: 3.109 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000263/0.6798, allocations: 120 kB / 0.7125 GB, free: 2.992 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005049/0.6803, allocations: 467 kB / 0.7129 GB, free: 2.535 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.289/0.9693, allocations: 19.21 MB / 0.7317 GB, free: 188.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.02953/0.9988, allocations: 16.34 MB / 0.7477 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003524/1.002, allocations: 2.231 MB / 0.7498 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002388/1.005, allocations: 1.642 MB / 0.7514 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01459/1.019, allocations: 7.882 MB / 0.7591 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/1.019, allocations: 47.69 kB / 0.7592 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=122): time 4.047e-06/1.019, allocations: 0 / 0.7592 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=171): time 0.07575/1.095, allocations: 20.62 MB / 0.7793 GB, free: 159.4 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.001973/1.097, allocations: 0.9769 MB / 0.7803 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002385/1.099, allocations: 1.651 MB / 0.7819 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008632/1.1, allocations: 53.7 kB / 0.7819 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009816/1.101, allocations: 1.746 MB / 0.7837 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001118/1.102, allocations: 0.6149 MB / 0.7843 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001882/1.104, allocations: 0.6524 MB / 0.7849 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.037e-05/1.104, allocations: 305.1 kB / 0.7852 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003386/1.108, allocations: 2.447 MB / 0.7876 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003689/1.111, allocations: 3.226 MB / 0.7907 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007382/1.119, allocations: 5.894 MB / 0.7965 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.041e-05/1.119, allocations: 4 kB / 0.7965 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01366/1.132, allocations: 6.962 MB / 0.8033 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.165e-05/1.133, allocations: 16 kB / 0.8033 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.173e-05/1.133, allocations: 31.94 kB / 0.8033 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01421/1.147, allocations: 2.785 MB / 0.806 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01139/1.158, allocations: 1.338 MB / 0.8074 GB, free: 130 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01181/1.17, allocations: 8.666 MB / 0.8158 GB, free: 121 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004424/1.174, allocations: 146.5 kB / 0.816 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001108/1.176, allocations: 411.8 kB / 0.8163 GB, free: 120.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * 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 (255): * Single equations (assignments): 250 * 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,16), (3,4)} Notification: Performance of prepare postOptimizeDAE: time 0.003167/1.179, allocations: 0.8758 MB / 0.8172 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00113/1.18, allocations: 217.3 kB / 0.8174 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01656/1.196, allocations: 6.968 MB / 0.8242 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/1.196, allocations: 19.94 kB / 0.8242 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/1.196, allocations: 6.625 kB / 0.8242 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-05/1.196, allocations: 7.969 kB / 0.8242 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02133/1.218, allocations: 9.047 MB / 0.8331 GB, free: 103.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/1.218, allocations: 4 kB / 0.8331 GB, free: 103.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008474/1.226, allocations: 0.9429 MB / 0.834 GB, free: 102.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01516/1.241, allocations: 2.899 MB / 0.8368 GB, free: 99.49 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005321/1.242, allocations: 103.9 kB / 0.8369 GB, free: 99.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01262/1.255, allocations: 9.582 MB / 0.8463 GB, free: 89.39 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.001745/1.256, allocations: 0.7277 MB / 0.847 GB, free: 88.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01293/1.269, allocations: 6.515 MB / 0.8534 GB, free: 82.06 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004529/1.27, allocations: 186.5 kB / 0.8535 GB, free: 81.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005623/1.27, allocations: 50.58 kB / 0.8536 GB, free: 81.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/1.272, allocations: 71.95 kB / 0.8537 GB, free: 81.76 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004858/1.272, allocations: 199.6 kB / 0.8539 GB, free: 81.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003066/1.273, allocations: 194.6 kB / 0.854 GB, free: 81.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001835/1.274, allocations: 1.304 MB / 0.8553 GB, free: 80.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/1.274, allocations: 0 / 0.8553 GB, free: 80.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002947/1.277, allocations: 0.8199 MB / 0.8561 GB, free: 79.23 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (135): * Single equations (assignments): 130 * 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,18), (4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008232/1.278, allocations: 433.8 kB / 0.8565 GB, free: 78.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01014/1.288, allocations: 4.825 MB / 0.8612 GB, free: 73.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/1.288, allocations: 0 / 0.8612 GB, free: 73.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005932/1.294, allocations: 2.193 MB / 0.8634 GB, free: 71.76 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002522/1.297, allocations: 467.7 kB / 0.8638 GB, free: 71.34 MB / 0.5606 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:823:5-823: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.735762517899275] Failed to read output from testmodel.py, exit status != 0: 1.306128904223442 1.31496781 0.657946593 Calling exit ...