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.000844/0.000844, allocations: 76.16 kB / 9.861 MB, free: 0.8281 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001133/0.001977, allocations: 443.8 kB / 10.29 MB, free: 404 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.0009187/0.0009187, allocations: 141.2 kB / 11.17 MB, free: 3 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001124/0.002042, allocations: 475.6 kB / 11.64 MB, free: 2.531 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 0.9357/0.9357, allocations: 177.2 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07196/1.008, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.08236/0.08236, allocations: 17.37 MB / 261.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01028/0.09263, allocations: 6.929 MB / 268.2 MB, free: 6.516 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST_",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST_",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 269.4 MB, free: 5.305 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.335e-05/1.478e-05, allocations: 2.312 kB / 269.4 MB, free: 5.301 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.1266/0.1266, allocations: 12.16 MB / 281.6 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1413/0.2679, allocations: 142.6 MB / 424.2 MB, free: 7.465 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00149/0.2694, allocations: 39.88 kB / 424.3 MB, free: 7.426 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002317/0.2717, allocations: 1.184 MB / 425.4 MB, free: 6.234 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002214/0.2739, allocations: 1.264 MB / 426.7 MB, free: 4.961 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002681/0.2766, allocations: 1.598 MB / 428.3 MB, free: 3.355 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1497/0.4263, allocations: 3.397 MB / 431.7 MB, free: 4.387 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009327/0.4273, allocations: 0.6248 MB / 432.3 MB, free: 4.215 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002018/0.4293, allocations: 1.919 MB / 434.2 MB, free: 4.129 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001499/0.4308, allocations: 1.013 MB / 435.3 MB, free: 4.129 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005832/0.4314, allocations: 303.7 kB / 435.6 MB, free: 4.129 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002526/0.4339, allocations: 1.275 MB / 436.8 MB, free: 4.129 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006277/0.4345, allocations: 0.7757 MB / 437.6 MB, free: 4.129 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.4357, allocations: 0.8862 MB / 438.5 MB, free: 4.125 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003717/0.4394, allocations: 3.64 MB / 442.1 MB, free: 3.852 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.798e-05/0.4394, allocations: 0 / 442.1 MB, free: 3.852 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4394, allocations: 0 / 442.1 MB, free: 3.852 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001044/0.4395, allocations: 0 / 442.1 MB, free: 3.852 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.003813/0.4433, allocations: 4.314 MB / 446.4 MB, free: 18.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.4434, allocations: 9.188 kB / 446.5 MB, free: 18.25 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002676/0.4436, allocations: 493.5 kB / 446.9 MB, free: 18.19 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/0.4451, allocations: 1.442 MB / 448.4 MB, free: 18.06 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.4463, allocations: 1.124 MB / 449.5 MB, free: 17.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000261/0.4465, allocations: 0.5271 MB / 450 MB, free: 17.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002032/0.4468, allocations: 302.5 kB / 450.3 MB, free: 17.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002492/0.4492, allocations: 3.301 MB / 453.6 MB, free: 17.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.108e-05/0.4493, allocations: 1.344 kB / 453.6 MB, free: 17.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.4494, allocations: 124.2 kB / 453.8 MB, free: 17.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002699/0.4497, allocations: 484.8 kB / 454.2 MB, free: 17.13 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002867/0.4525, allocations: 4.137 MB / 458.4 MB, free: 17.04 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01382/0.4664, allocations: 13.49 MB / 471.8 MB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.4678, allocations: 0.7882 MB / 472.6 MB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000795/0.4686, allocations: 420.8 kB / 473 MB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000916/0.4695, allocations: 0.6867 MB / 473.7 MB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.4695, allocations: 45.78 kB / 473.8 MB, free: 15.31 MB / 426.7 MB Notification: Performance of pre-optimization done (n=133): time 3.286e-06/0.4695, allocations: 4.078 kB / 473.8 MB, free: 15.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=200): time 0.06683/0.5363, allocations: 14.54 MB / 488.3 MB, free: 9.762 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01041/0.5467, allocations: 4.959 MB / 493.3 MB, free: 5.797 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002837/0.5496, allocations: 2.549 MB / 495.8 MB, free: 4.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004734/0.5501, allocations: 54.89 kB / 495.9 MB, free: 4.234 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004566/0.5505, allocations: 0.9753 MB / 496.9 MB, free: 3.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006262/0.5511, allocations: 0.6968 MB / 497.6 MB, free: 3.027 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001239/0.5524, allocations: 0.5205 MB / 498.1 MB, free: 2.789 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.607e-05/0.5524, allocations: 302.1 kB / 498.4 MB, free: 2.492 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/0.5544, allocations: 0.9979 MB / 499.4 MB, free: 1.664 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002175/0.5566, allocations: 1.355 MB / 0.489 GB, free: 364 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005921/0.5625, allocations: 3.735 MB / 0.4926 GB, free: 12.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.5625, allocations: 4 kB / 0.4926 GB, free: 12.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007788/0.5703, allocations: 3.33 MB / 0.4959 GB, free: 10.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.5703, allocations: 8 kB / 0.4959 GB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.5704, allocations: 12.94 kB / 0.4959 GB, free: 10.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01112/0.5815, allocations: 3.892 MB / 0.4997 GB, free: 6.633 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008449/0.5899, allocations: 1.73 MB / 0.5014 GB, free: 4.949 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005964/0.5959, allocations: 6.295 MB / 0.5075 GB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00218/0.5981, allocations: 96.72 kB / 0.5076 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000523/0.5986, allocations: 476.8 kB / 0.5081 GB, free: 13.98 MB / 458.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 (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.001136/0.5997, allocations: 228.8 kB / 0.5083 GB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007569/0.6005, allocations: 235.8 kB / 0.5085 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009005/0.6095, allocations: 4.547 MB / 0.513 GB, free: 9.094 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005688/0.6152, allocations: 2.391 MB / 0.5153 GB, free: 6.719 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.6152, allocations: 4 kB / 0.5153 GB, free: 6.715 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.6152, allocations: 11.91 kB / 0.5153 GB, free: 6.703 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01013/0.6253, allocations: 6.299 MB / 0.5215 GB, free: 0.6172 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.6253, allocations: 12 kB / 0.5215 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004309/0.6296, allocations: 0.9985 MB / 0.5225 GB, free: 15.62 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000395/0.63, allocations: 367.7 kB / 0.5228 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01205/0.6421, allocations: 3.61 MB / 0.5263 GB, free: 11.68 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001932/0.6423, allocations: 93.02 kB / 0.5264 GB, free: 11.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007233/0.6495, allocations: 7.836 MB / 0.5341 GB, free: 3.461 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.0008942/0.6504, allocations: 0.7469 MB / 0.5348 GB, free: 2.711 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00604/0.6564, allocations: 3.128 MB / 0.5379 GB, free: 15.47 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000315/0.6568, allocations: 51.98 kB / 0.5379 GB, free: 15.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007527/0.6575, allocations: 57.19 kB / 0.538 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004148/0.6579, allocations: 228.3 kB / 0.5382 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002031/0.6581, allocations: 207.9 kB / 0.5384 GB, free: 14.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001081/0.6592, allocations: 1.309 MB / 0.5397 GB, free: 13.78 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6592, allocations: 0 / 0.5397 GB, free: 13.78 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002241/0.6614, allocations: 1.179 MB / 0.5408 GB, free: 12.6 MB / 490.7 MB 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.006113/0.6676, allocations: 3.855 MB / 0.5446 GB, free: 8.695 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004832/0.6724, allocations: 2.586 MB / 0.5471 GB, free: 6.16 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.188e-05/0.6724, allocations: 34.33 kB / 0.5471 GB, free: 6.129 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002729/0.6752, allocations: 1.542 MB / 0.5486 GB, free: 4.633 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/0.677, allocations: 1.064 MB / 0.5497 GB, free: 3.617 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4091:9-4091:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:743:5-743: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.137689646333456]