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.001408/0.001408, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.001409/0.001409, allocations: 157.2 kB / 23.01 MB, free: 4.945 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.357/1.357, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 179] 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.1296/0.1296, allocations: 17.45 MB / 277.2 MB, free: 15.16 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.00204/0.00204, allocations: 67.91 kB / 412.6 MB, free: 5.555 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1217, allocations: 59.87 MB / 472.4 MB, free: 9.562 MB / 446.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.2794/0.4011, allocations: 31.74 MB / 0.4924 GB, free: 37.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1517/0.5528, allocations: 129.8 MB / 0.6192 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001974/0.5547, allocations: 51.69 kB / 0.6192 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003662/0.5584, allocations: 1.091 MB / 0.6203 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004194/0.5626, allocations: 1.272 MB / 0.6215 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004449/0.567, allocations: 1.614 MB / 0.6231 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005751/0.5728, allocations: 3.359 MB / 0.6264 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.5738, allocations: 0.6022 MB / 0.627 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001626/0.5754, allocations: 1.21 MB / 0.6282 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002306/0.5777, allocations: 1.47 MB / 0.6296 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004197/0.5781, allocations: 296 kB / 0.6299 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003273/0.5814, allocations: 1.206 MB / 0.631 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007755/0.5822, allocations: 0.8679 MB / 0.6319 GB, free: 44 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001432/0.5836, allocations: 1.301 MB / 0.6332 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007465/0.5911, allocations: 5.199 MB / 0.6382 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5911, allocations: 0 / 0.6382 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5911, allocations: 0 / 0.6382 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.848e-05/0.5912, allocations: 0 / 0.6382 GB, free: 9.516 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.005869/0.597, allocations: 3.712 MB / 0.6419 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.5971, allocations: 8.031 kB / 0.6419 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001969/0.599, allocations: 0.701 MB / 0.6426 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00218/0.6012, allocations: 1.309 MB / 0.6438 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003709/0.6016, allocations: 408.8 kB / 0.6442 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003877/0.602, allocations: 304.3 kB / 0.6445 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01227/0.6142, allocations: 10.25 MB / 0.6545 GB, free: 8.684 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.399e-05/0.6143, allocations: 4 kB / 0.6545 GB, free: 8.68 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002134/0.6145, allocations: 120 kB / 0.6546 GB, free: 8.562 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004994/0.615, allocations: 463.1 kB / 0.6551 GB, free: 8.109 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02132/0.6363, allocations: 19.22 MB / 0.6739 GB, free: 4.883 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.02633/0.6627, allocations: 16.33 MB / 0.6898 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003416/0.6661, allocations: 2.234 MB / 0.692 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00244/0.6685, allocations: 1.645 MB / 0.6936 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2437/0.9122, allocations: 7.886 MB / 0.7013 GB, free: 181.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.9123, allocations: 45.97 kB / 0.7013 GB, free: 181.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=122): time 3.216e-06/0.9123, allocations: 0 / 0.7013 GB, free: 181.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=171): time 0.07748/0.9897, allocations: 20.68 MB / 0.7215 GB, free: 173.8 MB / 0.5762 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.002161/0.9919, allocations: 0.9706 MB / 0.7225 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/0.9939, allocations: 1.647 MB / 0.7241 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004765/0.9943, allocations: 50.86 kB / 0.7241 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008293/0.9952, allocations: 1.747 MB / 0.7258 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006262/0.9958, allocations: 0.604 MB / 0.7264 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001333/0.9971, allocations: 0.6553 MB / 0.7271 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.535e-05/0.9972, allocations: 306.1 kB / 0.7274 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003631/1.001, allocations: 2.456 MB / 0.7298 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003991/1.005, allocations: 3.22 MB / 0.7329 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00791/1.013, allocations: 5.904 MB / 0.7387 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.525e-05/1.013, allocations: 7.75 kB / 0.7387 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01505/1.028, allocations: 6.966 MB / 0.7455 GB, free: 161 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.903e-05/1.028, allocations: 19.59 kB / 0.7455 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.813e-05/1.028, allocations: 26.58 kB / 0.7455 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01587/1.044, allocations: 2.823 MB / 0.7483 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.012/1.056, allocations: 1.341 MB / 0.7496 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/1.067, allocations: 8.67 MB / 0.7581 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003665/1.071, allocations: 142.8 kB / 0.7582 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008423/1.071, allocations: 406.2 kB / 0.7586 GB, free: 153.3 MB / 0.5762 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.002055/1.073, allocations: 0.8875 MB / 0.7594 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006961/1.074, allocations: 213.5 kB / 0.7596 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01568/1.09, allocations: 6.959 MB / 0.7664 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-05/1.09, allocations: 23.11 kB / 0.7665 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/1.09, allocations: 0 / 0.7665 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-05/1.09, allocations: 8.672 kB / 0.7665 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01794/1.108, allocations: 9.053 MB / 0.7753 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/1.108, allocations: 4 kB / 0.7753 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00861/1.116, allocations: 0.9474 MB / 0.7762 GB, free: 138.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01528/1.132, allocations: 2.948 MB / 0.7791 GB, free: 135.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003737/1.132, allocations: 103.9 kB / 0.7792 GB, free: 135.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0121/1.144, allocations: 9.58 MB / 0.7886 GB, free: 125.6 MB / 0.5762 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.001726/1.146, allocations: 0.7284 MB / 0.7893 GB, free: 124.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01245/1.158, allocations: 6.512 MB / 0.7956 GB, free: 118.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000407/1.159, allocations: 181.2 kB / 0.7958 GB, free: 118.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000295/1.159, allocations: 43.89 kB / 0.7959 GB, free: 118 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/1.16, allocations: 75.89 kB / 0.7959 GB, free: 118 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003908/1.161, allocations: 199.7 kB / 0.7961 GB, free: 117.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002344/1.161, allocations: 195.9 kB / 0.7963 GB, free: 117.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001294/1.162, allocations: 1.305 MB / 0.7976 GB, free: 116.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/1.162, allocations: 0.6562 kB / 0.7976 GB, free: 116.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002557/1.165, allocations: 0.816 MB / 0.7984 GB, free: 115.4 MB / 0.5762 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.0006293/1.165, allocations: 442.8 kB / 0.7988 GB, free: 115.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009535/1.175, allocations: 4.815 MB / 0.8035 GB, free: 110.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/1.175, allocations: 4 kB / 0.8035 GB, free: 110.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005612/1.181, allocations: 2.203 MB / 0.8057 GB, free: 108 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001931/1.182, allocations: 457.8 kB / 0.8061 GB, free: 107.6 MB / 0.5762 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4747:9-4747:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836: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.4443424550117925] Failed to read output from testmodel.py, exit status != 0: 1.1904929059091955 1.198259293 0.605050745 Calling exit ...