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.001358/0.001358, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001033/0.001033, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.088/1.088, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.1101/0.1101, allocations: 17.39 MB / 278.4 MB, free: 11.48 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 2.204e-06/2.204e-06, allocations: 0 / 354.7 MB, free: 9.691 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.693e-05/3.913e-05, allocations: 9.766 kB / 354.7 MB, free: 9.684 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.04247/0.04251, allocations: 51.36 MB / 406 MB, free: 6.113 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3442/0.3867, allocations: 149.9 MB / 0.5429 GB, free: 10.01 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01222/0.3989, allocations: 163.4 kB / 0.543 GB, free: 9.852 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009941/0.4088, allocations: 3.213 MB / 0.5461 GB, free: 6.617 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01673/0.4256, allocations: 5.125 MB / 0.5512 GB, free: 1.449 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01177/0.4373, allocations: 4.031 MB / 0.5551 GB, free: 13.41 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.2578/0.6951, allocations: 15.96 MB / 0.5707 GB, free: 7.277 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007849/0.703, allocations: 3.409 MB / 0.574 GB, free: 22.52 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0194/0.7224, allocations: 8.881 MB / 0.5827 GB, free: 22.52 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01196/0.7343, allocations: 5.151 MB / 0.5877 GB, free: 22.52 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006295/0.7406, allocations: 1.543 MB / 0.5892 GB, free: 22.52 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01207/0.7527, allocations: 2.678 MB / 0.5918 GB, free: 22.52 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006909/0.7596, allocations: 4.777 MB / 0.5965 GB, free: 22.52 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01278/0.7724, allocations: 5.368 MB / 0.6017 GB, free: 21.99 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02363/0.796, allocations: 15.03 MB / 0.6164 GB, free: 19.54 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.796, allocations: 0 / 0.6164 GB, free: 19.54 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.796, allocations: 3.469 kB / 0.6164 GB, free: 19.54 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000856/0.7969, allocations: 4.031 kB / 0.6164 GB, free: 19.54 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.03107/0.828, allocations: 18.58 MB / 0.6346 GB, free: 11.25 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.828, allocations: 7.281 kB / 0.6346 GB, free: 11.25 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01533/0.8433, allocations: 7.659 MB / 0.6421 GB, free: 7.555 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01354/0.8569, allocations: 6.349 MB / 0.6483 GB, free: 2.52 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00347/0.8603, allocations: 2.707 MB / 0.6509 GB, free: 15.84 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004016/0.8644, allocations: 1.493 MB / 0.6524 GB, free: 14.39 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04129/0.9057, allocations: 18.39 MB / 0.6703 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005705/0.9062, allocations: 4.188 kB / 0.6703 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003196/0.9094, allocations: 0.6007 MB / 0.6709 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002107/0.9115, allocations: 2.456 MB / 0.6733 GB, free: 10.76 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02795/0.9395, allocations: 21.76 MB / 0.6946 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3709/1.31, allocations: 75.9 MB / 0.7687 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01102/1.321, allocations: 4.28 MB / 0.7729 GB, free: 105.5 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006827/1.328, allocations: 2.57 MB / 0.7754 GB, free: 105.5 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001817/1.33, allocations: 0.8406 MB / 0.7762 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.079e-05/1.33, allocations: 107.9 kB / 0.7763 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=650): time 1.043e-05/1.33, allocations: 1.906 kB / 0.7763 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=956): time 0.3657/1.696, allocations: 74.21 MB / 0.8488 GB, free: 84.71 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.007204/1.703, allocations: 4.903 MB / 0.8536 GB, free: 80.67 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008397/1.711, allocations: 6.534 MB / 0.8599 GB, free: 75.96 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.004535/1.716, allocations: 172.2 kB / 0.8601 GB, free: 75.9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.004587/1.721, allocations: 8.418 MB / 0.8683 GB, free: 70.01 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.006715/1.727, allocations: 3.346 MB / 0.8716 GB, free: 67.18 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0138/1.741, allocations: 3.317 MB / 0.8748 GB, free: 64.67 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.751e-05/1.741, allocations: 481.8 kB / 0.8753 GB, free: 64.2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01299/1.754, allocations: 5.799 MB / 0.881 GB, free: 59.02 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01551/1.77, allocations: 8.131 MB / 0.8889 GB, free: 50.93 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04394/1.814, allocations: 20.74 MB / 0.9092 GB, free: 32.19 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.721e-05/1.814, allocations: 16 kB / 0.9092 GB, free: 32.17 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.06375/1.877, allocations: 20.48 MB / 0.9292 GB, free: 11.92 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.04e-05/1.878, allocations: 31.16 kB / 0.9292 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.097e-05/1.878, allocations: 47.94 kB / 0.9292 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05907/1.937, allocations: 17.96 MB / 0.9468 GB, free: 9.879 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04195/1.979, allocations: 7.714 MB / 0.9543 GB, free: 2.27 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3198/2.298, allocations: 39.39 MB / 0.9928 GB, free: 116.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01472/2.313, allocations: 496.6 kB / 0.9933 GB, free: 116.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004935/2.318, allocations: 2.399 MB / 0.9956 GB, free: 116.4 MB / 0.5886 GB Warning: Assuming fixed start value for the following 6 variables: 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 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_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 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.01018/2.328, allocations: 0.7013 MB / 0.9963 GB, free: 116.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006286/2.335, allocations: 1.224 MB / 0.9975 GB, free: 116.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05812/2.393, allocations: 26.62 MB / 1.023 GB, free: 115 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04346/2.436, allocations: 15.17 MB / 1.038 GB, free: 114.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.991e-05/2.436, allocations: 9.219 kB / 1.038 GB, free: 114.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001826/2.436, allocations: 52.7 kB / 1.038 GB, free: 114.4 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0799/2.516, allocations: 42.19 MB / 1.08 GB, free: 95.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-05/2.516, allocations: 46.19 kB / 1.08 GB, free: 95.86 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02004/2.536, allocations: 4.077 MB / 1.084 GB, free: 91.93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06067/2.597, allocations: 16.74 MB / 1.1 GB, free: 75.21 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002828/2.6, allocations: 0.566 MB / 1.1 GB, free: 74.64 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03826/2.638, allocations: 48.04 MB / 1.147 GB, free: 25.36 MB / 0.5886 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.004293/2.642, allocations: 3.222 MB / 1.151 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03999/2.682, allocations: 18.51 MB / 1.169 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002973/2.685, allocations: 1.03 MB / 1.17 GB, free: 2.004 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002581/2.688, allocations: 243.6 kB / 1.17 GB, free: 1.773 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005559/2.694, allocations: 301 kB / 1.17 GB, free: 1.48 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002964/2.697, allocations: 1.209 MB / 1.171 GB, free: 304 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001536/2.698, allocations: 1.039 MB / 1.172 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.005754/2.704, allocations: 4.296 MB / 1.177 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.61e-07/2.704, allocations: 0 / 1.177 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.02318/2.727, allocations: 5.543 MB / 1.182 GB, free: 5.773 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.003717/2.731, allocations: 0.6887 MB / 1.183 GB, free: 5.258 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.2945/3.025, allocations: 14.85 MB / 1.197 GB, free: 141.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.589e-05/3.025, allocations: 4.125 kB / 1.197 GB, free: 141.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01941/3.045, allocations: 8.73 MB / 1.206 GB, free: 138.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01045/3.055, allocations: 2.697 MB / 1.208 GB, free: 138.6 MB / 0.6042 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4595:9-4595:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:827:5-827: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.021391830872744]