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.001491/0.001491, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00163/0.00163, allocations: 218.8 kB / 22.25 MB, free: 5.125 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.387/1.387, allocations: 230.6 MB / 256 MB, free: 8 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.1309/0.1309, allocations: 23.9 MB / 336.3 MB, free: 11.18 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: "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_,fileNamePrefix="Chemical_master_Chemical_Examples_GasSolubility_NIST_",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_,fileNamePrefix="Chemical_master_Chemical_Examples_GasSolubility_NIST_",fmuType="me",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.001907/0.001907, allocations: 71.89 kB / 471.2 MB, free: 7.676 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3199, allocations: 59.86 MB / 0.5186 GB, free: 9.609 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.04784/0.3677, allocations: 33.28 MB / 0.5511 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1873/0.555, allocations: 151.3 MB / 0.6989 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004641/0.5597, allocations: 55.75 kB / 0.6989 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004186/0.5639, allocations: 1.161 MB / 0.7001 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004233/0.5681, allocations: 1.253 MB / 0.7013 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00413/0.5722, allocations: 1.603 MB / 0.7029 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00581/0.578, allocations: 3.315 MB / 0.7061 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.5794, allocations: 0.6122 MB / 0.7067 GB, free: 8.945 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002149/0.5815, allocations: 1.168 MB / 0.7078 GB, free: 7.773 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002637/0.5841, allocations: 1.63 MB / 0.7094 GB, free: 6.137 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004256/0.5846, allocations: 288 kB / 0.7097 GB, free: 5.855 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004005/0.5886, allocations: 1.744 MB / 0.7114 GB, free: 4.109 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007584/0.5893, allocations: 0.8563 MB / 0.7122 GB, free: 3.25 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001685/0.591, allocations: 1.705 MB / 0.7139 GB, free: 1.535 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008003/0.599, allocations: 5.23 MB / 0.719 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.599, allocations: 0 / 0.719 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.599, allocations: 0 / 0.719 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001044/0.5991, allocations: 4 kB / 0.719 GB, free: 12.28 MB / 0.5606 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.006423/0.6056, allocations: 3.658 MB / 0.7226 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.6056, allocations: 15.97 kB / 0.7226 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005779/0.6062, allocations: 473.5 kB / 0.723 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.6075, allocations: 0.6035 MB / 0.7236 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/0.6096, allocations: 1.289 MB / 0.7249 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003757/0.6099, allocations: 408.6 kB / 0.7253 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003809/0.6103, allocations: 296.2 kB / 0.7256 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2673/0.8776, allocations: 9.809 MB / 0.7351 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.84e-05/0.8777, allocations: 1.734 kB / 0.7352 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001986/0.8779, allocations: 122.4 kB / 0.7353 GB, free: 187 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004934/0.8784, allocations: 459.1 kB / 0.7357 GB, free: 187 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01997/0.8983, allocations: 18.1 MB / 0.7534 GB, free: 180.3 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.02484/0.9232, allocations: 18.05 MB / 0.771 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002428/0.9256, allocations: 2.155 MB / 0.7731 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001519/0.9271, allocations: 1.55 MB / 0.7746 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0123/0.9394, allocations: 8.238 MB / 0.7827 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.9394, allocations: 43.56 kB / 0.7827 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=119): time 3.246e-06/0.9394, allocations: 0 / 0.7827 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=168): time 0.07523/1.015, allocations: 20.4 MB / 0.8026 GB, free: 135.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.002082/1.017, allocations: 0.967 MB / 0.8036 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002272/1.019, allocations: 2.321 MB / 0.8058 GB, free: 132 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004161/1.019, allocations: 49.7 kB / 0.8059 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007054/1.02, allocations: 1.712 MB / 0.8076 GB, free: 130.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004786/1.021, allocations: 0.5926 MB / 0.8081 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001002/1.022, allocations: 0.6483 MB / 0.8088 GB, free: 129 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.149e-05/1.022, allocations: 301.1 kB / 0.8091 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002874/1.025, allocations: 2.443 MB / 0.8114 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003166/1.028, allocations: 3.21 MB / 0.8146 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006169/1.034, allocations: 5.759 MB / 0.8202 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/1.034, allocations: 7.938 kB / 0.8202 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=287) (initialization): time 0.01264/1.047, allocations: 6.926 MB / 0.827 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/1.047, allocations: 19.98 kB / 0.827 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-05/1.047, allocations: 24 kB / 0.827 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01419/1.061, allocations: 2.772 MB / 0.8297 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01027/1.071, allocations: 1.129 MB / 0.8308 GB, free: 105.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01078/1.082, allocations: 8.868 MB / 0.8395 GB, free: 96.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003134/1.085, allocations: 115.9 kB / 0.8396 GB, free: 96.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004789/1.085, allocations: 410.5 kB / 0.84 GB, free: 96 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.001533/1.087, allocations: 0.8734 MB / 0.8408 GB, free: 95.12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005548/1.088, allocations: 254.3 kB / 0.8411 GB, free: 94.87 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01449/1.102, allocations: 6.809 MB / 0.8477 GB, free: 88.22 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/1.102, allocations: 16 kB / 0.8478 GB, free: 88.21 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/1.102, allocations: 0 / 0.8478 GB, free: 88.21 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.442e-05/1.102, allocations: 7.969 kB / 0.8478 GB, free: 88.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01773/1.12, allocations: 9.863 MB / 0.8574 GB, free: 78.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/1.12, allocations: 4 kB / 0.8574 GB, free: 78.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007755/1.128, allocations: 0.7126 MB / 0.8581 GB, free: 77.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01533/1.143, allocations: 2.946 MB / 0.861 GB, free: 74.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003627/1.143, allocations: 98.59 kB / 0.8611 GB, free: 74.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01302/1.156, allocations: 9.911 MB / 0.8707 GB, free: 64.1 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.001913/1.158, allocations: 0.7376 MB / 0.8715 GB, free: 63.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01249/1.171, allocations: 6.193 MB / 0.8775 GB, free: 57.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005752/1.171, allocations: 270.2 kB / 0.8778 GB, free: 56.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003841/1.172, allocations: 43.92 kB / 0.8778 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/1.173, allocations: 51.92 kB / 0.8779 GB, free: 56.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004312/1.173, allocations: 191.6 kB / 0.878 GB, free: 56.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002198/1.173, allocations: 179.9 kB / 0.8782 GB, free: 56.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001943/1.175, allocations: 1.926 MB / 0.8801 GB, free: 54.44 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.175, allocations: 0 / 0.8801 GB, free: 54.44 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00239/1.178, allocations: 0.816 MB / 0.8809 GB, free: 53.62 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 {(5,17), (4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01192/1.19, allocations: 6.629 MB / 0.8874 GB, free: 46.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009134/1.199, allocations: 4.665 MB / 0.8919 GB, free: 42.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/1.199, allocations: 0 / 0.8919 GB, free: 42.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005835/1.205, allocations: 2.108 MB / 0.894 GB, free: 40.12 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002297/1.207, allocations: 0.5395 MB / 0.8945 GB, free: 39.63 MB / 0.5606 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822: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.520618413000193] Failed to read output from testmodel.py, exit status != 0: 1.2142647200016654 1.224082918 0.622563716 Calling exit ...