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.001397/0.001397, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001957/0.001957, allocations: 213.3 kB / 22.25 MB, free: 4.855 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.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.793 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.1468/0.1468, allocations: 23.99 MB / 336.4 MB, free: 10.85 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_,fileNamePrefix="Chemical_master_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.002151/0.002151, allocations: 71.89 kB / 471.3 MB, free: 7.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4043, allocations: 59.89 MB / 0.5187 GB, free: 9.508 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1585:5-1585: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:1585:5-1585: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:1841:5-1841: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:1841:5-1841: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.08308/0.4874, allocations: 31.78 MB / 0.5498 GB, free: 8.031 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1987/0.6861, allocations: 129.8 MB / 0.6766 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00436/0.6905, allocations: 55.69 kB / 0.6766 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004101/0.6946, allocations: 1.083 MB / 0.6777 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005053/0.6996, allocations: 1.284 MB / 0.6789 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004771/0.7044, allocations: 1.599 MB / 0.6805 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006157/0.7106, allocations: 3.363 MB / 0.6838 GB, free: 240 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001238/0.7118, allocations: 0.6012 MB / 0.6844 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001974/0.7138, allocations: 1.206 MB / 0.6855 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00244/0.7162, allocations: 1.466 MB / 0.687 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004442/0.7166, allocations: 292 kB / 0.6872 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003425/0.7201, allocations: 1.213 MB / 0.6884 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008609/0.7209, allocations: 0.8679 MB / 0.6893 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001649/0.7226, allocations: 1.294 MB / 0.6905 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00809/0.7307, allocations: 5.195 MB / 0.6956 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.7307, allocations: 0 / 0.6956 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.043e-06/0.7307, allocations: 0 / 0.6956 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001184/0.7308, allocations: 0 / 0.6956 GB, free: 4.012 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: 932 * Number of variables: 932 Notification: Performance of Generate backend data structure: time 0.007262/0.7381, allocations: 3.73 MB / 0.6993 GB, free: 236 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.7381, allocations: 12.03 kB / 0.6993 GB, free: 224 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005825/0.7387, allocations: 474 kB / 0.6997 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/0.7408, allocations: 0.7049 MB / 0.7004 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002508/0.7433, allocations: 1.305 MB / 0.7017 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004169/0.7438, allocations: 412.7 kB / 0.7021 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004557/0.7442, allocations: 304.3 kB / 0.7024 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01384/0.758, allocations: 10.24 MB / 0.7124 GB, free: 2.691 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-05/0.7581, allocations: 0 / 0.7124 GB, free: 2.691 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002335/0.7583, allocations: 124 kB / 0.7125 GB, free: 2.57 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005329/0.7589, allocations: 471 kB / 0.7129 GB, free: 2.109 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2785/1.037, allocations: 19.2 MB / 0.7317 GB, free: 187.3 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.03121/1.069, allocations: 17.09 MB / 0.7484 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003781/1.072, allocations: 2.228 MB / 0.7505 GB, free: 178.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002718/1.075, allocations: 1.648 MB / 0.7522 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01714/1.092, allocations: 7.993 MB / 0.76 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/1.092, allocations: 48.72 kB / 0.76 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=122): time 4.117e-06/1.092, allocations: 0 / 0.76 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=171): time 0.08011/1.172, allocations: 20.67 MB / 0.7802 GB, free: 157.3 MB / 0.5606 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 inlineWhenForInitialization (initialization): time 0.00208/1.174, allocations: 0.9602 MB / 0.7811 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00267/1.177, allocations: 2.374 MB / 0.7835 GB, free: 154 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006487/1.178, allocations: 57.7 kB / 0.7835 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008983/1.179, allocations: 1.728 MB / 0.7852 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006832/1.179, allocations: 0.6152 MB / 0.7858 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/1.18, allocations: 0.6446 MB / 0.7864 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.791e-05/1.181, allocations: 305.1 kB / 0.7867 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003273/1.184, allocations: 2.451 MB / 0.7891 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003613/1.187, allocations: 3.223 MB / 0.7923 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007475/1.195, allocations: 5.901 MB / 0.798 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.213e-05/1.195, allocations: 11.94 kB / 0.798 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01369/1.209, allocations: 7.016 MB / 0.8049 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/1.209, allocations: 16 kB / 0.8049 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.681e-05/1.209, allocations: 26.72 kB / 0.8049 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01448/1.223, allocations: 2.779 MB / 0.8076 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01132/1.235, allocations: 1.341 MB / 0.8089 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01104/1.246, allocations: 8.757 MB / 0.8175 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003958/1.25, allocations: 146.5 kB / 0.8176 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008072/1.25, allocations: 407.8 kB / 0.818 GB, free: 117.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 4 (water_25.substanceDefinitionVar.SelfClustering,water_25.substanceDefinitionVar.data.phase,CO2_g_25.substanceDefinitionVar.SelfClustering,CO2_g_25.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 250 * 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%), (2,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,16), (3,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001858/1.252, allocations: 0.8823 MB / 0.8189 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006741/1.253, allocations: 258.2 kB / 0.8191 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01505/1.268, allocations: 7.011 MB / 0.826 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/1.268, allocations: 16 kB / 0.826 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/1.268, allocations: 4 kB / 0.826 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-05/1.268, allocations: 7.969 kB / 0.826 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01957/1.288, allocations: 9.251 MB / 0.835 GB, free: 100.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/1.288, allocations: 6.656 kB / 0.835 GB, free: 100.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008809/1.296, allocations: 0.9442 MB / 0.836 GB, free: 99.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01541/1.312, allocations: 2.901 MB / 0.8388 GB, free: 96.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005093/1.312, allocations: 105.3 kB / 0.8389 GB, free: 96.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0126/1.325, allocations: 9.675 MB / 0.8483 GB, free: 86.08 MB / 0.5606 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.001788/1.327, allocations: 0.7353 MB / 0.8491 GB, free: 85.33 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01316/1.34, allocations: 6.553 MB / 0.8555 GB, free: 78.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007904/1.341, allocations: 266.2 kB / 0.8557 GB, free: 78.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006213/1.341, allocations: 43.89 kB / 0.8558 GB, free: 78.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/1.343, allocations: 82.55 kB / 0.8558 GB, free: 78.33 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004569/1.343, allocations: 196.8 kB / 0.856 GB, free: 78.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000242/1.343, allocations: 195.9 kB / 0.8562 GB, free: 77.95 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002011/1.345, allocations: 1.822 MB / 0.858 GB, free: 76.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.345, allocations: 0 / 0.858 GB, free: 76.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002926/1.348, allocations: 0.8264 MB / 0.8588 GB, free: 75.29 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 4 ($STATESET1.x,CO2_dissolutionP.rear.n_flow,CO2_25.logn,water_25.logm) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 130 * 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%), (2,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,18), (4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01298/1.361, allocations: 6.941 MB / 0.8656 GB, free: 68.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01075/1.372, allocations: 4.825 MB / 0.8703 GB, free: 63.46 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/1.372, allocations: 0 / 0.8703 GB, free: 63.46 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006573/1.379, allocations: 2.193 MB / 0.8724 GB, free: 61.24 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003146/1.382, allocations: 0.5348 MB / 0.873 GB, free: 60.75 MB / 0.5606 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 659] [Calling sys.exit(0), Time elapsed: 3.957714534830302] Failed to read output from testmodel.py, exit status != 0: 1.390573204960674 1.400842415 0.667550958 Calling exit ...