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.001284/0.001284, allocations: 113 kB / 18.94 MB, free: 2.934 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.00147/0.00147, allocations: 210.6 kB / 22.25 MB, free: 5.086 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.414/1.414, allocations: 230.6 MB / 256 MB, free: 8.035 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.1505/0.1505, allocations: 23.9 MB / 336.3 MB, free: 11.19 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.002001/0.002001, allocations: 63.91 kB / 471.2 MB, free: 7.676 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.338, allocations: 59.89 MB / 0.5186 GB, free: 9.633 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.05258/0.3906, allocations: 33.28 MB / 0.5511 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2057/0.5962, allocations: 151.3 MB / 0.6989 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003553/0.5998, allocations: 59.69 kB / 0.6989 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004151/0.6039, allocations: 1.153 MB / 0.7001 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004839/0.6088, allocations: 1.257 MB / 0.7013 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004682/0.6134, allocations: 1.603 MB / 0.7029 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006102/0.6196, allocations: 3.315 MB / 0.7061 GB, free: 9.594 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/0.6206, allocations: 0.6083 MB / 0.7067 GB, free: 8.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001656/0.6223, allocations: 1.171 MB / 0.7078 GB, free: 7.754 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002321/0.6246, allocations: 1.626 MB / 0.7094 GB, free: 6.121 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004039/0.625, allocations: 288 kB / 0.7097 GB, free: 5.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004018/0.629, allocations: 1.736 MB / 0.7114 GB, free: 4.102 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007771/0.6298, allocations: 0.8641 MB / 0.7122 GB, free: 3.234 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001709/0.6315, allocations: 1.702 MB / 0.7139 GB, free: 1.523 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.007997/0.6395, allocations: 5.242 MB / 0.719 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.6395, allocations: 0 / 0.719 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6395, allocations: 0 / 0.719 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.647e-05/0.6396, allocations: 0 / 0.719 GB, free: 12.26 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.006293/0.6459, allocations: 3.661 MB / 0.7226 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.6459, allocations: 8.031 kB / 0.7226 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005305/0.6465, allocations: 477.5 kB / 0.7231 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.6477, allocations: 0.5957 MB / 0.7236 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002113/0.6498, allocations: 1.293 MB / 0.7249 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000362/0.6502, allocations: 404.6 kB / 0.7253 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003773/0.6506, allocations: 296.3 kB / 0.7256 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2427/0.8933, allocations: 9.813 MB / 0.7351 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.055e-05/0.8933, allocations: 0 / 0.7351 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002027/0.8935, allocations: 127.5 kB / 0.7353 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005032/0.894, allocations: 461.2 kB / 0.7357 GB, free: 187 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01968/0.9137, 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.02461/0.9383, allocations: 18.05 MB / 0.771 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002499/0.9408, allocations: 2.155 MB / 0.7731 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001553/0.9424, allocations: 1.55 MB / 0.7746 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01283/0.9552, allocations: 8.239 MB / 0.7827 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.9552, allocations: 43.56 kB / 0.7827 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=119): time 3.527e-06/0.9552, allocations: 0 / 0.7827 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=168): time 0.07806/1.033, allocations: 20.39 MB / 0.8026 GB, free: 135.2 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.00214/1.035, allocations: 0.9682 MB / 0.8036 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002897/1.038, allocations: 2.321 MB / 0.8058 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000555/1.039, allocations: 53.7 kB / 0.8059 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008919/1.04, allocations: 1.709 MB / 0.8076 GB, free: 130.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007861/1.041, allocations: 0.5926 MB / 0.8081 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001621/1.042, allocations: 0.6483 MB / 0.8088 GB, free: 129 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.436e-05/1.042, allocations: 307.8 kB / 0.8091 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003244/1.045, allocations: 2.437 MB / 0.8114 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003531/1.049, allocations: 3.206 MB / 0.8146 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006856/1.056, allocations: 5.769 MB / 0.8202 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.338e-05/1.056, allocations: 8 kB / 0.8202 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=287) (initialization): time 0.01352/1.069, allocations: 6.926 MB / 0.827 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.466e-05/1.069, allocations: 16 kB / 0.827 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-05/1.069, allocations: 27.98 kB / 0.827 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01443/1.084, allocations: 2.772 MB / 0.8297 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01058/1.094, allocations: 1.129 MB / 0.8308 GB, free: 105.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01166/1.106, allocations: 8.86 MB / 0.8395 GB, free: 96.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003388/1.11, allocations: 115.9 kB / 0.8396 GB, free: 96.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008228/1.11, allocations: 406.9 kB / 0.84 GB, free: 95.98 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.002163/1.113, allocations: 0.8757 MB / 0.8408 GB, free: 95.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008938/1.113, allocations: 257 kB / 0.8411 GB, free: 94.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01606/1.129, allocations: 6.808 MB / 0.8477 GB, free: 88.19 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-05/1.13, allocations: 16 kB / 0.8478 GB, free: 88.17 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/1.13, allocations: 4 kB / 0.8478 GB, free: 88.17 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.774e-05/1.13, allocations: 7.969 kB / 0.8478 GB, free: 88.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02072/1.15, allocations: 9.859 MB / 0.8574 GB, free: 78.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/1.15, allocations: 4 kB / 0.8574 GB, free: 78.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008083/1.158, allocations: 0.7163 MB / 0.8581 GB, free: 77.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01549/1.174, allocations: 2.943 MB / 0.861 GB, free: 74.53 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004259/1.174, allocations: 95.94 kB / 0.8611 GB, free: 74.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01339/1.188, allocations: 9.911 MB / 0.8707 GB, free: 64.07 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.001927/1.19, allocations: 0.7405 MB / 0.8715 GB, free: 63.31 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01288/1.202, allocations: 6.192 MB / 0.8775 GB, free: 57.06 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005938/1.203, allocations: 274.2 kB / 0.8778 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006274/1.204, allocations: 43.92 kB / 0.8778 GB, free: 56.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/1.205, allocations: 50.67 kB / 0.8779 GB, free: 56.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004593/1.206, allocations: 184.9 kB / 0.878 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002879/1.206, allocations: 182.6 kB / 0.8782 GB, free: 56.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002555/1.208, allocations: 1.919 MB / 0.8801 GB, free: 54.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/1.208, allocations: 0 / 0.8801 GB, free: 54.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003054/1.211, allocations: 0.8199 MB / 0.8809 GB, free: 53.59 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.01279/1.224, allocations: 6.634 MB / 0.8874 GB, free: 46.92 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009596/1.234, allocations: 4.661 MB / 0.8919 GB, free: 42.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/1.234, allocations: 6.656 kB / 0.8919 GB, free: 42.23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006061/1.24, allocations: 2.101 MB / 0.894 GB, free: 40.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/1.243, allocations: 0.543 MB / 0.8945 GB, free: 39.59 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.7074319310486317] Failed to read output from testmodel.py, exit status != 0: 1.2520315998699516 1.262818597 0.620872525 Calling exit ...