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.001366/0.001366, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001883/0.001883, allocations: 212.2 kB / 22.24 MB, free: 5.242 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.565/1.565, allocations: 230.6 MB / 256 MB, free: 7.801 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.1496/0.1496, allocations: 23.89 MB / 336.3 MB, free: 10.96 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST_",fmuType="me",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.00263/0.00263, allocations: 67.89 kB / 471.1 MB, free: 7.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5102/0.5128, allocations: 59.86 MB / 0.5185 GB, free: 9.586 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.09553/0.6083, allocations: 31.58 MB / 0.5494 GB, free: 8.398 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1982/0.8065, allocations: 129.5 MB / 0.6759 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003685/0.8102, allocations: 39.81 kB / 0.6759 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.005864/0.816, allocations: 1.141 MB / 0.677 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008485/0.8245, allocations: 1.214 MB / 0.6782 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005796/0.8303, allocations: 1.54 MB / 0.6797 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007272/0.8376, allocations: 3.304 MB / 0.6829 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001656/0.8393, allocations: 0.6004 MB / 0.6835 GB, free: 440 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002345/0.8416, allocations: 1.16 MB / 0.6847 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002459/0.8441, allocations: 1.185 MB / 0.6858 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0009231/0.845, allocations: 307.9 kB / 0.6861 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004581/0.8496, allocations: 1.237 MB / 0.6873 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00143/0.851, allocations: 0.9304 MB / 0.6882 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002959/0.854, allocations: 1.321 MB / 0.6895 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01078/0.8647, allocations: 5.266 MB / 0.6947 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.8647, allocations: 4 kB / 0.6947 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8647, allocations: 0 / 0.6947 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002185/0.865, allocations: 3.984 kB / 0.6947 GB, free: 4.98 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.01078/0.8757, allocations: 3.728 MB / 0.6983 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/0.8758, allocations: 12.03 kB / 0.6983 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001329/0.8771, allocations: 461.6 kB / 0.6988 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003274/0.8804, allocations: 0.7635 MB / 0.6995 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004213/0.8846, allocations: 1.547 MB / 0.701 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008588/0.8855, allocations: 0.5279 MB / 0.7015 GB, free: 13.81 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008048/0.8863, allocations: 304.3 kB / 0.7018 GB, free: 13.51 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0178/0.9041, allocations: 11.97 MB / 0.7135 GB, free: 1.512 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001001/0.9042, allocations: 0 / 0.7135 GB, free: 1.512 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005857/0.9048, allocations: 120 kB / 0.7136 GB, free: 1.395 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000615/0.9054, allocations: 490.9 kB / 0.7141 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3321/1.237, allocations: 20.74 MB / 0.7343 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.05295/1.29, allocations: 28.31 MB / 0.762 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006313/1.297, allocations: 5.368 MB / 0.7672 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00432/1.301, allocations: 4.195 MB / 0.7713 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00186/1.303, allocations: 0.6965 MB / 0.772 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/1.303, allocations: 43.88 kB / 0.7721 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=133): time 3.887e-06/1.303, allocations: 0 / 0.7721 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=200): time 0.1303/1.433, allocations: 40.6 MB / 0.8117 GB, free: 125.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02568/1.459, allocations: 12.54 MB / 0.8239 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008416/1.467, allocations: 3.624 MB / 0.8275 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.00161/1.469, allocations: 60.8 kB / 0.8275 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001674/1.471, allocations: 1.535 MB / 0.829 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001908/1.473, allocations: 0.701 MB / 0.8297 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004104/1.477, allocations: 0.7244 MB / 0.8304 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.57e-05/1.477, allocations: 305.1 kB / 0.8307 GB, free: 105.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01316/1.49, allocations: 7.198 MB / 0.8378 GB, free: 98.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01334/1.503, allocations: 7.544 MB / 0.8451 GB, free: 90.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2291/1.732, allocations: 41.45 MB / 0.8856 GB, free: 49.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.169e-05/1.732, allocations: 4 kB / 0.8856 GB, free: 49.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.02497/1.757, allocations: 15.9 MB / 0.9011 GB, free: 33.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/1.757, allocations: 11.94 kB / 0.9011 GB, free: 33.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/1.757, allocations: 12 kB / 0.9012 GB, free: 33.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02123/1.779, allocations: 5.464 MB / 0.9065 GB, free: 28.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0141/1.793, allocations: 1.57 MB / 0.908 GB, free: 26.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0163/1.809, allocations: 15.48 MB / 0.9231 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005608/1.815, allocations: 238.3 kB / 0.9234 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001255/1.816, allocations: 0.4987 MB / 0.9239 GB, free: 10.05 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.003046/1.819, allocations: 0.8513 MB / 0.9247 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001581/1.82, allocations: 325.8 kB / 0.925 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02828/1.849, allocations: 11.8 MB / 0.9365 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02381/1.873, allocations: 9.337 MB / 0.9456 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.862e-05/1.873, allocations: 4 kB / 0.9456 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.804e-05/1.873, allocations: 11.95 kB / 0.9457 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.291/2.164, allocations: 15.66 MB / 0.9609 GB, free: 192.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.722e-05/2.164, allocations: 8.656 kB / 0.961 GB, free: 192.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008195/2.172, allocations: 0.7851 MB / 0.9617 GB, free: 192.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02414/2.196, allocations: 4.15 MB / 0.9658 GB, free: 191.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005844/2.197, allocations: 124.6 kB / 0.9659 GB, free: 191.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01794/2.215, allocations: 12.66 MB / 0.9783 GB, free: 182.9 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.001912/2.216, allocations: 0.7605 MB / 0.979 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01957/2.236, allocations: 11 MB / 0.9897 GB, free: 177.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001464/2.238, allocations: 449.2 kB / 0.9902 GB, free: 177 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007798/2.238, allocations: 60.48 kB / 0.9902 GB, free: 177 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001806/2.24, allocations: 105.7 kB / 0.9903 GB, free: 176.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006209/2.241, allocations: 274.2 kB / 0.9906 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002909/2.241, allocations: 226.7 kB / 0.9908 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003465/2.244, allocations: 3.213 MB / 0.9939 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/2.244, allocations: 6.656 kB / 0.9939 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003255/2.248, allocations: 1.179 MB / 0.9951 GB, free: 173.3 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.01786/2.266, allocations: 10.61 MB / 1.005 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01535/2.281, allocations: 9.636 MB / 1.015 GB, free: 153 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/2.281, allocations: 4 kB / 1.015 GB, free: 153 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00767/2.289, allocations: 3.227 MB / 1.018 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003474/2.292, allocations: 0.6856 MB / 1.019 GB, free: 149.2 MB / 0.5762 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:823:5-823: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.970681210048497] Failed to read output from testmodel.py, exit status != 0: 2.301256363745779 2.310181162 1.442958442 Calling exit ...