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.001179/0.001179, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001243/0.001243, allocations: 218.5 kB / 22.25 MB, free: 5.254 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.372/1.372, allocations: 230.6 MB / 256 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.1299/0.1299, allocations: 23.88 MB / 336.3 MB, free: 10.95 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.001955/0.001955, allocations: 76.12 kB / 471.6 MB, free: 7.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2762, allocations: 59.86 MB / 0.519 GB, free: 9.734 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.0735/0.3496, allocations: 31.45 MB / 0.5497 GB, free: 8.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1608/0.5105, allocations: 129.6 MB / 0.6762 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002108/0.5126, allocations: 35.81 kB / 0.6763 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003396/0.516, allocations: 1.134 MB / 0.6774 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003647/0.5196, allocations: 1.226 MB / 0.6786 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003687/0.5233, allocations: 1.537 MB / 0.6801 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004829/0.5281, allocations: 3.327 MB / 0.6833 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009234/0.5291, allocations: 0.6083 MB / 0.6839 GB, free: 492 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0013/0.5304, allocations: 1.152 MB / 0.685 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001547/0.5319, allocations: 1.381 MB / 0.6864 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003532/0.5323, allocations: 304 kB / 0.6867 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002667/0.5349, allocations: 1.268 MB / 0.6879 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007854/0.5357, allocations: 0.9227 MB / 0.6888 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001278/0.537, allocations: 1.321 MB / 0.6901 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006154/0.5431, allocations: 5.281 MB / 0.6953 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5431, allocations: 3.938 kB / 0.6953 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5431, allocations: 0 / 0.6953 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.701e-05/0.5432, allocations: 0 / 0.6953 GB, free: 4.812 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.005903/0.5491, allocations: 3.731 MB / 0.6989 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.5491, allocations: 12.03 kB / 0.6989 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002364/0.5515, allocations: 0.7596 MB / 0.6997 GB, free: 260 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00242/0.5539, allocations: 1.539 MB / 0.7012 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004892/0.5544, allocations: 0.5357 MB / 0.7017 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004101/0.5548, allocations: 292.3 kB / 0.702 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01304/0.5678, allocations: 11.97 MB / 0.7137 GB, free: 1.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.253e-05/0.5679, allocations: 0 / 0.7137 GB, free: 1.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002475/0.5681, allocations: 124 kB / 0.7138 GB, free: 1.699 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005341/0.5687, allocations: 490.9 kB / 0.7142 GB, free: 1.219 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2096/0.7782, allocations: 20.73 MB / 0.7345 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.03426/0.8125, allocations: 27.15 MB / 0.761 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005205/0.8177, allocations: 5.369 MB / 0.7662 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00363/0.8213, allocations: 4.196 MB / 0.7703 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001726/0.8231, allocations: 0.6969 MB / 0.771 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.8231, allocations: 47.88 kB / 0.7711 GB, free: 167 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=133): time 3.536e-06/0.8231, allocations: 0 / 0.7711 GB, free: 167 MB / 0.5606 GB Notification: Performance of matching and sorting (n=200): time 0.1156/0.9387, allocations: 40.48 MB / 0.8106 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02006/0.9588, allocations: 12.5 MB / 0.8228 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/0.9603, allocations: 1.678 MB / 0.8245 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008881/0.9612, allocations: 60.33 kB / 0.8245 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005838/0.9618, allocations: 1.573 MB / 0.826 GB, free: 111 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007803/0.9626, allocations: 0.7088 MB / 0.8267 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00181/0.9644, allocations: 0.7296 MB / 0.8274 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 2.793e-05/0.9644, allocations: 305.1 kB / 0.8277 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006845/0.9713, allocations: 7.19 MB / 0.8348 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007123/0.9784, allocations: 7.551 MB / 0.8421 GB, free: 94.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2103/1.189, allocations: 41.45 MB / 0.8826 GB, free: 53.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.426e-05/1.189, allocations: 4 kB / 0.8826 GB, free: 53.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.0242/1.213, allocations: 15.78 MB / 0.898 GB, free: 37.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/1.213, allocations: 8 kB / 0.898 GB, free: 37.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/1.213, allocations: 10.66 kB / 0.898 GB, free: 37.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02281/1.236, allocations: 5.472 MB / 0.9034 GB, free: 31.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01489/1.251, allocations: 1.558 MB / 0.9049 GB, free: 30.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0152/1.266, allocations: 15.45 MB / 0.92 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004732/1.271, allocations: 235.7 kB / 0.9202 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/1.272, allocations: 0.4997 MB / 0.9207 GB, free: 13.89 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.00237/1.274, allocations: 0.8474 MB / 0.9215 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00119/1.275, allocations: 198.9 kB / 0.9217 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02367/1.299, allocations: 11.67 MB / 0.9331 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02236/1.321, allocations: 9.344 MB / 0.9422 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/1.321, allocations: 7.938 kB / 0.9422 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.248e-05/1.321, allocations: 18.59 kB / 0.9423 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2229/1.544, allocations: 16.12 MB / 0.958 GB, free: 193.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/1.544, allocations: 8.594 kB / 0.958 GB, free: 193.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008187/1.552, allocations: 0.7847 MB / 0.9588 GB, free: 193.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02391/1.576, allocations: 4.14 MB / 0.9628 GB, free: 192.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003278/1.577, allocations: 119.6 kB / 0.9629 GB, free: 192.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01745/1.594, allocations: 12.58 MB / 0.9752 GB, free: 184.2 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.002106/1.596, allocations: 0.7563 MB / 0.976 GB, free: 183.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01929/1.615, allocations: 10.86 MB / 0.9866 GB, free: 178.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005642/1.616, allocations: 229.2 kB / 0.9868 GB, free: 178.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004348/1.616, allocations: 55.02 kB / 0.9868 GB, free: 178.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001566/1.618, allocations: 104.2 kB / 0.9869 GB, free: 178.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000626/1.619, allocations: 282 kB / 0.9872 GB, free: 178.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002894/1.619, allocations: 225.5 kB / 0.9874 GB, free: 178.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001729/1.621, allocations: 1.827 MB / 0.9892 GB, free: 177.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.621, allocations: 2.734 kB / 0.9892 GB, free: 177.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003839/1.624, allocations: 1.163 MB / 0.9904 GB, free: 177.5 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.0008914/1.625, allocations: 420.6 kB / 0.9908 GB, free: 177.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01384/1.639, allocations: 9.643 MB / 1 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/1.639, allocations: 0 / 1 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007399/1.647, allocations: 3.216 MB / 1.003 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.002259/1.649, allocations: 478.6 kB / 1.004 GB, free: 164.5 MB / 0.5762 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: 3.9068653099238873] Failed to read output from testmodel.py, exit status != 0: 1.656869841273874 1.665192337 1.1199513989999998 Calling exit ...