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.001385/0.001385, allocations: 97.92 kB / 19.73 MB, free: 2.133 MB / 14.72 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.001611/0.001611, allocations: 219.8 kB / 23.03 MB, free: 4.945 MB / 14.72 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.1678/0.1678, allocations: 23.87 MB / 337.1 MB, free: 10.98 MB / 270.1 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: "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST_",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST_",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002808/0.002808, allocations: 63.91 kB / 471.9 MB, free: 7.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3459, allocations: 59.86 MB / 0.5193 GB, free: 9.512 MB / 382.1 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.0816/0.4275, allocations: 31.2 MB / 0.5497 GB, free: 8.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1804/0.6079, allocations: 129.5 MB / 0.6762 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002881/0.6108, allocations: 35.88 kB / 0.6762 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004942/0.6157, allocations: 1.153 MB / 0.6773 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004751/0.6204, allocations: 1.237 MB / 0.6785 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00511/0.6256, allocations: 1.564 MB / 0.6801 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007155/0.6327, allocations: 3.316 MB / 0.6833 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001736/0.6344, allocations: 0.6044 MB / 0.6839 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002357/0.6368, allocations: 1.167 MB / 0.685 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003036/0.6398, allocations: 1.377 MB / 0.6864 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0009369/0.6408, allocations: 304 kB / 0.6867 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004277/0.6451, allocations: 1.264 MB / 0.6879 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001205/0.6463, allocations: 0.9226 MB / 0.6888 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001966/0.6482, allocations: 1.321 MB / 0.6901 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009027/0.6573, allocations: 5.277 MB / 0.6953 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.6573, allocations: 4 kB / 0.6953 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.385e-06/0.6573, allocations: 0 / 0.6953 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.873e-05/0.6573, allocations: 0 / 0.6953 GB, free: 5.164 MB / 0.5294 GB 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.00601/0.6633, allocations: 3.728 MB / 0.6989 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.6634, allocations: 8.031 kB / 0.6989 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.915e-05/0.6635, allocations: 85.94 kB / 0.699 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005488/0.664, allocations: 473.5 kB / 0.6994 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002422/0.6664, allocations: 0.7518 MB / 0.7002 GB, free: 64 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002416/0.6689, allocations: 1.543 MB / 0.7017 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005263/0.6694, allocations: 0.5357 MB / 0.7022 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004225/0.6698, allocations: 296.1 kB / 0.7025 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01513/0.6849, allocations: 11.97 MB / 0.7142 GB, free: 1.621 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.474e-05/0.685, allocations: 0 / 0.7142 GB, free: 1.621 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002556/0.6852, allocations: 124 kB / 0.7143 GB, free: 1.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005917/0.6858, allocations: 490.9 kB / 0.7148 GB, free: 1.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.349/1.035, allocations: 20.76 MB / 0.735 GB, free: 186.5 MB / 0.5606 GB 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.0442/1.079, allocations: 28.32 MB / 0.7627 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006216/1.085, allocations: 5.37 MB / 0.7679 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004435/1.09, allocations: 4.196 MB / 0.772 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001863/1.092, allocations: 0.6908 MB / 0.7727 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/1.092, allocations: 55.81 kB / 0.7728 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=133): time 4.999e-06/1.092, allocations: 0 / 0.7728 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=200): time 0.1249/1.216, allocations: 40.6 MB / 0.8124 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02071/1.237, allocations: 12.54 MB / 0.8247 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003888/1.241, allocations: 3.611 MB / 0.8282 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001144/1.242, allocations: 61.7 kB / 0.8282 GB, free: 109 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009307/1.243, allocations: 1.533 MB / 0.8297 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001295/1.244, allocations: 0.701 MB / 0.8304 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001949/1.246, allocations: 0.7179 MB / 0.8311 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.397e-05/1.246, allocations: 307.8 kB / 0.8314 GB, free: 105.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007619/1.254, allocations: 7.192 MB / 0.8384 GB, free: 98.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008127/1.262, allocations: 7.55 MB / 0.8458 GB, free: 90.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2081/1.47, allocations: 41.46 MB / 0.8863 GB, free: 49.67 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.565e-05/1.47, allocations: 0 / 0.8863 GB, free: 49.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.02559/1.496, allocations: 15.89 MB / 0.9018 GB, free: 33.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/1.496, allocations: 8 kB / 0.9018 GB, free: 33.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/1.496, allocations: 12 kB / 0.9018 GB, free: 33.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02146/1.517, allocations: 5.47 MB / 0.9072 GB, free: 28.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01399/1.531, allocations: 1.558 MB / 0.9087 GB, free: 26.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01641/1.548, allocations: 15.5 MB / 0.9238 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005548/1.553, allocations: 235.7 kB / 0.9241 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001304/1.555, allocations: 0.5004 MB / 0.9246 GB, free: 10.21 MB / 0.5606 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.002862/1.558, allocations: 0.8475 MB / 0.9254 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001482/1.559, allocations: 325.8 kB / 0.9257 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02685/1.586, allocations: 11.8 MB / 0.9372 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02434/1.61, allocations: 9.334 MB / 0.9463 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-05/1.61, allocations: 4 kB / 0.9463 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.336e-05/1.61, allocations: 11.95 kB / 0.9463 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3565/1.967, allocations: 15.66 MB / 0.9616 GB, free: 192.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.651e-05/1.967, allocations: 8.062 kB / 0.9616 GB, free: 192.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008775/1.976, allocations: 0.792 MB / 0.9624 GB, free: 192.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02546/2.001, allocations: 4.149 MB / 0.9665 GB, free: 191.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008015/2.002, allocations: 120.8 kB / 0.9666 GB, free: 191.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01932/2.021, allocations: 12.66 MB / 0.9789 GB, free: 183.2 MB / 0.5762 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.0023/2.024, allocations: 0.7581 MB / 0.9797 GB, free: 182.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02256/2.046, allocations: 10.99 MB / 0.9904 GB, free: 177.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/2.047, allocations: 465.6 kB / 0.9909 GB, free: 177.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006822/2.048, allocations: 45.3 kB / 0.9909 GB, free: 177.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001765/2.05, allocations: 107.9 kB / 0.991 GB, free: 177.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007039/2.05, allocations: 278.5 kB / 0.9913 GB, free: 177 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003175/2.051, allocations: 226.6 kB / 0.9915 GB, free: 177 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003615/2.054, allocations: 3.217 MB / 0.9946 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/2.054, allocations: 0 / 0.9946 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003592/2.058, allocations: 1.185 MB / 0.9958 GB, free: 173.5 MB / 0.5762 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.01742/2.075, allocations: 10.61 MB / 1.006 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01505/2.09, allocations: 9.63 MB / 1.016 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.68e-05/2.09, allocations: 4 kB / 1.016 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007896/2.098, allocations: 3.23 MB / 1.019 GB, free: 150 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005109/2.103, allocations: 0.6831 MB / 1.019 GB, free: 149.4 MB / 0.5762 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.767500713933259] Failed to read output from testmodel.py, exit status != 0: 2.1133681719657034 2.122068647 1.4624764479999999 Calling exit ...