Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001435/0.001435, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.001652/0.001652, allocations: 165.3 kB / 22.76 MB, free: 1.652 MB / 18.57 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.521/1.521, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1458/0.1458, allocations: 17.45 MB / 277 MB, free: 11.57 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Examples.GasSolubility_NIST_") translateModel(Chemical.Examples.GasSolubility_NIST_,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.GasSolubility_NIST_") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 352.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.181e-05/3.341e-05, allocations: 4.984 kB / 352.8 MB, free: 10.21 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1586:5-1586: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 master/Interfaces.mo:1586:5-1586: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 master/Interfaces.mo:1842:5-1842: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 master/Interfaces.mo:1842:5-1842: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.05118/0.05121, allocations: 32.64 MB / 385.4 MB, free: 9.684 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3293/0.3805, allocations: 131.6 MB / 0.5049 GB, free: 3.023 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002446/0.383, allocations: 87.31 kB / 0.505 GB, free: 2.938 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004606/0.3876, allocations: 1.208 MB / 0.5061 GB, free: 1.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005349/0.3929, allocations: 1.59 MB / 0.5077 GB, free: 152 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005505/0.3984, allocations: 1.839 MB / 0.5095 GB, free: 14.3 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007269/0.4057, allocations: 3.732 MB / 0.5131 GB, free: 10.55 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001539/0.4072, allocations: 0.5972 MB / 0.5137 GB, free: 9.906 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003943/0.4112, allocations: 1.906 MB / 0.5156 GB, free: 7.996 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003156/0.4143, allocations: 1.395 MB / 0.5169 GB, free: 6.598 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007764/0.4151, allocations: 299.9 kB / 0.5172 GB, free: 6.305 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00442/0.4195, allocations: 1.47 MB / 0.5187 GB, free: 4.832 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001368/0.4209, allocations: 0.9693 MB / 0.5196 GB, free: 3.859 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002771/0.4237, allocations: 1.102 MB / 0.5207 GB, free: 2.754 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009889/0.4335, allocations: 5.379 MB / 0.5259 GB, free: 13.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4336, allocations: 4 kB / 0.5259 GB, free: 13.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.4336, allocations: 0 / 0.5259 GB, free: 13.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001702/0.4337, allocations: 0 / 0.5259 GB, free: 13.35 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 932 * Number of variables: 932 Notification: Performance of Generate backend data structure: time 0.008716/0.4424, allocations: 3.786 MB / 0.5296 GB, free: 9.512 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.4425, allocations: 12.03 kB / 0.5297 GB, free: 9.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003736/0.4462, allocations: 1.551 MB / 0.5312 GB, free: 7.949 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004049/0.4503, allocations: 1.892 MB / 0.533 GB, free: 6.012 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005312/0.4508, allocations: 412.7 kB / 0.5334 GB, free: 5.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006578/0.4515, allocations: 304.3 kB / 0.5337 GB, free: 5.273 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01597/0.4674, allocations: 10.23 MB / 0.5437 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.724e-05/0.4675, allocations: 4.188 kB / 0.5437 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003567/0.4679, allocations: 124.1 kB / 0.5438 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000615/0.4685, allocations: 459.1 kB / 0.5443 GB, free: 10.44 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02601/0.4945, allocations: 19.22 MB / 0.563 GB, free: 7.211 MB / 442.7 MB 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.1644/0.6589, allocations: 16.51 MB / 0.5791 GB, free: 165.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003038/0.662, allocations: 2.267 MB / 0.5814 GB, free: 164.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002024/0.664, allocations: 1.673 MB / 0.583 GB, free: 163.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01327/0.6773, allocations: 7.96 MB / 0.5908 GB, free: 159.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.6773, allocations: 46.31 kB / 0.5908 GB, free: 159.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=122): time 2.795e-06/0.6773, allocations: 1.562 kB / 0.5908 GB, free: 159.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=171): time 0.07834/0.7556, allocations: 20.66 MB / 0.611 GB, free: 139.2 MB / 442.7 MB 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 inlineWhenForInitialization (initialization): time 0.002207/0.7578, allocations: 0.9817 MB / 0.612 GB, free: 138.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002344/0.7602, allocations: 1.642 MB / 0.6136 GB, free: 136.6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008124/0.761, allocations: 53.7 kB / 0.6136 GB, free: 136.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001285/0.7623, allocations: 1.743 MB / 0.6153 GB, free: 135 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001052/0.7633, allocations: 0.6067 MB / 0.6159 GB, free: 134.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001694/0.765, allocations: 0.6471 MB / 0.6165 GB, free: 133.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.064e-05/0.7651, allocations: 301.1 kB / 0.6168 GB, free: 133.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003428/0.7685, allocations: 2.541 MB / 0.6193 GB, free: 130.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003768/0.7723, allocations: 3.3 MB / 0.6225 GB, free: 127.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007483/0.7797, allocations: 5.958 MB / 0.6283 GB, free: 121 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.913e-05/0.7798, allocations: 8 kB / 0.6284 GB, free: 121 MB / 442.7 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.0148/0.7946, allocations: 7.195 MB / 0.6354 GB, free: 113.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.166e-05/0.7946, allocations: 18.69 kB / 0.6354 GB, free: 113.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.338e-05/0.7947, allocations: 24 kB / 0.6354 GB, free: 113.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01641/0.8111, allocations: 3.02 MB / 0.6384 GB, free: 110.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01161/0.8227, allocations: 1.338 MB / 0.6397 GB, free: 109.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0119/0.8346, allocations: 8.706 MB / 0.6482 GB, free: 100.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003825/0.8384, allocations: 146.6 kB / 0.6483 GB, free: 100.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009707/0.8394, allocations: 402.5 kB / 0.6487 GB, free: 99.85 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * Number of states: 0 () * Number of discrete variables: 4 (water_25.substanceDefinitionVar.SelfClustering,water_25.substanceDefinitionVar.data.phase,CO2_g_25.substanceDefinitionVar.SelfClustering,CO2_g_25.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 249 * 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%), (2,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,16), (3,4)} Notification: Performance of prepare postOptimizeDAE: time 0.002671/0.8421, allocations: 0.8758 MB / 0.6496 GB, free: 98.96 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001424/0.8435, allocations: 290.6 kB / 0.6498 GB, free: 98.68 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01687/0.8604, allocations: 6.962 MB / 0.6566 GB, free: 91.85 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/0.8604, allocations: 18.66 kB / 0.6566 GB, free: 91.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/0.8604, allocations: 8 kB / 0.6567 GB, free: 91.83 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.728e-05/0.8604, allocations: 11.95 kB / 0.6567 GB, free: 91.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02152/0.882, allocations: 9.269 MB / 0.6657 GB, free: 82.47 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/0.882, allocations: 4 kB / 0.6657 GB, free: 82.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009501/0.8915, allocations: 0.9482 MB / 0.6666 GB, free: 81.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01916/0.9106, allocations: 3.295 MB / 0.6699 GB, free: 78.29 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000654/0.9113, allocations: 95.95 kB / 0.67 GB, free: 78.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01422/0.9255, allocations: 9.637 MB / 0.6794 GB, free: 68.14 MB / 442.7 MB 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.001992/0.9275, allocations: 0.7303 MB / 0.6801 GB, free: 67.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01495/0.9424, allocations: 6.626 MB / 0.6866 GB, free: 60.71 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000584/0.943, allocations: 186.6 kB / 0.6867 GB, free: 60.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006808/0.9437, allocations: 35.94 kB / 0.6868 GB, free: 60.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001693/0.9454, allocations: 78.61 kB / 0.6868 GB, free: 60.41 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005709/0.946, allocations: 196.9 kB / 0.687 GB, free: 60.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003291/0.9463, allocations: 194.6 kB / 0.6872 GB, free: 60.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002011/0.9483, allocations: 1.402 MB / 0.6886 GB, free: 58.61 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9483, allocations: 0 / 0.6886 GB, free: 58.61 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003583/0.9519, allocations: 0.863 MB / 0.6894 GB, free: 57.75 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 4 ($STATESET1.x,CO2_dissolutionP.rear.n_flow,CO2_25.logn,water_25.logm) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 130 * 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%), (2,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,17), (4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009838/0.9529, allocations: 431 kB / 0.6898 GB, free: 57.39 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01125/0.9641, allocations: 4.897 MB / 0.6946 GB, free: 52.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/0.9641, allocations: 0 / 0.6946 GB, free: 52.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006906/0.971, allocations: 2.22 MB / 0.6968 GB, free: 50.24 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003259/0.9743, allocations: 0.5611 MB / 0.6973 GB, free: 49.71 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4696:9-4696:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:846:5-846:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.335782831069082]