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.001186/0.001186, allocations: 84.44 kB / 19.18 MB, free: 0.7383 MB / 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.001308/0.001308, allocations: 173.9 kB / 22.46 MB, free: 2.102 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 0.9511/0.9511, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.1043/0.1043, allocations: 17.37 MB / 276.6 MB, free: 11.85 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",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST_",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 413 MB, free: 14.87 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.607e-05/1.776e-05, allocations: 2.281 kB / 413 MB, free: 14.86 MB / 394.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.3697/0.3698, allocations: 40.79 MB / 453.8 MB, free: 42.46 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.1229/0.4926, allocations: 129.6 MB / 0.5697 GB, free: 3.172 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002266/0.4949, allocations: 37.31 kB / 0.5698 GB, free: 3.16 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003364/0.4982, allocations: 1.134 MB / 0.5709 GB, free: 2.383 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003502/0.5017, allocations: 1.274 MB / 0.5721 GB, free: 1.32 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003652/0.5054, allocations: 1.553 MB / 0.5736 GB, free: 80 kB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.004603/0.51, allocations: 3.423 MB / 0.577 GB, free: 13.36 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001214/0.5112, allocations: 0.5999 MB / 0.5776 GB, free: 12.71 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002115/0.5133, allocations: 1.754 MB / 0.5793 GB, free: 10.96 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.5149, allocations: 0.9932 MB / 0.5802 GB, free: 9.961 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0003631/0.5153, allocations: 308 kB / 0.5805 GB, free: 9.66 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00305/0.5183, allocations: 1.236 MB / 0.5817 GB, free: 8.422 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0006181/0.5189, allocations: 0.9381 MB / 0.5827 GB, free: 7.48 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0009678/0.5199, allocations: 1.052 MB / 0.5837 GB, free: 6.426 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0061/0.526, allocations: 5.265 MB / 0.5888 GB, free: 1.145 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.526, allocations: 3.938 kB / 0.5888 GB, free: 1.141 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.694e-06/0.526, allocations: 0 / 0.5888 GB, free: 1.141 MB / 474.8 MB Notification: Performance of Transformations before backend: time 9.222e-05/0.5261, allocations: 7.938 kB / 0.5888 GB, free: 1.133 MB / 474.8 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.004748/0.5308, allocations: 3.679 MB / 0.5924 GB, free: 13.41 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.5309, allocations: 8.031 kB / 0.5924 GB, free: 13.4 MB / 490.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003605/0.5312, allocations: 469.5 kB / 0.5929 GB, free: 12.93 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001467/0.5327, allocations: 0.7595 MB / 0.5936 GB, free: 12.17 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001889/0.5346, allocations: 1.55 MB / 0.5951 GB, free: 10.58 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003649/0.535, allocations: 0.5318 MB / 0.5957 GB, free: 10.01 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002517/0.5352, allocations: 300.2 kB / 0.5959 GB, free: 9.719 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009887/0.5451, allocations: 11.97 MB / 0.6076 GB, free: 13.72 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.618e-05/0.5451, allocations: 1.125 kB / 0.6076 GB, free: 13.72 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001676/0.5453, allocations: 120 kB / 0.6077 GB, free: 13.61 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003299/0.5456, allocations: 486.9 kB / 0.6082 GB, free: 13.13 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1864/0.7321, allocations: 20.74 MB / 0.6285 GB, free: 156.7 MB / 0.4949 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.02695/0.759, allocations: 28.32 MB / 0.6561 GB, free: 144 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005073/0.7641, allocations: 5.361 MB / 0.6614 GB, free: 141.7 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00371/0.7678, allocations: 4.193 MB / 0.6655 GB, free: 139.8 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/0.769, allocations: 0.7015 MB / 0.6661 GB, free: 139.6 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.769, allocations: 47.75 kB / 0.6662 GB, free: 139.6 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=133): time 4.028e-06/0.769, allocations: 0 / 0.6662 GB, free: 139.6 MB / 0.4949 GB Notification: Performance of matching and sorting (n=200): time 0.07125/0.8403, allocations: 40.66 MB / 0.7059 GB, free: 105.3 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01219/0.8525, allocations: 12.53 MB / 0.7181 GB, free: 92.54 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003175/0.8557, allocations: 3.624 MB / 0.7217 GB, free: 88.93 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0009056/0.8566, allocations: 57.7 kB / 0.7217 GB, free: 88.86 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.000631/0.8572, allocations: 1.53 MB / 0.7232 GB, free: 87.39 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008262/0.858, allocations: 0.6937 MB / 0.7239 GB, free: 86.71 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001154/0.8592, allocations: 0.7205 MB / 0.7246 GB, free: 85.98 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 2.543e-05/0.8592, allocations: 305.1 kB / 0.7249 GB, free: 85.68 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005351/0.8645, allocations: 7.2 MB / 0.7319 GB, free: 78.49 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005553/0.8701, allocations: 7.539 MB / 0.7393 GB, free: 70.82 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1237/0.9938, allocations: 41.75 MB / 0.7801 GB, free: 29.32 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.681e-05/0.9938, allocations: 13.22 kB / 0.7801 GB, free: 29.32 MB / 0.4949 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.0234/1.017, allocations: 15.9 MB / 0.7956 GB, free: 13.43 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 4.03e-05/1.017, allocations: 11.94 kB / 0.7956 GB, free: 13.42 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.872e-05/1.017, allocations: 8 kB / 0.7956 GB, free: 13.41 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01183/1.029, allocations: 5.514 MB / 0.801 GB, free: 7.926 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007317/1.036, allocations: 1.567 MB / 0.8025 GB, free: 6.375 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1835/1.22, allocations: 15.46 MB / 0.8176 GB, free: 148.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00335/1.223, allocations: 241.9 kB / 0.8179 GB, free: 148.7 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006247/1.224, allocations: 0.5016 MB / 0.8183 GB, free: 148.6 MB / 0.4949 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.001936/1.226, allocations: 0.8491 MB / 0.8192 GB, free: 148.1 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007362/1.227, allocations: 326.2 kB / 0.8195 GB, free: 148.1 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/1.24, allocations: 11.8 MB / 0.831 GB, free: 143.7 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01159/1.252, allocations: 9.335 MB / 0.8401 GB, free: 139.9 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/1.252, allocations: 9.344 kB / 0.8401 GB, free: 139.8 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.509e-05/1.252, allocations: 10.31 kB / 0.8401 GB, free: 139.8 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0202/1.272, allocations: 15.66 MB / 0.8554 GB, free: 133.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/1.272, allocations: 13.08 kB / 0.8554 GB, free: 133.3 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004132/1.276, allocations: 0.7838 MB / 0.8562 GB, free: 133.3 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01244/1.289, allocations: 4.196 MB / 0.8603 GB, free: 132.4 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005382/1.289, allocations: 116.2 kB / 0.8604 GB, free: 132.4 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01134/1.301, allocations: 12.65 MB / 0.8728 GB, free: 121.8 MB / 0.4949 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.001125/1.302, allocations: 0.7626 MB / 0.8735 GB, free: 121.1 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01224/1.314, allocations: 10.98 MB / 0.8842 GB, free: 110.5 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/1.315, allocations: 453.8 kB / 0.8847 GB, free: 110.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000446/1.316, allocations: 58.17 kB / 0.8847 GB, free: 110 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009528/1.317, allocations: 106.5 kB / 0.8848 GB, free: 109.9 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004957/1.317, allocations: 269.4 kB / 0.8851 GB, free: 109.6 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000195/1.317, allocations: 231.9 kB / 0.8853 GB, free: 109.4 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.002708/1.32, allocations: 3.22 MB / 0.8885 GB, free: 106.2 MB / 0.4949 GB Notification: Performance of sort global known variables: time 4e-08/1.32, allocations: 4 kB / 0.8885 GB, free: 106.2 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.003091/1.323, allocations: 1.182 MB / 0.8896 GB, free: 105 MB / 0.4949 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.01062/1.334, allocations: 10.61 MB / 0.9 GB, free: 94.43 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01039/1.344, allocations: 9.625 MB / 0.9094 GB, free: 84.8 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/1.344, allocations: 0 / 0.9094 GB, free: 84.8 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.004435/1.349, allocations: 3.225 MB / 0.9125 GB, free: 81.57 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/1.351, allocations: 0.6933 MB / 0.9132 GB, free: 80.99 MB / 0.4949 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4683:9-4683:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:843:5-843: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: 3.2028492242097855]