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.001543/0.001543, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002076/0.002076, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.1433/0.1433, allocations: 23.88 MB / 337.1 MB, free: 11.26 MB / 270.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.002008/0.002008, allocations: 59.89 kB / 472 MB, free: 7.688 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3416, allocations: 59.87 MB / 0.5194 GB, free: 9.543 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.05849/0.4001, allocations: 33.12 MB / 0.5517 GB, free: 7.066 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2157/0.6158, allocations: 151.3 MB / 0.6994 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003362/0.6191, allocations: 39.81 kB / 0.6995 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004713/0.6238, allocations: 1.235 MB / 0.7007 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005048/0.6289, allocations: 1.233 MB / 0.7019 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004817/0.6337, allocations: 1.63 MB / 0.7035 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006341/0.64, allocations: 3.32 MB / 0.7067 GB, free: 9.762 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.6414, allocations: 0.6083 MB / 0.7073 GB, free: 9.098 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001812/0.6432, allocations: 1.16 MB / 0.7084 GB, free: 7.934 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001842/0.6451, allocations: 1.373 MB / 0.7098 GB, free: 6.555 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004226/0.6455, allocations: 304 kB / 0.7101 GB, free: 6.258 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004604/0.6501, allocations: 1.853 MB / 0.7119 GB, free: 4.402 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008592/0.651, allocations: 0.9148 MB / 0.7128 GB, free: 3.484 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001891/0.6528, allocations: 1.756 MB / 0.7145 GB, free: 1.719 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.009124/0.662, allocations: 5.429 MB / 0.7198 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.662, allocations: 3.938 kB / 0.7198 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.662, allocations: 0 / 0.7198 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.54e-05/0.6621, allocations: 0 / 0.7198 GB, free: 12.27 MB / 0.5606 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.007098/0.6692, allocations: 3.728 MB / 0.7234 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.6692, allocations: 12.02 kB / 0.7235 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.638e-05/0.6693, allocations: 86 kB / 0.7235 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005579/0.6699, allocations: 465.6 kB / 0.724 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/0.6716, allocations: 0.6581 MB / 0.7246 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002686/0.6743, allocations: 1.547 MB / 0.7261 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005551/0.6749, allocations: 0.5356 MB / 0.7267 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004234/0.6753, allocations: 300 kB / 0.7269 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2363/0.9116, allocations: 11.93 MB / 0.7386 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.434e-05/0.9116, allocations: 0.5 kB / 0.7386 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002361/0.9119, allocations: 122.9 kB / 0.7387 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007263/0.9126, allocations: 492.9 kB / 0.7392 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02222/0.9348, allocations: 20.73 MB / 0.7594 GB, free: 177.9 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.03578/0.9706, allocations: 29.93 MB / 0.7886 GB, free: 150 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005641/0.9762, allocations: 5.362 MB / 0.7939 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004023/0.9802, allocations: 4.163 MB / 0.7979 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002314/0.9825, allocations: 0.7997 MB / 0.7987 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.9826, allocations: 43.88 kB / 0.7988 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=134): time 3.788e-06/0.9826, allocations: 0 / 0.7988 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=201): time 0.1256/1.108, allocations: 40.78 MB / 0.8386 GB, free: 99.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02071/1.129, allocations: 12.75 MB / 0.851 GB, free: 86.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00468/1.134, allocations: 3.606 MB / 0.8546 GB, free: 82.62 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008909/1.134, allocations: 61.7 kB / 0.8546 GB, free: 82.56 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001021/1.135, allocations: 1.529 MB / 0.8561 GB, free: 81.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001286/1.137, allocations: 0.7074 MB / 0.8568 GB, free: 80.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00266/1.139, allocations: 0.7218 MB / 0.8575 GB, free: 79.65 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.188e-05/1.139, allocations: 301.1 kB / 0.8578 GB, free: 79.36 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007761/1.147, allocations: 7.163 MB / 0.8648 GB, free: 72.19 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00815/1.155, allocations: 7.513 MB / 0.8721 GB, free: 64.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01273/1.168, allocations: 9.968 MB / 0.8819 GB, free: 54.47 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-05/1.168, allocations: 4 kB / 0.8819 GB, free: 54.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.02455/1.193, allocations: 15.82 MB / 0.8973 GB, free: 38.63 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/1.193, allocations: 12 kB / 0.8973 GB, free: 38.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/1.193, allocations: 8 kB / 0.8973 GB, free: 38.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02236/1.215, allocations: 5.476 MB / 0.9027 GB, free: 33.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01448/1.23, allocations: 1.546 MB / 0.9042 GB, free: 31.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01675/1.246, allocations: 15.61 MB / 0.9194 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005399/1.252, allocations: 226.3 kB / 0.9197 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001292/1.253, allocations: 0.4919 MB / 0.9201 GB, free: 15.01 MB / 0.5606 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.003603/1.257, allocations: 0.8513 MB / 0.921 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001639/1.258, allocations: 329.8 kB / 0.9213 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02489/1.283, allocations: 11.73 MB / 0.9327 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02213/1.305, allocations: 9.269 MB / 0.9418 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.492e-05/1.305, allocations: 7 kB / 0.9418 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.997e-05/1.305, allocations: 10.92 kB / 0.9418 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3133/1.619, allocations: 17.44 MB / 0.9588 GB, free: 190.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.411e-05/1.619, allocations: 9.25 kB / 0.9588 GB, free: 190.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007975/1.627, allocations: 0.7722 MB / 0.9596 GB, free: 190.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02395/1.651, allocations: 4.144 MB / 0.9636 GB, free: 189.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006802/1.651, allocations: 124.4 kB / 0.9638 GB, free: 189.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01879/1.67, allocations: 12.95 MB / 0.9764 GB, free: 180.8 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.001959/1.672, allocations: 0.7491 MB / 0.9771 GB, free: 180.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02187/1.694, allocations: 10.93 MB / 0.9878 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/1.695, allocations: 454.8 kB / 0.9882 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001129/1.696, allocations: 52.38 kB / 0.9883 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002442/1.699, allocations: 94.91 kB / 0.9884 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009569/1.7, allocations: 277 kB / 0.9887 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005146/1.7, allocations: 226.8 kB / 0.9889 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004871/1.705, allocations: 3.222 MB / 0.992 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/1.705, allocations: 0 / 0.992 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004371/1.709, allocations: 1.192 MB / 0.9932 GB, free: 173.7 MB / 0.5762 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.01865/1.728, allocations: 10.54 MB / 1.003 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01495/1.743, allocations: 9.585 MB / 1.013 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/1.743, allocations: 0 / 1.013 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007795/1.751, allocations: 3.201 MB / 1.016 GB, free: 153 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004964/1.756, allocations: 0.6991 MB / 1.017 GB, free: 152.4 MB / 0.5762 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822: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.207309884019196] Failed to read output from testmodel.py, exit status != 0: 1.7645245490130037 1.774952452 1.110622408 Calling exit ...