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.001055/0.001055, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001259/0.001259, allocations: 165 kB / 23.02 MB, free: 1.551 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 1.019/1.019, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.09658/0.09658, allocations: 17.38 MB / 277.3 MB, free: 11.65 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.322e-06/1.322e-06, allocations: 0 / 353.4 MB, free: 9.988 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.625e-05, allocations: 6.25 kB / 353.4 MB, free: 9.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.03708/0.0371, allocations: 52.67 MB / 406.1 MB, free: 5.098 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3325/0.3696, allocations: 152.6 MB / 0.5456 GB, free: 6.855 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0125/0.3821, allocations: 163.3 kB / 0.5457 GB, free: 6.695 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01079/0.3929, allocations: 3.2 MB / 0.5489 GB, free: 3.469 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0226/0.4155, allocations: 5.129 MB / 0.5539 GB, free: 14.3 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02343/0.4389, allocations: 4.05 MB / 0.5578 GB, free: 10.24 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.261/0.7, allocations: 15.95 MB / 0.5734 GB, free: 7.047 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007964/0.7079, allocations: 3.412 MB / 0.5767 GB, free: 22.29 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02336/0.7313, allocations: 8.866 MB / 0.5854 GB, free: 22.29 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01501/0.7463, allocations: 5.157 MB / 0.5904 GB, free: 22.04 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00736/0.7537, allocations: 1.546 MB / 0.5919 GB, free: 22.04 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01435/0.768, allocations: 2.681 MB / 0.5946 GB, free: 22.03 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00658/0.7746, allocations: 4.783 MB / 0.5992 GB, free: 21.2 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01246/0.787, allocations: 5.363 MB / 0.6045 GB, free: 20.42 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02656/0.8136, allocations: 15.04 MB / 0.6192 GB, free: 17.96 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.8136, allocations: 0 / 0.6192 GB, free: 17.96 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.8136, allocations: 0.8125 kB / 0.6192 GB, free: 17.96 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001083/0.8147, allocations: 0 / 0.6192 GB, free: 17.96 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4724 * Number of variables: 4724 Notification: Performance of Generate backend data structure: time 0.03777/0.8525, allocations: 18.47 MB / 0.6372 GB, free: 7.805 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.8525, allocations: 9.531 kB / 0.6372 GB, free: 7.805 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01829/0.8708, allocations: 7.659 MB / 0.6447 GB, free: 4.695 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01418/0.885, allocations: 6.679 MB / 0.6512 GB, free: 0 / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004707/0.8897, allocations: 2.893 MB / 0.654 GB, free: 13.65 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003843/0.8935, allocations: 1.484 MB / 0.6555 GB, free: 12.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04106/0.9346, allocations: 21.9 MB / 0.6769 GB, free: 6.336 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000389/0.935, allocations: 4.188 kB / 0.6769 GB, free: 6.332 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002527/0.9375, allocations: 0.6026 MB / 0.6775 GB, free: 5.762 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001806/0.9393, allocations: 2.453 MB / 0.6799 GB, free: 3.297 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04108/0.9804, allocations: 27.55 MB / 0.7068 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3744/1.355, allocations: 80.3 MB / 0.7852 GB, free: 104.4 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01432/1.369, allocations: 4.765 MB / 0.7898 GB, free: 104.2 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009987/1.379, allocations: 3.016 MB / 0.7928 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002/1.381, allocations: 0.8538 MB / 0.7936 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.986e-05/1.381, allocations: 101.3 kB / 0.7937 GB, free: 104 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=650): time 1.138e-05/1.381, allocations: 0 / 0.7937 GB, free: 104 MB / 0.5573 GB Notification: Performance of matching and sorting (n=956): time 0.3663/1.748, allocations: 91.57 MB / 0.8831 GB, free: 56.44 MB / 0.5573 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! 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! 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.01044/1.758, allocations: 4.909 MB / 0.8879 GB, free: 51.4 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009165/1.767, allocations: 6.775 MB / 0.8945 GB, free: 44.66 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.004336/1.771, allocations: 179.4 kB / 0.8947 GB, free: 44.49 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003407/1.775, allocations: 8.36 MB / 0.9029 GB, free: 36.11 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.006728/1.782, allocations: 3.324 MB / 0.9061 GB, free: 32.84 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01639/1.798, allocations: 3.279 MB / 0.9093 GB, free: 29.54 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6e-05/1.798, allocations: 480.8 kB / 0.9098 GB, free: 29.07 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0157/1.814, allocations: 6.347 MB / 0.916 GB, free: 22.72 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0172/1.831, allocations: 8.643 MB / 0.9244 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04491/1.876, allocations: 22.31 MB / 0.9462 GB, free: 6.16 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-05/1.876, allocations: 12 kB / 0.9462 GB, free: 6.148 MB / 0.573 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.06671/1.943, allocations: 21.73 MB / 0.9674 GB, free: 0.6133 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.217e-05/1.943, allocations: 25.09 kB / 0.9675 GB, free: 0.5898 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-05/1.943, allocations: 44 kB / 0.9675 GB, free: 0.5469 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3566/2.299, allocations: 19.32 MB / 0.9864 GB, free: 131.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04145/2.341, allocations: 8.055 MB / 0.9942 GB, free: 131.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04013/2.381, allocations: 40.26 MB / 1.034 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01576/2.397, allocations: 1.181 MB / 1.035 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005396/2.402, allocations: 2.472 MB / 1.037 GB, free: 105.7 MB / 0.5886 GB Warning: Assuming fixed start value for the following 6 variables: O2_dissolutionE_NIST1.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real CO2_dissolutionE1.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real O2_dissolutionE_NIST.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real CO2_dissolutionE.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real O2_dissolutionP.fore.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real 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: 201 * 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 (1004): * Single equations (assignments): 977 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 15 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,4,100.0%), (1,4,100.0%), (6,4,44.4%), (1,4,100.0%), (1,4,100.0%), (6,4,44.4%), (1,4,100.0%), (1,4,100.0%), (6,4,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(8,39), (6,4), (8,39), (6,4), (8,39), (6,4)} Notification: Performance of prepare postOptimizeDAE: time 0.01072/2.413, allocations: 0.6926 MB / 1.038 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006695/2.42, allocations: 1.225 MB / 1.039 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07015/2.49, allocations: 28.93 MB / 1.067 GB, free: 98.11 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05201/2.542, allocations: 17.7 MB / 1.085 GB, free: 82.71 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.251e-05/2.542, allocations: 11.98 kB / 1.085 GB, free: 82.7 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002604/2.542, allocations: 47.83 kB / 1.085 GB, free: 82.66 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1029/2.645, allocations: 47.75 MB / 1.131 GB, free: 36.31 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001156/2.645, allocations: 40 kB / 1.131 GB, free: 36.27 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02166/2.667, allocations: 4.092 MB / 1.135 GB, free: 32.26 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06763/2.734, allocations: 18.33 MB / 1.153 GB, free: 13.88 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003215/2.738, allocations: 0.5699 MB / 1.154 GB, free: 13.31 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3679/3.105, allocations: 49.28 MB / 1.202 GB, free: 119.9 MB / 0.6042 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! 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! 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.004911/3.11, allocations: 3.24 MB / 1.205 GB, free: 117.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04898/3.159, allocations: 20.63 MB / 1.225 GB, free: 113.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0037/3.163, allocations: 1.07 MB / 1.226 GB, free: 113.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004397/3.167, allocations: 245 kB / 1.226 GB, free: 113.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007112/3.175, allocations: 0.5037 MB / 1.227 GB, free: 113.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003711/3.178, allocations: 1.216 MB / 1.228 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001966/3.18, allocations: 1.101 MB / 1.229 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.007886/3.188, allocations: 4.942 MB / 1.234 GB, free: 113.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.81e-07/3.188, allocations: 0.5938 kB / 1.234 GB, free: 113.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.02285/3.211, allocations: 5.552 MB / 1.239 GB, free: 113.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 168 * Number of states: 18 ($STATESET3.x[4],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],CO2_dissolutionE1.rear.n_flow,O2_dissolutionE_NIST1.rear.n_flow,$STATESET2.x[4],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],CO2_dissolutionE.rear.n_flow,O2_dissolutionE_NIST.rear.n_flow,$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],CO2_dissolutionP.rear.n_flow,O2_dissolutionP.fore.n_flow) * Number of discrete variables: 15 ($cse134,$cse130,$cse123,$cse116,$cse109,$cse90,$cse86,$cse79,$cse72,$cse65,$cse43,$cse39,$cse32,$cse28,$cse21) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (713): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 15 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,4,100.0%), (1,4,100.0%), (6,4,44.4%), (1,4,100.0%), (1,4,100.0%), (6,4,44.4%), (1,4,100.0%), (1,4,100.0%), (6,4,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(8,44), (13,16), (8,44), (13,16), (8,44), (13,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003962/3.215, allocations: 0.6683 MB / 1.24 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.03899/3.254, allocations: 16.05 MB / 1.256 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.956e-05/3.254, allocations: 8.156 kB / 1.256 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0249/3.279, allocations: 9.504 MB / 1.265 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01635/3.295, allocations: 2.703 MB / 1.268 GB, free: 105.7 MB / 0.6042 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4695:9-4695:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:856:5-856:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 5.093405251856893]