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.0006653/0.0006653, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009097/0.001575, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006871/0.0006871, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009356/0.001623, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.022/1.022, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09286/1.114, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.08841/0.08841, allocations: 17.35 MB / 261.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.011/0.09942, allocations: 6.93 MB / 268.4 MB, free: 6.414 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.723e-06/1.723e-06, allocations: 0 / 269.7 MB, free: 5.121 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.197e-05/1.37e-05, allocations: 6.25 kB / 269.7 MB, free: 5.113 MB / 266.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.162/0.162, allocations: 12.26 MB / 282 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1663/0.3283, allocations: 143.1 MB / 425.1 MB, free: 6.668 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00211/0.3304, allocations: 39.81 kB / 425.2 MB, free: 6.629 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002722/0.3331, allocations: 1.195 MB / 426.4 MB, free: 5.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002998/0.3361, allocations: 1.264 MB / 427.6 MB, free: 4.156 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003673/0.3398, allocations: 1.594 MB / 429.2 MB, free: 2.555 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.2002/0.54, allocations: 3.405 MB / 432.6 MB, free: 4.375 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.5413, allocations: 0.6236 MB / 433.2 MB, free: 4.203 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00329/0.5446, allocations: 1.92 MB / 435.2 MB, free: 4.117 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002225/0.5468, allocations: 1.014 MB / 436.2 MB, free: 4.117 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008994/0.5477, allocations: 301.7 kB / 436.5 MB, free: 4.117 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003759/0.5515, allocations: 1.286 MB / 437.8 MB, free: 4.113 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009272/0.5524, allocations: 0.7797 MB / 438.5 MB, free: 4.113 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001768/0.5542, allocations: 0.8844 MB / 439.4 MB, free: 4.113 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005434/0.5596, allocations: 3.622 MB / 443 MB, free: 3.832 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.778e-05/0.5597, allocations: 1.969 kB / 443 MB, free: 3.832 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5597, allocations: 3.406 kB / 443.1 MB, free: 3.832 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001273/0.5598, allocations: 2.812 kB / 443.1 MB, free: 3.832 MB / 410.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.004313/0.5641, allocations: 4.307 MB / 447.4 MB, free: 18.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.5641, allocations: 9.219 kB / 447.4 MB, free: 18.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/0.5657, allocations: 1.444 MB / 448.8 MB, free: 18.11 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.5671, allocations: 1.123 MB / 449.9 MB, free: 17.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002802/0.5674, allocations: 0.5314 MB / 450.5 MB, free: 17.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002106/0.5676, allocations: 291.1 kB / 450.8 MB, free: 17.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002658/0.5702, allocations: 3.298 MB / 454.1 MB, free: 17.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.792e-05/0.5703, allocations: 1.188 kB / 454.1 MB, free: 17.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.5704, allocations: 119 kB / 454.2 MB, free: 17.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002844/0.5707, allocations: 475.8 kB / 454.6 MB, free: 17.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002836/0.5735, allocations: 4.132 MB / 458.8 MB, free: 17.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01428/0.5878, allocations: 12.55 MB / 471.3 MB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.5892, allocations: 0.7939 MB / 472.1 MB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007709/0.5899, allocations: 416.2 kB / 472.5 MB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009535/0.5909, allocations: 0.6797 MB / 473.2 MB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.33e-05/0.5909, allocations: 53.75 kB / 473.2 MB, free: 15.63 MB / 426.7 MB Notification: Performance of pre-optimization done (n=133): time 3.096e-06/0.5909, allocations: 0 / 473.2 MB, free: 15.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=175): time 0.04638/0.6373, allocations: 11.63 MB / 484.9 MB, free: 12.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007793/0.6451, allocations: 4.921 MB / 489.8 MB, free: 8.746 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.6465, allocations: 1.32 MB / 491.1 MB, free: 7.934 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002411/0.6468, allocations: 51.2 kB / 491.2 MB, free: 7.898 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000587/0.6473, allocations: 1.325 MB / 492.5 MB, free: 6.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005118/0.6479, allocations: 0.6157 MB / 493.1 MB, free: 6.434 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008902/0.6487, allocations: 488.6 kB / 493.6 MB, free: 6.211 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.581e-05/0.6488, allocations: 305.9 kB / 493.9 MB, free: 5.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.6502, allocations: 0.6832 MB / 494.6 MB, free: 5.379 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001553/0.6518, allocations: 1.029 MB / 495.6 MB, free: 4.445 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005078/0.6569, allocations: 2.776 MB / 498.4 MB, free: 2.215 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/0.6569, allocations: 4 kB / 498.4 MB, free: 2.211 MB / 426.7 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.006759/0.6636, allocations: 2.579 MB / 0.4892 GB, free: 424 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.6637, allocations: 9.031 kB / 0.4892 GB, free: 416 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-05/0.6637, allocations: 12 kB / 0.4892 GB, free: 404 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01115/0.6748, allocations: 4.035 MB / 0.4932 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007019/0.6819, allocations: 1.534 MB / 0.4947 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007052/0.6889, allocations: 6.299 MB / 0.5008 GB, free: 5.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/0.691, allocations: 84.73 kB / 0.5009 GB, free: 5.238 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000607/0.6916, allocations: 448.6 kB / 0.5013 GB, free: 4.801 MB / 442.7 MB 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 (183): * Single equations (assignments): 176 * 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%), (3,4,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,25), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001725/0.6933, allocations: 215.2 kB / 0.5015 GB, free: 4.605 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008242/0.6941, allocations: 162.3 kB / 0.5017 GB, free: 4.449 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007623/0.7017, allocations: 3.749 MB / 0.5054 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00465/0.7064, allocations: 1.909 MB / 0.5072 GB, free: 14.92 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/0.7064, allocations: 0 / 0.5072 GB, free: 14.92 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.7064, allocations: 8.594 kB / 0.5072 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/0.7176, allocations: 5.899 MB / 0.513 GB, free: 9.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.7176, allocations: 8 kB / 0.513 GB, free: 9.152 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003993/0.7216, allocations: 0.9263 MB / 0.5139 GB, free: 8.27 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005267/0.7221, allocations: 194.2 kB / 0.5141 GB, free: 8.082 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01203/0.7341, allocations: 3.704 MB / 0.5177 GB, free: 4.422 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003985/0.7345, allocations: 79.92 kB / 0.5178 GB, free: 4.344 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007932/0.7425, allocations: 7.767 MB / 0.5254 GB, free: 12.34 MB / 474.7 MB 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.0009744/0.7434, allocations: 0.742 MB / 0.5261 GB, free: 11.59 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006343/0.7498, allocations: 2.819 MB / 0.5288 GB, free: 8.695 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004565/0.7502, allocations: 43.94 kB / 0.5289 GB, free: 8.652 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007987/0.751, allocations: 47.98 kB / 0.5289 GB, free: 8.605 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004873/0.7515, allocations: 215 kB / 0.5291 GB, free: 8.398 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002319/0.7518, allocations: 195.9 kB / 0.5293 GB, free: 8.207 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008437/0.7526, allocations: 0.7481 MB / 0.53 GB, free: 7.531 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7526, allocations: 0 / 0.53 GB, free: 7.531 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00307/0.7557, allocations: 1.062 MB / 0.5311 GB, free: 6.469 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (122): * Single equations (assignments): 117 * 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%), (3,4,77.8%)} * 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.001102/0.7568, allocations: 434.7 kB / 0.5315 GB, free: 6.109 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005544/0.7623, allocations: 2.213 MB / 0.5337 GB, free: 3.945 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-05/0.7624, allocations: 32.48 kB / 0.5337 GB, free: 3.914 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004508/0.7669, allocations: 1.734 MB / 0.5354 GB, free: 2.207 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003072/0.77, allocations: 3.346 MB / 0.5387 GB, free: 14.31 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4633:9-4633:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:793:5-793: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.356142660602927]