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.001432/0.001432, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001755/0.001755, allocations: 219.1 kB / 22.26 MB, free: 5.125 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.581/1.581, allocations: 230.6 MB / 256 MB, free: 7.996 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.1683/0.1683, allocations: 23.85 MB / 336.3 MB, free: 11.22 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.002291/0.002291, allocations: 67.89 kB / 471.2 MB, free: 7.73 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3604, allocations: 59.86 MB / 0.5186 GB, free: 9.633 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.04778/0.4082, allocations: 33.29 MB / 0.5511 GB, free: 6.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1928/0.6009, allocations: 151.3 MB / 0.6988 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002845/0.6038, allocations: 39.81 kB / 0.6988 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004231/0.608, allocations: 1.223 MB / 0.7 GB, free: 15.85 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004381/0.6124, allocations: 1.214 MB / 0.7012 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004539/0.6169, allocations: 1.603 MB / 0.7028 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006197/0.6231, allocations: 3.319 MB / 0.706 GB, free: 9.688 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.6244, allocations: 0.6122 MB / 0.7066 GB, free: 9.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001855/0.6262, allocations: 1.16 MB / 0.7077 GB, free: 7.855 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002203/0.6284, allocations: 1.373 MB / 0.7091 GB, free: 6.477 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0007113/0.6291, allocations: 304 kB / 0.7094 GB, free: 6.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00474/0.6339, allocations: 1.849 MB / 0.7112 GB, free: 4.328 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001205/0.6351, allocations: 0.9265 MB / 0.7121 GB, free: 3.398 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00263/0.6377, allocations: 1.744 MB / 0.7138 GB, free: 1.645 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008913/0.6466, allocations: 5.429 MB / 0.7191 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.6466, allocations: 0 / 0.7191 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6466, allocations: 0 / 0.7191 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001245/0.6468, allocations: 0 / 0.7191 GB, free: 12.2 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.00707/0.6538, allocations: 3.735 MB / 0.7227 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.6539, allocations: 8.031 kB / 0.7227 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005387/0.6544, allocations: 473.5 kB / 0.7232 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/0.656, allocations: 0.6581 MB / 0.7238 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002547/0.6586, allocations: 1.543 MB / 0.7253 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005088/0.6591, allocations: 0.5318 MB / 0.7259 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003974/0.6595, allocations: 296.2 kB / 0.7261 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2835/0.943, allocations: 11.94 MB / 0.7378 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.378e-05/0.943, allocations: 0.5312 kB / 0.7378 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002517/0.9433, allocations: 123.5 kB / 0.7379 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009062/0.9442, allocations: 489.5 kB / 0.7384 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02598/0.9702, allocations: 20.73 MB / 0.7586 GB, free: 178 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.03564/1.006, allocations: 29.93 MB / 0.7879 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005452/1.011, allocations: 5.341 MB / 0.7931 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003907/1.015, allocations: 4.158 MB / 0.7971 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002286/1.017, allocations: 0.7936 MB / 0.7979 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/1.017, allocations: 46.53 kB / 0.798 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=133): time 3.216e-06/1.017, allocations: 0 / 0.798 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=200): time 0.1202/1.138, allocations: 40.46 MB / 0.8375 GB, free: 99.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02199/1.16, allocations: 12.74 MB / 0.8499 GB, free: 86.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005457/1.165, allocations: 3.609 MB / 0.8534 GB, free: 83 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001251/1.166, allocations: 57.7 kB / 0.8535 GB, free: 82.94 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001118/1.168, allocations: 1.533 MB / 0.855 GB, free: 81.47 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001106/1.169, allocations: 0.701 MB / 0.8557 GB, free: 80.76 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001678/1.17, allocations: 0.7179 MB / 0.8564 GB, free: 80.04 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.637e-05/1.17, allocations: 305.1 kB / 0.8567 GB, free: 79.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007676/1.178, allocations: 7.159 MB / 0.8637 GB, free: 72.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008185/1.186, allocations: 7.509 MB / 0.871 GB, free: 64.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2179/1.404, allocations: 42.91 MB / 0.9129 GB, free: 22.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.775e-05/1.404, allocations: 0 / 0.9129 GB, free: 22.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.02781/1.432, allocations: 15.83 MB / 0.9284 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.469e-05/1.432, allocations: 8 kB / 0.9284 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-05/1.432, allocations: 12 kB / 0.9284 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02233/1.454, allocations: 5.473 MB / 0.9337 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01429/1.469, allocations: 1.545 MB / 0.9352 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3163/1.785, allocations: 15.61 MB / 0.9505 GB, free: 192.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00535/1.79, allocations: 217.9 kB / 0.9507 GB, free: 192.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001461/1.792, allocations: 0.498 MB / 0.9512 GB, free: 192.3 MB / 0.5762 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.002956/1.795, allocations: 0.8493 MB / 0.952 GB, free: 192.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001297/1.796, allocations: 325.5 kB / 0.9523 GB, free: 192.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02879/1.825, allocations: 11.73 MB / 0.9638 GB, free: 189 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02375/1.849, allocations: 9.278 MB / 0.9728 GB, free: 185.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.959e-05/1.849, allocations: 3.844 kB / 0.9728 GB, free: 185.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.303e-05/1.849, allocations: 13.19 kB / 0.9728 GB, free: 185.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03221/1.881, allocations: 17.35 MB / 0.9898 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.965e-05/1.881, allocations: 12.22 kB / 0.9898 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00791/1.889, allocations: 0.7689 MB / 0.9906 GB, free: 176.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02303/1.912, allocations: 4.153 MB / 0.9946 GB, free: 174.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006769/1.912, allocations: 118.9 kB / 0.9947 GB, free: 174.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01874/1.931, allocations: 12.96 MB / 1.007 GB, free: 161.5 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.002017/1.933, allocations: 0.7562 MB / 1.008 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01868/1.952, allocations: 10.91 MB / 1.019 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/1.953, allocations: 449.8 kB / 1.019 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006099/1.954, allocations: 59.88 kB / 1.019 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/1.955, allocations: 90.58 kB / 1.019 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007096/1.956, allocations: 276 kB / 1.02 GB, free: 148.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002955/1.956, allocations: 219.9 kB / 1.02 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003775/1.96, allocations: 3.222 MB / 1.023 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/1.96, allocations: 2.656 kB / 1.023 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004266/1.964, allocations: 1.192 MB / 1.024 GB, free: 144.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.0178/1.982, allocations: 10.53 MB / 1.034 GB, free: 133.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01572/1.998, allocations: 9.573 MB / 1.044 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/1.998, allocations: 4 kB / 1.044 GB, free: 124.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007742/2.006, allocations: 3.193 MB / 1.047 GB, free: 121 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003483/2.009, allocations: 0.6885 MB / 1.048 GB, free: 120.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.789221877930686] Failed to read output from testmodel.py, exit status != 0: 2.018578697927296 2.028497066 1.379378802 Calling exit ...