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.0007235/0.0007235, allocations: 80.44 kB / 19.17 MB, free: 0.7383 MB / 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.0007253/0.0007253, allocations: 165.9 kB / 22.45 MB, free: 2.102 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 0.8284/0.8284, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.0845/0.0845, allocations: 17.45 MB / 276.6 MB, free: 11.77 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: "" <> 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: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 411.6 MB, free: 264 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.998e-05/2.216e-05, allocations: 2.281 kB / 411.6 MB, free: 260 kB / 378.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.2784/0.2784, allocations: 32.4 MB / 444 MB, free: 43.72 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.1063/0.3846, allocations: 131.6 MB / 0.5621 GB, free: 6.309 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001548/0.3862, allocations: 82.72 kB / 0.5622 GB, free: 6.266 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002441/0.3886, allocations: 1.216 MB / 0.5633 GB, free: 5.418 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002715/0.3913, allocations: 1.593 MB / 0.5649 GB, free: 4.102 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003068/0.3944, allocations: 1.842 MB / 0.5667 GB, free: 2.637 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.003826/0.3982, allocations: 3.724 MB / 0.5703 GB, free: 416 kB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000744/0.399, allocations: 0.6052 MB / 0.5709 GB, free: 28 kB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002075/0.4011, allocations: 1.91 MB / 0.5728 GB, free: 14.84 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.4021, allocations: 1.397 MB / 0.5742 GB, free: 13.93 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002045/0.4023, allocations: 296 kB / 0.5744 GB, free: 13.64 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002381/0.4047, allocations: 1.474 MB / 0.5759 GB, free: 12.16 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0004627/0.4052, allocations: 0.9732 MB / 0.5768 GB, free: 11.19 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0006997/0.4059, allocations: 1.099 MB / 0.5779 GB, free: 10.09 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.005208/0.4111, allocations: 5.382 MB / 0.5832 GB, free: 4.688 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4111, allocations: 0 / 0.5832 GB, free: 4.688 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4111, allocations: 0 / 0.5832 GB, free: 4.688 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.479e-05/0.4112, allocations: 0 / 0.5832 GB, free: 4.688 MB / 474.8 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.00386/0.415, allocations: 3.779 MB / 0.5868 GB, free: 0.8555 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.4151, allocations: 16.03 kB / 0.5869 GB, free: 0.8398 MB / 474.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006273/0.4157, allocations: 478 kB / 0.5873 GB, free: 372 kB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.4168, allocations: 0.7328 MB / 0.588 GB, free: 15.63 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/0.4189, allocations: 1.852 MB / 0.5898 GB, free: 13.73 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002301/0.4191, allocations: 408.8 kB / 0.5902 GB, free: 13.29 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002434/0.4194, allocations: 300.3 kB / 0.5905 GB, free: 13 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007377/0.4267, allocations: 10.23 MB / 0.6005 GB, free: 2.742 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.174e-05/0.4268, allocations: 192 / 0.6005 GB, free: 2.742 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001569/0.4269, allocations: 127.9 kB / 0.6006 GB, free: 2.617 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002969/0.4272, allocations: 475 kB / 0.6011 GB, free: 2.152 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1681/0.5954, allocations: 19.21 MB / 0.6198 GB, free: 156.8 MB / 0.4949 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.01674/0.6121, allocations: 17.12 MB / 0.6366 GB, free: 148.9 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/0.614, allocations: 2.245 MB / 0.6388 GB, free: 147.8 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/0.6153, allocations: 1.664 MB / 0.6404 GB, free: 147.1 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008516/0.6238, allocations: 7.999 MB / 0.6482 GB, free: 143.6 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.6239, allocations: 49.31 kB / 0.6482 GB, free: 143.6 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=122): time 3.076e-06/0.6239, allocations: 0 / 0.6482 GB, free: 143.6 MB / 0.4949 GB Notification: Performance of matching and sorting (n=171): time 0.04352/0.6674, allocations: 20.7 MB / 0.6685 GB, free: 135.9 MB / 0.4949 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.001153/0.6685, allocations: 0.9705 MB / 0.6694 GB, free: 135.3 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002406/0.6709, allocations: 2.367 MB / 0.6717 GB, free: 134.3 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0003604/0.6713, allocations: 54.61 kB / 0.6718 GB, free: 134.3 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008264/0.6721, allocations: 1.732 MB / 0.6735 GB, free: 133 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006833/0.6728, allocations: 0.6014 MB / 0.674 GB, free: 132.5 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/0.6739, allocations: 0.6637 MB / 0.6747 GB, free: 132.3 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 2.768e-05/0.6739, allocations: 302 kB / 0.675 GB, free: 132 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002556/0.6764, allocations: 2.541 MB / 0.6775 GB, free: 130.9 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002629/0.6791, allocations: 3.303 MB / 0.6807 GB, free: 128.3 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004947/0.684, allocations: 5.953 MB / 0.6865 GB, free: 122.5 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.378e-05/0.684, allocations: 8 kB / 0.6865 GB, free: 122.5 MB / 0.4949 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.008192/0.6922, allocations: 7.16 MB / 0.6935 GB, free: 116.3 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.6923, allocations: 19.8 kB / 0.6935 GB, free: 116.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.811e-05/0.6923, allocations: 31.41 kB / 0.6935 GB, free: 116.2 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007484/0.6998, allocations: 2.817 MB / 0.6963 GB, free: 113.5 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005729/0.7055, allocations: 1.361 MB / 0.6976 GB, free: 112.1 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006677/0.7122, allocations: 8.741 MB / 0.7062 GB, free: 103 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00271/0.7149, allocations: 150.5 kB / 0.7063 GB, free: 102.8 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007324/0.7156, allocations: 419.8 kB / 0.7067 GB, free: 102.4 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * 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 (255): * Single equations (assignments): 250 * 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.00161/0.7172, allocations: 0.8824 MB / 0.7076 GB, free: 101.5 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005634/0.7178, allocations: 290.2 kB / 0.7078 GB, free: 101.2 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008789/0.7266, allocations: 7.085 MB / 0.7148 GB, free: 94.33 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.7266, allocations: 23.94 kB / 0.7148 GB, free: 94.31 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.7266, allocations: 0 / 0.7148 GB, free: 94.31 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.7266, allocations: 10.78 kB / 0.7148 GB, free: 94.3 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01139/0.738, allocations: 9.389 MB / 0.724 GB, free: 84.82 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.738, allocations: 4 kB / 0.724 GB, free: 84.82 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00398/0.742, allocations: 0.9431 MB / 0.7249 GB, free: 83.9 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007836/0.7498, allocations: 2.996 MB / 0.7278 GB, free: 80.93 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003172/0.7501, allocations: 95.95 kB / 0.7279 GB, free: 80.84 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007679/0.7578, allocations: 9.757 MB / 0.7374 GB, free: 70.62 MB / 0.4949 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.001305/0.7591, allocations: 0.7496 MB / 0.7382 GB, free: 69.86 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008663/0.7678, allocations: 6.649 MB / 0.7447 GB, free: 63.16 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000616/0.7684, allocations: 270.2 kB / 0.7449 GB, free: 62.89 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003497/0.7687, allocations: 39.95 kB / 0.745 GB, free: 62.86 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007614/0.7695, allocations: 78.61 kB / 0.745 GB, free: 62.78 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003192/0.7698, allocations: 192.9 kB / 0.7452 GB, free: 62.59 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001672/0.77, allocations: 195.9 kB / 0.7454 GB, free: 62.4 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001581/0.7716, allocations: 1.928 MB / 0.7473 GB, free: 60.46 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7716, allocations: 0 / 0.7473 GB, free: 60.46 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.002202/0.7738, allocations: 0.8785 MB / 0.7481 GB, free: 59.59 MB / 0.4949 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 (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.007788/0.7816, allocations: 7.039 MB / 0.755 GB, free: 52.56 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.006116/0.7877, allocations: 4.911 MB / 0.7598 GB, free: 47.64 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.7877, allocations: 4 kB / 0.7598 GB, free: 47.63 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003307/0.791, allocations: 2.221 MB / 0.762 GB, free: 45.38 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/0.7929, allocations: 0.547 MB / 0.7625 GB, free: 44.88 MB / 0.4949 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4676:9-4676:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836: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: 2.3727252213284373] Failed to read output from testmodel.py, exit status != 0: 0.7985597103834152 0.805347942 0.39280819899999997 Calling exit ...