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.001324/0.001324, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001498/0.001498, allocations: 209.5 kB / 22.99 MB, free: 4.957 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.516/1.516, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1448/0.1448, allocations: 23.92 MB / 337.1 MB, free: 10.93 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.002046/0.002046, allocations: 59.91 kB / 472.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3906, allocations: 59.88 MB / 0.5198 GB, free: 9.758 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.0813/0.4719, allocations: 31.41 MB / 0.5505 GB, free: 8.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1892/0.661, allocations: 129.6 MB / 0.677 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004437/0.6655, allocations: 55.69 kB / 0.6771 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004431/0.6699, allocations: 1.083 MB / 0.6781 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005872/0.6758, allocations: 1.253 MB / 0.6794 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005411/0.6812, allocations: 1.54 MB / 0.6809 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007118/0.6883, allocations: 3.3 MB / 0.6841 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.6896, allocations: 0.6121 MB / 0.6847 GB, free: 456 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001893/0.6915, allocations: 1.179 MB / 0.6858 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002265/0.6937, allocations: 1.619 MB / 0.6874 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004298/0.6941, allocations: 296 kB / 0.6877 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003462/0.6976, allocations: 1.17 MB / 0.6888 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008556/0.6985, allocations: 0.8641 MB / 0.6897 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001996/0.7005, allocations: 1.266 MB / 0.6909 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009005/0.7095, allocations: 5.086 MB / 0.6959 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.7095, allocations: 3.938 kB / 0.6959 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7095, allocations: 0 / 0.6959 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.857e-05/0.7095, allocations: 4 kB / 0.6959 GB, free: 4.922 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: 914 * Number of variables: 914 Notification: Performance of Generate backend data structure: time 0.006177/0.7157, allocations: 3.661 MB / 0.6995 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.7157, allocations: 12.02 kB / 0.6995 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00211/0.7179, allocations: 0.6971 MB / 0.7002 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002184/0.72, allocations: 1.301 MB / 0.7014 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003562/0.7204, allocations: 404.6 kB / 0.7018 GB, free: 14.72 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000415/0.7208, allocations: 292.3 kB / 0.7021 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01181/0.7326, allocations: 9.845 MB / 0.7117 GB, free: 4.559 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.534e-05/0.7327, allocations: 0 / 0.7117 GB, free: 4.559 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000241/0.7329, allocations: 128 kB / 0.7118 GB, free: 4.434 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004869/0.7334, allocations: 458.9 kB / 0.7123 GB, free: 3.984 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02011/0.7535, allocations: 18.11 MB / 0.73 GB, free: 1.855 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.3257/1.079, allocations: 15.78 MB / 0.7454 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00367/1.083, allocations: 2.183 MB / 0.7475 GB, free: 180.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002402/1.085, allocations: 1.579 MB / 0.749 GB, free: 179.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01654/1.102, allocations: 7.525 MB / 0.7564 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/1.102, allocations: 48.88 kB / 0.7564 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=119): time 4.067e-06/1.102, allocations: 0 / 0.7564 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=168): time 0.0869/1.189, allocations: 20.48 MB / 0.7764 GB, free: 162.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.002298/1.191, allocations: 0.9761 MB / 0.7774 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001901/1.193, allocations: 1.63 MB / 0.779 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007716/1.194, allocations: 57.7 kB / 0.779 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007883/1.194, allocations: 1.717 MB / 0.7807 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006651/1.195, allocations: 0.6012 MB / 0.7813 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00119/1.196, allocations: 0.6484 MB / 0.7819 GB, free: 157 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.842e-05/1.196, allocations: 305.1 kB / 0.7822 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003159/1.2, allocations: 2.478 MB / 0.7846 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003533/1.203, allocations: 3.238 MB / 0.7878 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006797/1.21, allocations: 5.818 MB / 0.7935 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.522e-05/1.21, allocations: 8 kB / 0.7935 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=287) (initialization): time 0.01354/1.223, allocations: 6.944 MB / 0.8003 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.892e-05/1.224, allocations: 16 kB / 0.8003 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.283e-05/1.224, allocations: 24 kB / 0.8003 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01541/1.239, allocations: 2.778 MB / 0.803 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01178/1.251, allocations: 1.14 MB / 0.8041 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01275/1.264, allocations: 8.692 MB / 0.8126 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003698/1.267, allocations: 135.8 kB / 0.8127 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007226/1.268, allocations: 410.5 kB / 0.8131 GB, free: 124 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.001967/1.27, allocations: 0.8746 MB / 0.814 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006742/1.271, allocations: 210.6 kB / 0.8142 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01562/1.286, allocations: 6.82 MB / 0.8209 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/1.286, allocations: 16 kB / 0.8209 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/1.286, allocations: 0 / 0.8209 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.325e-05/1.286, allocations: 15.95 kB / 0.8209 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02/1.306, allocations: 8.956 MB / 0.8296 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/1.306, allocations: 6.625 kB / 0.8296 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008901/1.315, allocations: 0.7283 MB / 0.8303 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01673/1.332, allocations: 2.932 MB / 0.8332 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005901/1.332, allocations: 91.95 kB / 0.8333 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01377/1.346, allocations: 9.682 MB / 0.8428 GB, free: 93.34 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.00207/1.348, allocations: 0.7278 MB / 0.8435 GB, free: 92.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01362/1.362, allocations: 6.266 MB / 0.8496 GB, free: 86.26 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006129/1.363, allocations: 178.6 kB / 0.8498 GB, free: 86.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004326/1.363, allocations: 39.89 kB / 0.8498 GB, free: 86.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/1.364, allocations: 67.89 kB / 0.8499 GB, free: 85.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004954/1.365, allocations: 183.6 kB / 0.85 GB, free: 85.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002494/1.365, allocations: 183.9 kB / 0.8502 GB, free: 85.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001644/1.367, allocations: 1.406 MB / 0.8516 GB, free: 84.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.367, allocations: 0 / 0.8516 GB, free: 84.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003044/1.37, allocations: 0.8198 MB / 0.8524 GB, free: 83.38 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 {(4,18), (4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000747/1.37, allocations: 426.8 kB / 0.8528 GB, free: 82.97 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01029/1.381, allocations: 4.73 MB / 0.8574 GB, free: 78.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/1.381, allocations: 0 / 0.8574 GB, free: 78.23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006473/1.387, allocations: 2.132 MB / 0.8595 GB, free: 76.06 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/1.39, allocations: 446.4 kB / 0.8599 GB, free: 75.65 MB / 0.5606 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/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.9839366399974097] Failed to read output from testmodel.py, exit status != 0: 1.3989554139989195 1.407854123 0.695984407 Calling exit ...