Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0007836/0.0007836, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.001006/0.001006, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8623/0.8623, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.08488/0.08488, allocations: 17.37 MB / 277.3 MB, free: 11.84 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Examples.GasSolubility_NIST_") translateModel(Chemical.Examples.GasSolubility_NIST_,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST_") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 412.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.437e-05, allocations: 2.781 kB / 412.7 MB, free: 13.08 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1564:5-1564: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 2.0.0/Interfaces.mo:1564:5-1564: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 2.0.0/Interfaces.mo:1819:5-1819: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 2.0.0/Interfaces.mo:1819:5-1819: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.02236/0.02238, allocations: 31.85 MB / 444.5 MB, free: 8.762 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.1182/0.1405, allocations: 129.6 MB / 0.5607 GB, free: 8.008 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/0.1423, allocations: 39.81 kB / 0.5607 GB, free: 7.969 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002235/0.1445, allocations: 1.141 MB / 0.5618 GB, free: 6.82 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002238/0.1468, allocations: 1.264 MB / 0.5631 GB, free: 5.547 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002607/0.1494, allocations: 1.556 MB / 0.5646 GB, free: 3.984 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003228/0.1526, allocations: 3.423 MB / 0.5679 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000714/0.1533, allocations: 0.6081 MB / 0.5685 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001496/0.1548, allocations: 1.742 MB / 0.5702 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000765/0.1556, allocations: 1.001 MB / 0.5712 GB, free: 13.14 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002173/0.1558, allocations: 303.9 kB / 0.5715 GB, free: 12.84 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001989/0.1578, allocations: 1.244 MB / 0.5727 GB, free: 11.6 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004131/0.1582, allocations: 0.9265 MB / 0.5736 GB, free: 10.67 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006288/0.1588, allocations: 1.06 MB / 0.5746 GB, free: 9.605 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003721/0.1625, allocations: 5.265 MB / 0.5798 GB, free: 4.324 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1625, allocations: 4 kB / 0.5798 GB, free: 4.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1626, allocations: 0 / 0.5798 GB, free: 4.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.998e-05/0.1626, allocations: 0 / 0.5798 GB, free: 4.32 MB / 490.7 MB 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.003123/0.1657, allocations: 3.689 MB / 0.5834 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1657, allocations: 8.031 kB / 0.5834 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1482/0.314, allocations: 0.7633 MB / 0.5841 GB, free: 162.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001995/0.316, allocations: 1.546 MB / 0.5857 GB, free: 161.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003261/0.3163, allocations: 0.54 MB / 0.5862 GB, free: 161.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002919/0.3166, allocations: 295.3 kB / 0.5865 GB, free: 161.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00782/0.3244, allocations: 11.96 MB / 0.5982 GB, free: 156.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.881e-05/0.3244, allocations: 4.5 kB / 0.5982 GB, free: 156.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/0.3246, allocations: 116.1 kB / 0.5983 GB, free: 156.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003294/0.3249, allocations: 490.9 kB / 0.5987 GB, free: 156.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01061/0.3355, allocations: 20.74 MB / 0.619 GB, free: 141.9 MB / 490.7 MB 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.01885/0.3544, allocations: 27.13 MB / 0.6455 GB, free: 115 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003655/0.358, allocations: 5.368 MB / 0.6507 GB, free: 109.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002724/0.3607, allocations: 4.193 MB / 0.6548 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008784/0.3616, allocations: 0.7012 MB / 0.6555 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.3616, allocations: 51.88 kB / 0.6556 GB, free: 104.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=133): time 4.428e-06/0.3616, allocations: 3.812 kB / 0.6556 GB, free: 104.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=200): time 0.06211/0.4237, allocations: 40.54 MB / 0.6952 GB, free: 64.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01118/0.4349, allocations: 12.48 MB / 0.7073 GB, free: 51.74 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/0.4363, allocations: 1.678 MB / 0.709 GB, free: 50.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003356/0.4366, allocations: 64.42 kB / 0.709 GB, free: 49.99 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004166/0.437, allocations: 1.576 MB / 0.7106 GB, free: 48.39 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005565/0.4376, allocations: 0.6893 MB / 0.7113 GB, free: 47.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001183/0.4388, allocations: 0.7335 MB / 0.712 GB, free: 46.96 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 2.017e-05/0.4388, allocations: 301.1 kB / 0.7123 GB, free: 46.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00514/0.4439, allocations: 7.19 MB / 0.7193 GB, free: 39.47 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005191/0.4491, allocations: 7.549 MB / 0.7267 GB, free: 31.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1056/0.5548, allocations: 41.76 MB / 0.7674 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.448e-05/0.5548, allocations: 0 / 0.7674 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.1873/0.7421, allocations: 15.77 MB / 0.7828 GB, free: 164.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.7421, allocations: 9.469 kB / 0.7828 GB, free: 164.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/0.7421, allocations: 8.906 kB / 0.7829 GB, free: 164.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01296/0.7551, allocations: 5.518 MB / 0.7882 GB, free: 163.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007182/0.7623, allocations: 1.558 MB / 0.7898 GB, free: 163.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/0.7733, allocations: 15.44 MB / 0.8048 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00262/0.7759, allocations: 236.2 kB / 0.8051 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005241/0.7764, allocations: 0.5063 MB / 0.8056 GB, free: 154.3 MB / 0.4948 GB Warning: Assuming fixed start value for the following 1 variables: CO2_dissolutionP.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (208): * Single equations (assignments): 201 * Array equations: 2 * 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%), (4,3,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,25), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001747/0.7782, allocations: 0.8397 MB / 0.8064 GB, free: 153.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006021/0.7788, allocations: 203.9 kB / 0.8066 GB, free: 153.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01312/0.7919, allocations: 11.68 MB / 0.818 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01016/0.802, allocations: 9.342 MB / 0.8271 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.802, allocations: 7.938 kB / 0.8271 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/0.8021, allocations: 7.969 kB / 0.8271 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01616/0.8182, allocations: 16.11 MB / 0.8428 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.8182, allocations: 10.62 kB / 0.8429 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003589/0.8218, allocations: 0.7829 MB / 0.8436 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01103/0.8329, allocations: 4.201 MB / 0.8477 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004085/0.8333, allocations: 119.9 kB / 0.8478 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009979/0.8432, allocations: 12.56 MB / 0.8601 GB, free: 101.2 MB / 0.4948 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.0009614/0.8442, allocations: 0.7621 MB / 0.8609 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01131/0.8555, allocations: 10.86 MB / 0.8715 GB, free: 89.48 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005118/0.856, allocations: 230.7 kB / 0.8717 GB, free: 89.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002528/0.8563, allocations: 51.98 kB / 0.8717 GB, free: 89.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007696/0.857, allocations: 106.6 kB / 0.8718 GB, free: 89.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004498/0.8575, allocations: 277.3 kB / 0.8721 GB, free: 88.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001875/0.8577, allocations: 227.9 kB / 0.8723 GB, free: 88.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001251/0.8589, allocations: 1.829 MB / 0.8741 GB, free: 86.78 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8589, allocations: 0 / 0.8741 GB, free: 86.78 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002522/0.8614, allocations: 1.158 MB / 0.8752 GB, free: 85.65 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 4 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],CO2_dissolutionP.rear.n_flow) * Number of discrete variables: 3 ($cse30,$cse26,$cse19) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 142 * 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%), (4,3,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,28), (9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006142/0.8621, allocations: 429.7 kB / 0.8756 GB, free: 85.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009651/0.8717, allocations: 9.624 MB / 0.885 GB, free: 75.71 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.8717, allocations: 0 / 0.885 GB, free: 75.71 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004268/0.876, allocations: 3.211 MB / 0.8882 GB, free: 72.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.8777, allocations: 482 kB / 0.8886 GB, free: 72.05 MB / 0.4948 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.582956176251173] Failed to read output from testmodel.py, exit status != 0: 1.0242987871170044 0.888858469 0.725036178 Calling exit ...