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.001479/0.001479, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001726/0.001726, allocations: 218.1 kB / 22.25 MB, free: 5.102 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.358/1.358, allocations: 230.6 MB / 256 MB, free: 7.809 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.1333/0.1333, allocations: 23.93 MB / 336.4 MB, free: 10.93 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.001922/0.001922, allocations: 68.17 kB / 471.2 MB, free: 7.477 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3078, allocations: 59.87 MB / 0.5186 GB, free: 9.562 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.07321/0.381, allocations: 31.46 MB / 0.5493 GB, free: 8.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1611/0.5422, allocations: 129.6 MB / 0.6758 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002412/0.5446, allocations: 55.69 kB / 0.6759 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003457/0.5481, allocations: 1.083 MB / 0.677 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004029/0.5521, allocations: 1.257 MB / 0.6782 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00375/0.5558, allocations: 1.537 MB / 0.6797 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00528/0.5611, allocations: 3.312 MB / 0.6829 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.5621, allocations: 0.6121 MB / 0.6835 GB, free: 448 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.5636, allocations: 1.175 MB / 0.6847 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002194/0.5658, allocations: 1.623 MB / 0.6862 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003571/0.5661, allocations: 288 kB / 0.6865 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002698/0.5688, allocations: 1.178 MB / 0.6877 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007236/0.5695, allocations: 0.8524 MB / 0.6885 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001295/0.5708, allocations: 1.278 MB / 0.6897 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006438/0.5773, allocations: 5.082 MB / 0.6947 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5773, allocations: 3.938 kB / 0.6947 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5773, allocations: 4 kB / 0.6947 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.938e-05/0.5773, allocations: 4 kB / 0.6947 GB, free: 4.914 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.006135/0.5835, allocations: 3.661 MB / 0.6983 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.5835, allocations: 12.03 kB / 0.6983 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005407/0.584, allocations: 469.5 kB / 0.6988 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00206/0.5861, allocations: 0.701 MB / 0.6994 GB, free: 16 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002171/0.5883, allocations: 1.289 MB / 0.7007 GB, free: 14.69 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003536/0.5886, allocations: 400.6 kB / 0.7011 GB, free: 14.26 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004084/0.589, allocations: 300.3 kB / 0.7014 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0119/0.6009, allocations: 9.849 MB / 0.711 GB, free: 4.086 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.361e-05/0.601, allocations: 3.938 kB / 0.711 GB, free: 4.082 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000224/0.6012, allocations: 116 kB / 0.7111 GB, free: 3.969 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004988/0.6017, allocations: 458.9 kB / 0.7115 GB, free: 3.52 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01965/0.6214, allocations: 18.12 MB / 0.7292 GB, free: 1.387 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.2268/0.8481, allocations: 16.51 MB / 0.7454 GB, free: 180.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003024/0.8512, allocations: 2.18 MB / 0.7475 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002029/0.8532, allocations: 1.58 MB / 0.749 GB, free: 179.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0136/0.8668, allocations: 7.638 MB / 0.7565 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.8668, allocations: 44.06 kB / 0.7565 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=119): time 2.945e-06/0.8668, allocations: 3.906 kB / 0.7565 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=168): time 0.08184/0.9487, allocations: 20.53 MB / 0.7766 GB, free: 161 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.002213/0.9509, allocations: 0.9762 MB / 0.7775 GB, free: 160 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002234/0.9531, allocations: 2.359 MB / 0.7798 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005731/0.9537, allocations: 53.7 kB / 0.7799 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007057/0.9544, allocations: 1.699 MB / 0.7816 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005663/0.9549, allocations: 0.5986 MB / 0.7821 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/0.9561, allocations: 0.6483 MB / 0.7828 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.485e-05/0.9561, allocations: 305.1 kB / 0.7831 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003036/0.9591, allocations: 2.475 MB / 0.7855 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003332/0.9625, allocations: 3.236 MB / 0.7886 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006466/0.9689, allocations: 5.825 MB / 0.7943 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/0.9689, allocations: 8 kB / 0.7943 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=287) (initialization): time 0.01307/0.982, allocations: 6.974 MB / 0.8011 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.982, allocations: 16 kB / 0.8012 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-05/0.9821, allocations: 35.03 kB / 0.8012 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01576/0.9978, allocations: 2.773 MB / 0.8039 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01161/1.009, allocations: 1.144 MB / 0.805 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01112/1.021, allocations: 8.782 MB / 0.8136 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003441/1.024, allocations: 130.6 kB / 0.8137 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005456/1.025, allocations: 411.8 kB / 0.8141 GB, free: 121.7 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.001589/1.026, allocations: 0.8761 MB / 0.815 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006137/1.027, allocations: 257 kB / 0.8152 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01563/1.042, allocations: 6.858 MB / 0.8219 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/1.042, allocations: 22.69 kB / 0.8219 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/1.042, allocations: 0 / 0.8219 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.921e-05/1.042, allocations: 7.969 kB / 0.8219 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01849/1.061, allocations: 9.152 MB / 0.8309 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/1.061, allocations: 4 kB / 0.8309 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00882/1.07, allocations: 0.7361 MB / 0.8316 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01677/1.087, allocations: 2.927 MB / 0.8345 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004128/1.087, allocations: 91.95 kB / 0.8345 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01337/1.1, allocations: 9.773 MB / 0.8441 GB, free: 90.56 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.002033/1.102, allocations: 0.7393 MB / 0.8448 GB, free: 89.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01335/1.116, allocations: 6.307 MB / 0.851 GB, free: 83.44 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005798/1.116, allocations: 266.4 kB / 0.8512 GB, free: 83.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004789/1.117, allocations: 39.95 kB / 0.8513 GB, free: 83.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/1.118, allocations: 62.61 kB / 0.8513 GB, free: 83.08 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004161/1.119, allocations: 196.9 kB / 0.8515 GB, free: 82.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000235/1.119, allocations: 175.9 kB / 0.8517 GB, free: 82.72 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001921/1.121, allocations: 1.919 MB / 0.8536 GB, free: 80.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/1.121, allocations: 0 / 0.8536 GB, free: 80.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002555/1.123, allocations: 0.8199 MB / 0.8544 GB, free: 79.97 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.01297/1.136, allocations: 6.72 MB / 0.8609 GB, free: 73.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009992/1.146, allocations: 4.724 MB / 0.8655 GB, free: 68.45 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/1.146, allocations: 0 / 0.8655 GB, free: 68.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006315/1.153, allocations: 2.136 MB / 0.8676 GB, free: 66.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002271/1.155, allocations: 0.5305 MB / 0.8681 GB, free: 65.8 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: 3.4338180310151074] Failed to read output from testmodel.py, exit status != 0: 1.162009677005699 1.170841047 0.5914893440000001 Calling exit ...