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.001546/0.001546, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.00164/0.00164, allocations: 213.7 kB / 23 MB, free: 4.953 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.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.2085/0.2085, allocations: 23.89 MB / 337.1 MB, free: 10.96 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: translateModel(Chemical.Examples.GasSolubility_NIST_,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST_") translateModel(Chemical.Examples.GasSolubility_NIST_,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST_") [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.002022/0.002022, allocations: 63.91 kB / 472.4 MB, free: 7.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3817, allocations: 59.86 MB / 0.5197 GB, free: 9.746 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.08224/0.464, allocations: 31.47 MB / 0.5505 GB, free: 8.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1898/0.6537, allocations: 129.6 MB / 0.677 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004019/0.6578, allocations: 31.88 kB / 0.677 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004779/0.6625, allocations: 1.13 MB / 0.6781 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006121/0.6687, allocations: 1.23 MB / 0.6793 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005135/0.6738, allocations: 1.533 MB / 0.6808 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00685/0.6806, allocations: 3.308 MB / 0.6841 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.682, allocations: 0.6199 MB / 0.6847 GB, free: 480 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002173/0.6842, allocations: 1.156 MB / 0.6858 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002391/0.6866, allocations: 1.373 MB / 0.6871 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005794/0.6871, allocations: 304 kB / 0.6874 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004139/0.6913, allocations: 1.268 MB / 0.6887 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00103/0.6923, allocations: 0.9265 MB / 0.6896 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002006/0.6943, allocations: 1.329 MB / 0.6909 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009966/0.7043, allocations: 5.281 MB / 0.696 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.7043, allocations: 0 / 0.696 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7043, allocations: 0 / 0.696 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001201/0.7044, allocations: 0 / 0.696 GB, free: 4.797 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: 914 * Number of variables: 914 Notification: Performance of Generate backend data structure: time 0.007897/0.7123, allocations: 3.728 MB / 0.6997 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.7124, allocations: 8.031 kB / 0.6997 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002585/0.7149, allocations: 0.7557 MB / 0.7004 GB, free: 256 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003074/0.718, allocations: 1.551 MB / 0.7019 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006462/0.7187, allocations: 0.5318 MB / 0.7024 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004454/0.7191, allocations: 300.3 kB / 0.7027 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01618/0.7353, allocations: 11.96 MB / 0.7144 GB, free: 1.805 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.21e-05/0.7353, allocations: 0 / 0.7144 GB, free: 1.805 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002586/0.7356, allocations: 128 kB / 0.7145 GB, free: 1.68 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005528/0.7362, allocations: 486.9 kB / 0.715 GB, free: 1.203 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3169/1.053, allocations: 20.73 MB / 0.7352 GB, free: 186.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.05151/1.105, allocations: 27.15 MB / 0.7617 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006359/1.111, allocations: 5.367 MB / 0.767 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00438/1.115, allocations: 4.195 MB / 0.7711 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00194/1.117, allocations: 0.6964 MB / 0.7718 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/1.117, allocations: 47.88 kB / 0.7718 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=133): time 4.638e-06/1.117, allocations: 0 / 0.7718 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=200): time 0.1274/1.245, allocations: 40.48 MB / 0.8113 GB, free: 127 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02201/1.267, allocations: 12.5 MB / 0.8235 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/1.269, allocations: 1.678 MB / 0.8252 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001168/1.27, allocations: 60.8 kB / 0.8252 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007317/1.271, allocations: 1.574 MB / 0.8268 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001116/1.272, allocations: 0.7049 MB / 0.8275 GB, free: 110.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001894/1.274, allocations: 0.7257 MB / 0.8282 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.782e-05/1.274, allocations: 311.8 kB / 0.8285 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007744/1.281, allocations: 7.18 MB / 0.8355 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008484/1.29, allocations: 7.558 MB / 0.8429 GB, free: 94.44 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2236/1.513, allocations: 41.45 MB / 0.8833 GB, free: 53.21 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.202e-05/1.514, allocations: 7.938 kB / 0.8834 GB, free: 53.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.02691/1.54, allocations: 15.77 MB / 0.8988 GB, free: 37.42 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.089e-05/1.54, allocations: 8 kB / 0.8988 GB, free: 37.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.824e-05/1.54, allocations: 8 kB / 0.8988 GB, free: 37.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02365/1.564, allocations: 5.48 MB / 0.9041 GB, free: 31.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01575/1.58, allocations: 1.561 MB / 0.9057 GB, free: 30.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01682/1.597, allocations: 15.44 MB / 0.9207 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005432/1.602, allocations: 242.3 kB / 0.921 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001425/1.604, allocations: 0.4997 MB / 0.9214 GB, free: 13.93 MB / 0.5606 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.003263/1.607, allocations: 0.8461 MB / 0.9223 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001138/1.608, allocations: 206.9 kB / 0.9225 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02424/1.632, allocations: 11.66 MB / 0.9339 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02378/1.656, allocations: 9.341 MB / 0.943 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.122e-05/1.656, allocations: 7.938 kB / 0.943 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.858e-05/1.656, allocations: 11.95 kB / 0.943 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3443/2, allocations: 16.12 MB / 0.9588 GB, free: 193 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-05/2, allocations: 8.969 kB / 0.9588 GB, free: 193 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009108/2.009, allocations: 0.7809 MB / 0.9595 GB, free: 193 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02699/2.036, allocations: 4.15 MB / 0.9636 GB, free: 192.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008444/2.037, allocations: 117.1 kB / 0.9637 GB, free: 192.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0211/2.058, allocations: 12.58 MB / 0.976 GB, free: 183.6 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.00249/2.061, allocations: 0.7544 MB / 0.9767 GB, free: 183.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02464/2.086, allocations: 10.87 MB / 0.9873 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008667/2.086, allocations: 233 kB / 0.9875 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007572/2.087, allocations: 53.56 kB / 0.9876 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001844/2.089, allocations: 105.9 kB / 0.9877 GB, free: 178.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007337/2.09, allocations: 284.8 kB / 0.988 GB, free: 178.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003429/2.09, allocations: 225.9 kB / 0.9882 GB, free: 178 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002068/2.092, allocations: 1.831 MB / 0.99 GB, free: 177.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/2.092, allocations: 0 / 0.99 GB, free: 177.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00425/2.096, allocations: 1.153 MB / 0.9911 GB, free: 177.1 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.0009737/2.097, allocations: 422.8 kB / 0.9915 GB, free: 177 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01569/2.113, allocations: 9.629 MB / 1.001 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.671e-05/2.113, allocations: 0 / 1.001 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.008482/2.122, allocations: 3.211 MB / 1.004 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002852/2.124, allocations: 475.3 kB / 1.004 GB, free: 164.5 MB / 0.5762 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 658] [Calling sys.exit(0), Time elapsed: 4.826908559014555] Failed to read output from testmodel.py, exit status != 0: 2.1338890790066216 2.142442522 1.435782686 Calling exit ...