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.001054/0.001054, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001399/0.001399, allocations: 215.5 kB / 22.25 MB, free: 3.578 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.057/1.057, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.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.1125/0.1125, allocations: 23.89 MB / 336.3 MB, free: 9.984 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: 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.001455/0.001455, allocations: 71.89 kB / 472.7 MB, free: 16.39 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1097, allocations: 59.86 MB / 0.5201 GB, free: 4.406 MB / 378.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.425/0.5347, allocations: 40.78 MB / 0.5599 GB, free: 4.793 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.1267/0.6614, allocations: 129.6 MB / 0.6864 GB, free: 3.148 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001928/0.6633, allocations: 35.81 kB / 0.6864 GB, free: 3.113 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.003246/0.6666, allocations: 1.145 MB / 0.6876 GB, free: 1.961 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.003367/0.6699, allocations: 1.214 MB / 0.6887 GB, free: 0.7383 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.003622/0.6735, allocations: 1.54 MB / 0.6902 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004151/0.6777, allocations: 3.312 MB / 0.6935 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007773/0.6785, allocations: 0.6004 MB / 0.6941 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00161/0.6801, allocations: 1.16 MB / 0.6952 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.6815, allocations: 1.185 MB / 0.6964 GB, free: 8.863 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0005189/0.6821, allocations: 304 kB / 0.6966 GB, free: 8.566 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002946/0.685, allocations: 1.241 MB / 0.6979 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0005157/0.6855, allocations: 0.9226 MB / 0.6988 GB, free: 6.398 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001619/0.6871, allocations: 1.321 MB / 0.7001 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.006609/0.6937, allocations: 5.281 MB / 0.7052 GB, free: 15.77 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.6938, allocations: 0 / 0.7052 GB, free: 15.77 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.575e-06/0.6938, allocations: 0 / 0.7052 GB, free: 15.77 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.000151/0.6939, allocations: 0 / 0.7052 GB, free: 15.77 MB / 0.5262 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.004871/0.6988, allocations: 3.728 MB / 0.7088 GB, free: 11.99 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.6988, allocations: 11.98 kB / 0.7089 GB, free: 11.98 MB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006602/0.6995, allocations: 465.6 kB / 0.7093 GB, free: 11.51 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.7009, allocations: 0.7595 MB / 0.71 GB, free: 10.75 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/0.7028, allocations: 1.551 MB / 0.7116 GB, free: 9.16 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003827/0.7032, allocations: 0.5357 MB / 0.7121 GB, free: 8.586 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002564/0.7035, allocations: 296.3 kB / 0.7124 GB, free: 8.297 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01047/0.714, allocations: 11.97 MB / 0.7241 GB, free: 12.3 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.768e-05/0.714, allocations: 0 / 0.7241 GB, free: 12.3 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/0.7141, allocations: 120 kB / 0.7242 GB, free: 12.18 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003257/0.7145, allocations: 482.9 kB / 0.7246 GB, free: 11.71 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01491/0.7294, allocations: 20.75 MB / 0.7449 GB, free: 6.953 MB / 0.5574 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.0325/0.7619, allocations: 28.32 MB / 0.7725 GB, free: 10.5 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005152/0.767, allocations: 5.363 MB / 0.7778 GB, free: 5.129 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003923/0.7709, allocations: 4.19 MB / 0.7819 GB, free: 0.9375 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001144/0.7721, allocations: 0.6974 MB / 0.7826 GB, free: 244 kB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.7721, allocations: 51.86 kB / 0.7826 GB, free: 184 kB / 0.5887 GB Notification: Performance of pre-optimization done (n=133): time 3.767e-06/0.7721, allocations: 3.938 kB / 0.7826 GB, free: 180 kB / 0.5887 GB Notification: Performance of matching and sorting (n=200): time 0.3438/1.116, allocations: 40.61 MB / 0.8223 GB, free: 194.6 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01142/1.127, allocations: 12.52 MB / 0.8345 GB, free: 181.9 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003137/1.13, allocations: 3.626 MB / 0.838 GB, free: 178.2 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.0006967/1.131, allocations: 61.7 kB / 0.8381 GB, free: 178.2 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006278/1.132, allocations: 1.529 MB / 0.8396 GB, free: 176.7 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000611/1.132, allocations: 0.7006 MB / 0.8403 GB, free: 176.1 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001151/1.134, allocations: 0.7179 MB / 0.841 GB, free: 175.4 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 3.618e-05/1.134, allocations: 309.1 kB / 0.8413 GB, free: 175.1 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005235/1.139, allocations: 7.196 MB / 0.8483 GB, free: 167.9 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005666/1.145, allocations: 7.551 MB / 0.8557 GB, free: 160.2 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1193/1.264, allocations: 41.45 MB / 0.8961 GB, free: 119 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/1.264, allocations: 4 kB / 0.8961 GB, free: 119 MB / 0.5887 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.01483/1.279, allocations: 15.9 MB / 0.9117 GB, free: 103.1 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/1.279, allocations: 8 kB / 0.9117 GB, free: 103.1 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.412e-05/1.279, allocations: 8 kB / 0.9117 GB, free: 103.1 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0107/1.289, allocations: 5.47 MB / 0.917 GB, free: 97.68 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006489/1.296, allocations: 1.564 MB / 0.9186 GB, free: 96.13 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/1.306, allocations: 15.48 MB / 0.9337 GB, free: 80.38 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002763/1.309, allocations: 244.8 kB / 0.9339 GB, free: 80.14 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005028/1.309, allocations: 0.5036 MB / 0.9344 GB, free: 79.64 MB / 0.5887 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.001725/1.311, allocations: 0.8473 MB / 0.9352 GB, free: 78.79 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005942/1.312, allocations: 329.8 kB / 0.9355 GB, free: 78.46 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0134/1.325, allocations: 11.79 MB / 0.947 GB, free: 66.7 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01043/1.335, allocations: 9.342 MB / 0.9562 GB, free: 57.36 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/1.335, allocations: 7 kB / 0.9562 GB, free: 57.35 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/1.335, allocations: 11.95 kB / 0.9562 GB, free: 57.34 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01599/1.351, allocations: 15.65 MB / 0.9715 GB, free: 41.6 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/1.351, allocations: 8 kB / 0.9715 GB, free: 41.59 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003383/1.355, allocations: 0.7887 MB / 0.9723 GB, free: 40.81 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01035/1.365, allocations: 4.155 MB / 0.9763 GB, free: 36.69 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000182/1.365, allocations: 123.9 kB / 0.9764 GB, free: 36.57 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009986/1.375, allocations: 12.66 MB / 0.9888 GB, free: 23.46 MB / 0.5887 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.0008663/1.376, allocations: 0.7636 MB / 0.9895 GB, free: 22.67 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/1.387, allocations: 11 MB / 1 GB, free: 11.55 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008225/1.388, allocations: 453.8 kB / 1.001 GB, free: 11.11 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002592/1.388, allocations: 50.62 kB / 1.001 GB, free: 11.06 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000809/1.389, allocations: 107.9 kB / 1.001 GB, free: 10.95 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004992/1.39, allocations: 277.3 kB / 1.001 GB, free: 10.68 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001939/1.39, allocations: 224.6 kB / 1.001 GB, free: 10.46 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.002469/1.392, allocations: 3.222 MB / 1.004 GB, free: 7.25 MB / 0.5887 GB Notification: Performance of sort global known variables: time 8e-08/1.392, allocations: 2.969 kB / 1.004 GB, free: 7.25 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.002647/1.395, allocations: 1.178 MB / 1.006 GB, free: 6.094 MB / 0.5887 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.2605/1.656, allocations: 10.6 MB / 1.016 GB, free: 205.7 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.01197/1.667, allocations: 9.636 MB / 1.025 GB, free: 202.3 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.667, allocations: 1.406 kB / 1.025 GB, free: 202.3 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 0.004879/1.672, allocations: 3.226 MB / 1.029 GB, free: 201 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/1.675, allocations: 0.6829 MB / 1.029 GB, free: 200.8 MB / 0.5887 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/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: 3.7462660232558846]