Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001607/0.001607, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001979/0.001979, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.541/1.541, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1466/0.1466, allocations: 23.89 MB / 333.4 MB, free: 1.266 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical_Examples_GasSolubility_NIST_",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_,fileNamePrefix="Chemical_master_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.002005/0.002005, allocations: 64.38 kB / 466.7 MB, free: 30.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09814/0.1001, allocations: 59.84 MB / 0.5142 GB, free: 12.83 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1562:5-1562: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 master/Interfaces.mo:1562:5-1562: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 master/Interfaces.mo:1817:5-1817: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 master/Interfaces.mo:1817:5-1817: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.05122/0.1514, allocations: 33.09 MB / 0.5465 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4237/0.575, allocations: 151.2 MB / 0.6942 GB, free: 7.227 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00278/0.5778, allocations: 35.81 kB / 0.6943 GB, free: 7.191 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005911/0.5837, allocations: 1.249 MB / 0.6955 GB, free: 5.969 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006147/0.5899, allocations: 1.233 MB / 0.6967 GB, free: 4.727 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005866/0.5958, allocations: 1.615 MB / 0.6983 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.008633/0.6044, allocations: 3.321 MB / 0.7015 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001817/0.6062, allocations: 0.6602 MB / 0.7021 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002553/0.6088, allocations: 1.16 MB / 0.7033 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003224/0.612, allocations: 1.377 MB / 0.7046 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009399/0.6129, allocations: 308 kB / 0.7049 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006981/0.6199, allocations: 1.841 MB / 0.7067 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001692/0.6216, allocations: 0.9187 MB / 0.7076 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.003502/0.6251, allocations: 1.756 MB / 0.7093 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01228/0.6374, allocations: 5.425 MB / 0.7146 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.6374, allocations: 0 / 0.7146 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6374, allocations: 0 / 0.7146 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.000117/0.6375, allocations: 4 kB / 0.7146 GB, free: 2.242 MB / 0.4981 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.0101/0.6476, allocations: 3.807 MB / 0.7183 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.6477, allocations: 12.03 kB / 0.7184 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001503/0.6478, allocations: 82 kB / 0.7184 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009609/0.6488, allocations: 462.4 kB / 0.7189 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003033/0.6518, allocations: 0.6675 MB / 0.7195 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004453/0.6563, allocations: 1.601 MB / 0.7211 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008004/0.6571, allocations: 451.5 kB / 0.7215 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007923/0.6578, allocations: 296.3 kB / 0.7218 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02208/0.6799, allocations: 11.41 MB / 0.7329 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.426e-05/0.68, allocations: 0 / 0.7329 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004142/0.6804, allocations: 124 kB / 0.7331 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008777/0.6813, allocations: 494.8 kB / 0.7335 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03707/0.7184, allocations: 19.86 MB / 0.7529 GB, free: 10.82 MB / 0.545 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.07014/0.7885, allocations: 29.4 MB / 0.7816 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01241/0.8009, allocations: 5.286 MB / 0.7868 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009453/0.8104, allocations: 4.104 MB / 0.7908 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004701/0.8151, allocations: 1.83 MB / 0.7926 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.967e-05/0.8151, allocations: 47.86 kB / 0.7926 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=134): time 5.59e-06/0.8151, allocations: 0 / 0.7926 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of matching and sorting (n=201): time 0.4455/1.261, allocations: 40.86 MB / 0.8325 GB, free: 231.1 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02375/1.284, allocations: 12.75 MB / 0.845 GB, free: 224.1 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00495/1.289, allocations: 3.603 MB / 0.8485 GB, free: 222.8 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0008359/1.29, allocations: 53.61 kB / 0.8486 GB, free: 222.7 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008878/1.291, allocations: 1.531 MB / 0.8501 GB, free: 221.9 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001067/1.292, allocations: 0.7034 MB / 0.8507 GB, free: 221.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001984/1.294, allocations: 0.7224 MB / 0.8515 GB, free: 221.3 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 3.759e-05/1.294, allocations: 306.3 kB / 0.8517 GB, free: 221 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007932/1.302, allocations: 7.046 MB / 0.8586 GB, free: 217.9 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007976/1.31, allocations: 7.395 MB / 0.8658 GB, free: 213.4 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01214/1.322, allocations: 9.945 MB / 0.8756 GB, free: 203.4 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-05/1.322, allocations: 4 kB / 0.8756 GB, free: 203.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.02328/1.345, allocations: 15.62 MB / 0.8908 GB, free: 187.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.05e-05/1.345, allocations: 8 kB / 0.8908 GB, free: 187.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.217e-05/1.346, allocations: 10.91 kB / 0.8908 GB, free: 187.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02314/1.369, allocations: 5.401 MB / 0.8961 GB, free: 182.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01435/1.383, allocations: 1.547 MB / 0.8976 GB, free: 180.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0157/1.399, allocations: 15.55 MB / 0.9128 GB, free: 165 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005279/1.404, allocations: 229 kB / 0.913 GB, free: 164.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009327/1.405, allocations: 0.4958 MB / 0.9135 GB, free: 164.3 MB / 0.6075 GB 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 (209): * Single equations (assignments): 202 * 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.002126/1.407, allocations: 0.8492 MB / 0.9143 GB, free: 163.4 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001104/1.408, allocations: 329.8 kB / 0.9147 GB, free: 163.1 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02388/1.432, allocations: 11.7 MB / 0.9261 GB, free: 151.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01904/1.451, allocations: 9.257 MB / 0.9351 GB, free: 142.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/1.451, allocations: 5.016 kB / 0.9351 GB, free: 142.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-05/1.451, allocations: 7.969 kB / 0.9351 GB, free: 142.2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02856/1.48, allocations: 17.3 MB / 0.952 GB, free: 124.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.312e-05/1.48, allocations: 8 kB / 0.952 GB, free: 124.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007975/1.488, allocations: 0.7738 MB / 0.9528 GB, free: 124.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02453/1.512, allocations: 4.145 MB / 0.9568 GB, free: 120 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006893/1.513, allocations: 122.6 kB / 0.9569 GB, free: 119.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01828/1.531, allocations: 13.36 MB / 0.97 GB, free: 105.9 MB / 0.6075 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.002121/1.533, allocations: 0.7636 MB / 0.9707 GB, free: 105.2 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02013/1.553, allocations: 10.88 MB / 0.9814 GB, free: 94.18 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/1.554, allocations: 0.5205 MB / 0.9819 GB, free: 93.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001003/1.555, allocations: 58.33 kB / 0.9819 GB, free: 93.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002219/1.558, allocations: 83.92 kB / 0.982 GB, free: 93.51 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008732/1.559, allocations: 274.8 kB / 0.9823 GB, free: 93.24 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004587/1.559, allocations: 223.9 kB / 0.9825 GB, free: 93.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004403/1.563, allocations: 3.214 MB / 0.9856 GB, free: 89.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/1.563, allocations: 0 / 0.9856 GB, free: 89.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00425/1.568, allocations: 1.195 MB / 0.9868 GB, free: 88.65 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * 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 (148): * Single equations (assignments): 143 * 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.01853/1.586, allocations: 10.49 MB / 0.997 GB, free: 78.15 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01537/1.602, allocations: 9.449 MB / 1.006 GB, free: 68.7 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/1.602, allocations: 4 kB / 1.006 GB, free: 68.7 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.007915/1.609, allocations: 3.177 MB / 1.009 GB, free: 65.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005365/1.615, allocations: 0.6947 MB / 1.01 GB, free: 64.87 MB / 0.6075 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4705:9-4705:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:818:5-818: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.2431679390138015] Failed to read output from testmodel.py, exit status != 0: 1.6233077110373415 1.634213191 0.994267459 Calling exit ...