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.00159/0.00159, 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.001607/0.001607, allocations: 212.6 kB / 22.24 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.423/1.423, allocations: 230.6 MB / 256 MB, free: 8.059 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.1524/0.1524, allocations: 23.88 MB / 336.3 MB, free: 11.03 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.001906/0.001906, allocations: 64.08 kB / 471.6 MB, free: 7.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3369, allocations: 59.87 MB / 0.519 GB, free: 9.785 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.07797/0.4149, allocations: 31.57 MB / 0.5498 GB, free: 8.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1863/0.6012, allocations: 129.6 MB / 0.6764 GB, free: 8.367 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003566/0.6048, allocations: 35.81 kB / 0.6764 GB, free: 8.332 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.004325/0.6091, allocations: 1.134 MB / 0.6775 GB, free: 7.195 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.005769/0.6149, allocations: 1.226 MB / 0.6787 GB, free: 5.961 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.004896/0.6198, allocations: 1.533 MB / 0.6802 GB, free: 4.422 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.006122/0.6259, allocations: 3.315 MB / 0.6834 GB, free: 1.098 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.6271, allocations: 0.5966 MB / 0.684 GB, free: 456 kB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00204/0.6291, allocations: 1.156 MB / 0.6851 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002336/0.6315, allocations: 1.189 MB / 0.6863 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0007042/0.6322, allocations: 304 kB / 0.6866 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003663/0.6358, allocations: 1.229 MB / 0.6878 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001208/0.6371, allocations: 0.9227 MB / 0.6887 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002532/0.6396, allocations: 1.333 MB / 0.69 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007675/0.6473, allocations: 5.277 MB / 0.6951 GB, free: 5 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.6473, allocations: 0 / 0.6951 GB, free: 5 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6473, allocations: 0 / 0.6951 GB, free: 5 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.877e-05/0.6473, allocations: 0 / 0.6951 GB, free: 5 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.006306/0.6536, allocations: 3.731 MB / 0.6988 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.6537, allocations: 8.031 kB / 0.6988 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002332/0.656, allocations: 0.7557 MB / 0.6995 GB, free: 460 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002627/0.6586, allocations: 1.547 MB / 0.701 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000561/0.6592, allocations: 0.5318 MB / 0.7016 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004132/0.6596, allocations: 296.3 kB / 0.7019 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01496/0.6746, allocations: 11.97 MB / 0.7135 GB, free: 2.004 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-05/0.6746, allocations: 0 / 0.7135 GB, free: 2.004 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002413/0.6749, allocations: 120 kB / 0.7137 GB, free: 1.887 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006265/0.6755, allocations: 494.8 kB / 0.7141 GB, free: 1.402 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3223/0.9978, allocations: 20.73 MB / 0.7344 GB, free: 187.1 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.04672/1.045, allocations: 27.15 MB / 0.7609 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005798/1.05, allocations: 5.362 MB / 0.7661 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003916/1.054, allocations: 4.198 MB / 0.7702 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001727/1.056, allocations: 0.6931 MB / 0.7709 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/1.056, allocations: 49.75 kB / 0.7709 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=133): time 3.707e-06/1.056, allocations: 0 / 0.7709 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=200): time 0.1145/1.17, allocations: 40.49 MB / 0.8105 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01994/1.19, allocations: 12.49 MB / 0.8227 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002268/1.193, allocations: 1.681 MB / 0.8243 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001244/1.194, allocations: 57.7 kB / 0.8244 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008947/1.195, allocations: 1.579 MB / 0.8259 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001557/1.196, allocations: 0.701 MB / 0.8266 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00305/1.199, allocations: 0.7297 MB / 0.8273 GB, free: 109.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.904e-05/1.199, allocations: 305.1 kB / 0.8276 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007942/1.207, allocations: 7.19 MB / 0.8346 GB, free: 102.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007985/1.215, allocations: 7.554 MB / 0.842 GB, free: 94.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2048/1.42, allocations: 41.44 MB / 0.8825 GB, free: 53.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.787e-05/1.42, allocations: 7.938 kB / 0.8825 GB, free: 53.44 MB / 0.5606 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.02488/1.445, allocations: 15.78 MB / 0.8979 GB, free: 37.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/1.445, allocations: 8 kB / 0.8979 GB, free: 37.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.801e-05/1.445, allocations: 8 kB / 0.8979 GB, free: 37.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02132/1.467, allocations: 5.475 MB / 0.9033 GB, free: 32.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01412/1.481, allocations: 1.561 MB / 0.9048 GB, free: 30.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01645/1.497, allocations: 15.43 MB / 0.9199 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005299/1.502, allocations: 238.3 kB / 0.9201 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001392/1.504, allocations: 0.5057 MB / 0.9206 GB, free: 14.17 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.003396/1.507, allocations: 0.8552 MB / 0.9214 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001591/1.509, allocations: 206.7 kB / 0.9216 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02466/1.533, allocations: 11.68 MB / 0.933 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02252/1.556, allocations: 9.334 MB / 0.9421 GB, free: 8.098 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.837e-05/1.556, allocations: 3.938 kB / 0.9421 GB, free: 8.094 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.285e-05/1.556, allocations: 15.95 kB / 0.9421 GB, free: 8.078 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3406/1.897, allocations: 16.12 MB / 0.9579 GB, free: 193.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.937e-05/1.897, allocations: 8.656 kB / 0.9579 GB, free: 193.1 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007954/1.905, allocations: 0.7888 MB / 0.9587 GB, free: 193.1 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02384/1.928, allocations: 4.141 MB / 0.9627 GB, free: 192.3 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007829/1.929, allocations: 120.7 kB / 0.9628 GB, free: 192.2 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0188/1.948, allocations: 12.57 MB / 0.9751 GB, free: 183.8 MB / 0.5763 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.001973/1.95, allocations: 0.7612 MB / 0.9758 GB, free: 183.2 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02068/1.971, allocations: 10.87 MB / 0.9865 GB, free: 178.4 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008154/1.972, allocations: 231 kB / 0.9867 GB, free: 178.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006018/1.972, allocations: 58.38 kB / 0.9867 GB, free: 178.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/1.974, allocations: 96.05 kB / 0.9868 GB, free: 178.3 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006813/1.974, allocations: 284.1 kB / 0.9871 GB, free: 178.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002803/1.975, allocations: 230.5 kB / 0.9873 GB, free: 178.2 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.001942/1.977, allocations: 1.832 MB / 0.9891 GB, free: 177.4 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/1.977, allocations: 2.734 kB / 0.9891 GB, free: 177.4 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.003583/1.98, allocations: 1.155 MB / 0.9902 GB, free: 177.3 MB / 0.5763 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.0008011/1.981, allocations: 423.5 kB / 0.9906 GB, free: 177.1 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01407/1.995, allocations: 9.641 MB / 1 GB, free: 168.3 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/1.995, allocations: 0 / 1 GB, free: 168.3 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007408/2.002, allocations: 3.221 MB / 1.003 GB, free: 165.1 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/2.005, allocations: 474.9 kB / 1.004 GB, free: 164.7 MB / 0.5763 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/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.484641412273049] Failed to read output from testmodel.py, exit status != 0: 2.0138603318482637 2.023074765 1.373582431 Calling exit ...