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.001579/0.001579, allocations: 104.3 kB / 19.7 MB, free: 2.008 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.001945/0.001945, allocations: 210.4 kB / 22.99 MB, free: 4.41 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.59/1.59, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 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.1508/0.1508, allocations: 23.93 MB / 337.1 MB, free: 10.91 MB / 270.1 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: 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.002094/0.002094, allocations: 68.17 kB / 472.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3884, allocations: 59.88 MB / 0.5198 GB, free: 9.805 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1558:5-1558: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:1558:5-1558: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:1816:5-1816: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:1816:5-1816: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.08508/0.4735, allocations: 31.44 MB / 0.5505 GB, free: 8.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1998/0.6733, allocations: 129.6 MB / 0.6771 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003905/0.6772, allocations: 55.69 kB / 0.6771 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004232/0.6814, allocations: 1.075 MB / 0.6782 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005258/0.6867, allocations: 1.257 MB / 0.6794 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004844/0.6915, allocations: 1.537 MB / 0.6809 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007209/0.6987, allocations: 3.304 MB / 0.6841 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/0.7001, allocations: 0.6044 MB / 0.6847 GB, free: 392 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00216/0.7022, allocations: 1.183 MB / 0.6859 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002868/0.7051, allocations: 1.615 MB / 0.6875 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005296/0.7056, allocations: 292 kB / 0.6877 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003589/0.7092, allocations: 1.186 MB / 0.6889 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008843/0.7101, allocations: 0.8486 MB / 0.6897 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001723/0.7118, allocations: 1.27 MB / 0.691 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008213/0.72, allocations: 5.09 MB / 0.6959 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.72, allocations: 4 kB / 0.6959 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.415e-06/0.72, allocations: 0 / 0.6959 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.258e-05/0.7201, allocations: 4 kB / 0.6959 GB, free: 4.855 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.00683/0.727, allocations: 3.658 MB / 0.6995 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.727, allocations: 8.031 kB / 0.6995 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002189/0.7292, allocations: 0.6971 MB / 0.7002 GB, free: 448 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002545/0.7317, allocations: 1.3 MB / 0.7015 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004167/0.7321, allocations: 408.6 kB / 0.7019 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00043/0.7326, allocations: 304.2 kB / 0.7021 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01229/0.7449, allocations: 9.843 MB / 0.7118 GB, free: 4.492 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.555e-05/0.7449, allocations: 4 kB / 0.7118 GB, free: 4.488 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002382/0.7452, allocations: 116 kB / 0.7119 GB, free: 4.375 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005401/0.7457, allocations: 462.9 kB / 0.7123 GB, free: 3.922 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02163/0.7673, allocations: 18.11 MB / 0.73 GB, free: 1.797 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.2995/1.067, allocations: 15.78 MB / 0.7454 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003758/1.071, allocations: 2.173 MB / 0.7475 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002309/1.073, allocations: 1.58 MB / 0.7491 GB, free: 179.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01536/1.088, allocations: 7.528 MB / 0.7564 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/1.088, allocations: 43.75 kB / 0.7565 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=119): time 4.538e-06/1.088, allocations: 0 / 0.7565 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=168): time 0.08786/1.176, allocations: 20.48 MB / 0.7765 GB, free: 162.3 MB / 0.5606 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 inlineWhenForInitialization (initialization): time 0.002449/1.179, allocations: 0.9695 MB / 0.7774 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00185/1.18, allocations: 1.641 MB / 0.779 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007783/1.181, allocations: 52.39 kB / 0.7791 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008443/1.182, allocations: 1.716 MB / 0.7807 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007714/1.183, allocations: 0.5967 MB / 0.7813 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001175/1.184, allocations: 0.6483 MB / 0.782 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.161e-05/1.184, allocations: 305.1 kB / 0.7823 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003143/1.187, allocations: 2.478 MB / 0.7847 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00342/1.191, allocations: 3.234 MB / 0.7878 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006861/1.198, allocations: 5.826 MB / 0.7935 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.686e-05/1.198, allocations: 4 kB / 0.7935 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=287) (initialization): time 0.01393/1.211, allocations: 6.939 MB / 0.8003 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.748e-05/1.212, allocations: 21.38 kB / 0.8003 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.38e-05/1.212, allocations: 24 kB / 0.8003 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01662/1.228, allocations: 2.783 MB / 0.8031 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01216/1.24, allocations: 1.146 MB / 0.8042 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/1.252, allocations: 8.694 MB / 0.8127 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004304/1.257, allocations: 131.9 kB / 0.8128 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001208/1.258, allocations: 403.8 kB / 0.8132 GB, free: 123.9 MB / 0.5606 GB 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 (251): * Single equations (assignments): 246 * 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 {(4,17), (3,4)} Notification: Performance of prepare postOptimizeDAE: time 0.002681/1.261, allocations: 0.8784 MB / 0.814 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008241/1.261, allocations: 210.6 kB / 0.8142 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01606/1.277, allocations: 6.812 MB / 0.8209 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/1.277, allocations: 16 kB / 0.8209 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/1.277, allocations: 4 kB / 0.8209 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.813e-05/1.277, allocations: 7.969 kB / 0.8209 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.021/1.298, allocations: 8.956 MB / 0.8297 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/1.299, allocations: 8 kB / 0.8297 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009235/1.308, allocations: 0.7347 MB / 0.8304 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01772/1.325, allocations: 2.932 MB / 0.8333 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000643/1.326, allocations: 91.95 kB / 0.8333 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01455/1.341, allocations: 9.676 MB / 0.8428 GB, free: 93.27 MB / 0.5606 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.002227/1.343, allocations: 0.737 MB / 0.8435 GB, free: 92.51 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01602/1.359, allocations: 6.267 MB / 0.8496 GB, free: 86.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008665/1.36, allocations: 174.6 kB / 0.8498 GB, free: 86.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001006/1.361, allocations: 42.73 kB / 0.8498 GB, free: 85.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002041/1.363, allocations: 55.97 kB / 0.8499 GB, free: 85.92 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007154/1.364, allocations: 196.9 kB / 0.8501 GB, free: 85.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00028/1.364, allocations: 175.9 kB / 0.8502 GB, free: 85.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001813/1.366, allocations: 1.41 MB / 0.8516 GB, free: 84.12 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.366, allocations: 2.688 kB / 0.8516 GB, free: 84.12 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003709/1.369, allocations: 0.8043 MB / 0.8524 GB, free: 83.32 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (132): * Single equations (assignments): 127 * 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 {(4,18), (4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009798/1.37, allocations: 435.8 kB / 0.8528 GB, free: 82.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01121/1.382, allocations: 4.717 MB / 0.8574 GB, free: 78.17 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/1.382, allocations: 0 / 0.8574 GB, free: 78.17 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00716/1.389, allocations: 2.128 MB / 0.8595 GB, free: 76.01 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003052/1.392, allocations: 445.7 kB / 0.8599 GB, free: 75.6 MB / 0.5606 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 659] [Calling sys.exit(0), Time elapsed: 4.060408949997509] Failed to read output from testmodel.py, exit status != 0: 1.401848018023884 1.411108887 0.688741415 Calling exit ...