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.0007328/0.0007328, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0007487/0.0007487, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 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 0.8343/0.8343, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 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.07854/0.07854, allocations: 17.45 MB / 277.4 MB, free: 11.76 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 412.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/1.946e-05, allocations: 2.281 kB / 412.9 MB, free: 15.77 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1586:5-1586: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:1586:5-1586: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:1842:5-1842: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:1842:5-1842: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.3005/0.3005, allocations: 32.41 MB / 445.3 MB, free: 44.21 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.1184/0.4189, allocations: 131.6 MB / 0.5633 GB, free: 6.441 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001488/0.4204, allocations: 86.53 kB / 0.5634 GB, free: 6.398 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002273/0.4226, allocations: 1.21 MB / 0.5646 GB, free: 5.555 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002312/0.4249, allocations: 1.588 MB / 0.5661 GB, free: 4.242 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003113/0.4281, allocations: 1.851 MB / 0.5679 GB, free: 2.766 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.002626/0.4307, allocations: 3.724 MB / 0.5716 GB, free: 0.5352 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005755/0.4313, allocations: 0.6033 MB / 0.5722 GB, free: 160 kB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001157/0.4324, allocations: 1.901 MB / 0.574 GB, free: 14.97 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.4336, allocations: 1.392 MB / 0.5754 GB, free: 13.77 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002075/0.4338, allocations: 292 kB / 0.5757 GB, free: 13.48 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002422/0.4362, allocations: 1.481 MB / 0.5771 GB, free: 12 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0004659/0.4367, allocations: 0.9771 MB / 0.5781 GB, free: 11.02 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0006365/0.4373, allocations: 1.095 MB / 0.5791 GB, free: 9.922 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003795/0.4411, allocations: 5.374 MB / 0.5844 GB, free: 4.531 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.4411, allocations: 3.938 kB / 0.5844 GB, free: 4.527 MB / 474.8 MB Notification: Performance of FrontEnd: time 7.21e-07/0.4411, allocations: 0 / 0.5844 GB, free: 4.527 MB / 474.8 MB Notification: Performance of Transformations before backend: time 2.52e-05/0.4411, allocations: 1.5 kB / 0.5844 GB, free: 4.527 MB / 474.8 MB 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.003158/0.4443, allocations: 3.787 MB / 0.5881 GB, free: 0.6875 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4443, allocations: 8.031 kB / 0.5881 GB, free: 0.6797 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009875/0.4453, allocations: 0.7328 MB / 0.5888 GB, free: 15.95 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/0.447, allocations: 1.856 MB / 0.5906 GB, free: 14.04 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/0.4472, allocations: 408.8 kB / 0.591 GB, free: 13.61 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003899/0.4476, allocations: 304.3 kB / 0.5913 GB, free: 13.31 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006756/0.4543, allocations: 10.23 MB / 0.6013 GB, free: 3.055 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.01e-05/0.4544, allocations: 4.188 kB / 0.6013 GB, free: 3.051 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.4545, allocations: 128.1 kB / 0.6014 GB, free: 2.926 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002722/0.4548, allocations: 471 kB / 0.6019 GB, free: 2.465 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1891/0.6439, allocations: 19.21 MB / 0.6206 GB, free: 157.5 MB / 0.4949 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.01453/0.6585, allocations: 16.36 MB / 0.6366 GB, free: 150 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/0.6604, allocations: 2.246 MB / 0.6388 GB, free: 149 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001287/0.6617, allocations: 1.67 MB / 0.6404 GB, free: 148.2 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00793/0.6696, allocations: 7.878 MB / 0.6481 GB, free: 144.8 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.6696, allocations: 52.44 kB / 0.6482 GB, free: 144.7 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=122): time 3.487e-06/0.6696, allocations: 3.938 kB / 0.6482 GB, free: 144.7 MB / 0.4949 GB Notification: Performance of matching and sorting (n=171): time 0.04277/0.7124, allocations: 20.64 MB / 0.6683 GB, free: 137.1 MB / 0.4949 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.00117/0.7135, allocations: 0.9797 MB / 0.6693 GB, free: 136.4 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/0.7153, allocations: 1.644 MB / 0.6709 GB, free: 135.8 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0001974/0.7155, allocations: 59.27 kB / 0.6709 GB, free: 135.7 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007073/0.7162, allocations: 1.743 MB / 0.6726 GB, free: 134.5 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004646/0.7167, allocations: 0.6014 MB / 0.6732 GB, free: 134 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001043/0.7177, allocations: 0.6628 MB / 0.6739 GB, free: 133.8 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 2.659e-05/0.7178, allocations: 302.2 kB / 0.6742 GB, free: 133.5 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002633/0.7204, allocations: 2.54 MB / 0.6767 GB, free: 132.4 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002714/0.7231, allocations: 3.305 MB / 0.6799 GB, free: 130.3 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005287/0.7284, allocations: 5.946 MB / 0.6857 GB, free: 124.7 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/0.7284, allocations: 10.66 kB / 0.6857 GB, free: 124.7 MB / 0.4949 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.008567/0.737, allocations: 7.113 MB / 0.6926 GB, free: 118.5 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.737, allocations: 16 kB / 0.6927 GB, free: 118.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-05/0.737, allocations: 27.94 kB / 0.6927 GB, free: 118.4 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007145/0.7442, allocations: 2.821 MB / 0.6954 GB, free: 115.9 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005323/0.7495, allocations: 1.36 MB / 0.6968 GB, free: 114.6 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006235/0.7557, allocations: 8.662 MB / 0.7052 GB, free: 105.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/0.7578, allocations: 138.6 kB / 0.7054 GB, free: 105.4 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003512/0.7581, allocations: 431.8 kB / 0.7058 GB, free: 104.9 MB / 0.4949 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.00169/0.7598, allocations: 0.8808 MB / 0.7066 GB, free: 104.1 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004096/0.7602, allocations: 233.2 kB / 0.7069 GB, free: 103.8 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008787/0.769, allocations: 7.042 MB / 0.7137 GB, free: 96.94 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-06/0.769, allocations: 16 kB / 0.7137 GB, free: 96.93 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.769, allocations: 6.688 kB / 0.7138 GB, free: 96.92 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.769, allocations: 7.969 kB / 0.7138 GB, free: 96.91 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01101/0.78, allocations: 9.181 MB / 0.7227 GB, free: 87.66 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.7801, allocations: 8 kB / 0.7227 GB, free: 87.65 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003922/0.784, allocations: 0.9468 MB / 0.7237 GB, free: 86.73 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007625/0.7916, allocations: 2.982 MB / 0.7266 GB, free: 83.77 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001886/0.7918, allocations: 99.94 kB / 0.7267 GB, free: 83.68 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007691/0.7995, allocations: 9.673 MB / 0.7361 GB, free: 73.58 MB / 0.4949 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.0009064/0.8004, allocations: 0.7423 MB / 0.7368 GB, free: 72.83 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008163/0.8086, allocations: 6.598 MB / 0.7433 GB, free: 66.17 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000376/0.8089, allocations: 181.3 kB / 0.7435 GB, free: 65.99 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000231/0.8092, allocations: 43.89 kB / 0.7435 GB, free: 65.95 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006561/0.8098, allocations: 75.95 kB / 0.7436 GB, free: 65.88 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002969/0.8101, allocations: 195.7 kB / 0.7438 GB, free: 65.69 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000159/0.8103, allocations: 195.9 kB / 0.7439 GB, free: 65.5 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001124/0.8114, allocations: 1.41 MB / 0.7453 GB, free: 64.06 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8114, allocations: 0 / 0.7453 GB, free: 64.06 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0024/0.8138, allocations: 0.8668 MB / 0.7462 GB, free: 63.2 MB / 0.4949 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 (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 {(5,17), (4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00056/0.8144, allocations: 448.7 kB / 0.7466 GB, free: 62.76 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.00575/0.8201, allocations: 4.895 MB / 0.7514 GB, free: 57.85 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.8201, allocations: 0 / 0.7514 GB, free: 57.85 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.002985/0.8231, allocations: 2.213 MB / 0.7535 GB, free: 55.61 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.8244, allocations: 470.5 kB / 0.754 GB, free: 55.18 MB / 0.4949 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4676:9-4676:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/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: 2.3894989490509033] Failed to read output from testmodel.py, exit status != 0: 0.8296802686527371 0.834775464 0.39242201200000004 Calling exit ...