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.001412/0.001412, allocations: 119 kB / 17.17 MB, free: 5.906 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.001408/0.001408, allocations: 211 kB / 20.13 MB, free: 2.965 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.566/1.566, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.1464/0.1464, allocations: 23.86 MB / 333.4 MB, free: 1.191 MB / 254.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_,fileNamePrefix="Chemical_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.002024/0.002024, allocations: 65.09 kB / 466.7 MB, free: 30.85 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1302, allocations: 59.84 MB / 0.5142 GB, free: 12.95 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.05398/0.1842, allocations: 33.08 MB / 0.5465 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5424/0.7266, allocations: 151.2 MB / 0.6942 GB, free: 7.328 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00355/0.7302, allocations: 35.81 kB / 0.6942 GB, free: 7.293 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004997/0.7352, allocations: 1.242 MB / 0.6954 GB, free: 6.074 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005828/0.741, allocations: 1.237 MB / 0.6966 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005909/0.7469, allocations: 1.613 MB / 0.6982 GB, free: 3.211 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00741/0.7543, allocations: 3.328 MB / 0.7014 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0017/0.756, allocations: 0.657 MB / 0.7021 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002578/0.7586, allocations: 1.164 MB / 0.7032 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00224/0.7608, allocations: 1.373 MB / 0.7046 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000434/0.7613, allocations: 308 kB / 0.7049 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00617/0.7674, allocations: 1.841 MB / 0.7067 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00103/0.7685, allocations: 0.9226 MB / 0.7076 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002285/0.7707, allocations: 1.752 MB / 0.7093 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00959/0.7803, allocations: 5.421 MB / 0.7146 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.7803, allocations: 0 / 0.7146 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7803, allocations: 0 / 0.7146 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001039/0.7804, allocations: 4 kB / 0.7146 GB, free: 2.352 MB / 0.4981 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.007698/0.7881, allocations: 3.811 MB / 0.7183 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.7882, allocations: 8.031 kB / 0.7183 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000111/0.7883, allocations: 85.94 kB / 0.7184 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005806/0.7889, allocations: 465.5 kB / 0.7188 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001828/0.7907, allocations: 0.659 MB / 0.7195 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002645/0.7934, allocations: 1.602 MB / 0.721 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005106/0.7939, allocations: 455.5 kB / 0.7215 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004081/0.7943, allocations: 296.3 kB / 0.7217 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0148/0.8091, allocations: 11.41 MB / 0.7329 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.084e-05/0.8091, allocations: 0 / 0.7329 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002462/0.8094, allocations: 124 kB / 0.733 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005649/0.81, allocations: 482.9 kB / 0.7335 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02386/0.8338, allocations: 19.86 MB / 0.7529 GB, free: 10.93 MB / 0.545 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.04877/0.8826, allocations: 29.39 MB / 0.7816 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008149/0.8907, allocations: 5.281 MB / 0.7867 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005869/0.8966, allocations: 4.096 MB / 0.7907 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003367/0.9, allocations: 1.831 MB / 0.7925 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/0.9, allocations: 46.5 kB / 0.7926 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=133): time 3.236e-06/0.9, allocations: 3.938 kB / 0.7926 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of matching and sorting (n=200): time 0.4321/1.332, allocations: 40.52 MB / 0.8321 GB, free: 231.3 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02463/1.357, allocations: 12.75 MB / 0.8446 GB, free: 224.4 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004474/1.361, allocations: 3.602 MB / 0.8481 GB, free: 223 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0008564/1.362, allocations: 57.58 kB / 0.8482 GB, free: 223 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009048/1.363, allocations: 1.54 MB / 0.8497 GB, free: 222.1 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001063/1.364, allocations: 0.6981 MB / 0.8504 GB, free: 221.7 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001917/1.366, allocations: 0.7213 MB / 0.8511 GB, free: 221.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 4.314e-05/1.366, allocations: 305.1 kB / 0.8513 GB, free: 221.2 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009231/1.375, allocations: 7.044 MB / 0.8582 GB, free: 218.1 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008036/1.383, allocations: 7.395 MB / 0.8654 GB, free: 213.8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.225/1.608, allocations: 42.78 MB / 0.9072 GB, free: 171.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.82e-05/1.608, allocations: 4 kB / 0.9072 GB, free: 171.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.02591/1.634, allocations: 15.63 MB / 0.9225 GB, free: 155.9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/1.634, allocations: 8 kB / 0.9225 GB, free: 155.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/1.634, allocations: 12 kB / 0.9225 GB, free: 155.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02242/1.657, allocations: 5.385 MB / 0.9278 GB, free: 150.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01427/1.671, allocations: 1.552 MB / 0.9293 GB, free: 149 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01683/1.688, allocations: 15.57 MB / 0.9445 GB, free: 133.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005595/1.693, allocations: 226.3 kB / 0.9447 GB, free: 132.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001176/1.695, allocations: 0.4919 MB / 0.9452 GB, free: 132.4 MB / 0.6075 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.002822/1.697, allocations: 0.8507 MB / 0.946 GB, free: 131.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00143/1.699, allocations: 327.4 kB / 0.9463 GB, free: 131.2 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02384/1.723, allocations: 11.7 MB / 0.9577 GB, free: 119.6 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01865/1.741, allocations: 9.249 MB / 0.9668 GB, free: 110.3 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/1.741, allocations: 7.984 kB / 0.9668 GB, free: 110.3 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.619e-05/1.741, allocations: 7.969 kB / 0.9668 GB, free: 110.3 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02712/1.768, allocations: 17.21 MB / 0.9836 GB, free: 93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-05/1.769, allocations: 12 kB / 0.9836 GB, free: 92.99 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007932/1.776, allocations: 0.7699 MB / 0.9844 GB, free: 92.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02245/1.799, allocations: 4.153 MB / 0.9884 GB, free: 88.11 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005742/1.799, allocations: 123.9 kB / 0.9885 GB, free: 87.99 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01718/1.817, allocations: 13.36 MB / 1.002 GB, free: 74.1 MB / 0.6075 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.001931/1.819, allocations: 0.7632 MB / 1.002 GB, free: 73.33 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01834/1.837, allocations: 10.87 MB / 1.013 GB, free: 62.36 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/1.838, allocations: 0.5164 MB / 1.013 GB, free: 61.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008083/1.839, allocations: 60.73 kB / 1.014 GB, free: 61.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001695/1.841, allocations: 91.84 kB / 1.014 GB, free: 61.68 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007008/1.842, allocations: 270.7 kB / 1.014 GB, free: 61.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002862/1.842, allocations: 226.5 kB / 1.014 GB, free: 61.2 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003681/1.845, allocations: 3.214 MB / 1.017 GB, free: 57.99 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/1.845, allocations: 0 / 1.017 GB, free: 57.99 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004452/1.85, allocations: 1.186 MB / 1.018 GB, free: 56.82 MB / 0.6075 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.01721/1.867, allocations: 10.48 MB / 1.029 GB, free: 46.33 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01522/1.882, allocations: 9.439 MB / 1.038 GB, free: 36.89 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/1.882, allocations: 0 / 1.038 GB, free: 36.89 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.008007/1.89, allocations: 3.181 MB / 1.041 GB, free: 33.68 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004177/1.895, allocations: 0.6888 MB / 1.042 GB, free: 33.05 MB / 0.6075 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4705:9-4705:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:818:5-818: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.605192749004345] Failed to read output from testmodel.py, exit status != 0: 1.9021521750255488 1.912092845 1.129389537 Calling exit ...