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.0007123/0.0007123, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001226/0.001226, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8659/0.8659, 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.08462/0.08462, allocations: 17.45 MB / 276.6 MB, free: 11.75 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 1.663e-06/1.663e-06, allocations: 0 / 411.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.988e-05/2.154e-05, allocations: 2.281 kB / 411.6 MB, free: 12.45 MB / 330.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.02633/0.02635, allocations: 32.43 MB / 444 MB, free: 8.242 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.1091/0.1355, allocations: 131.6 MB / 0.5621 GB, free: 5.539 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002144/0.1376, allocations: 91.31 kB / 0.5622 GB, free: 5.449 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002548/0.1402, allocations: 1.199 MB / 0.5633 GB, free: 4.242 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002941/0.1431, allocations: 1.594 MB / 0.5649 GB, free: 2.637 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00325/0.1464, allocations: 1.847 MB / 0.5667 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003787/0.1502, allocations: 3.719 MB / 0.5703 GB, free: 13.04 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000677/0.1508, allocations: 0.6089 MB / 0.5709 GB, free: 12.39 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.1523, allocations: 1.906 MB / 0.5728 GB, free: 10.48 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.1538, allocations: 1.399 MB / 0.5742 GB, free: 9.074 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002133/0.154, allocations: 296 kB / 0.5744 GB, free: 8.785 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002577/0.1566, allocations: 1.478 MB / 0.5759 GB, free: 7.305 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005085/0.1571, allocations: 0.9654 MB / 0.5768 GB, free: 6.336 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00103/0.1581, allocations: 1.099 MB / 0.5779 GB, free: 5.234 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1943/0.3524, allocations: 5.376 MB / 0.5831 GB, free: 23.68 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3524, allocations: 3.141 kB / 0.5832 GB, free: 23.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3524, allocations: 1.219 kB / 0.5832 GB, free: 23.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001776/0.3526, allocations: 0 / 0.5832 GB, free: 23.68 MB / 490.7 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.004954/0.3576, allocations: 3.779 MB / 0.5868 GB, free: 22.06 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.3576, allocations: 11.75 kB / 0.5869 GB, free: 22.06 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004325/0.358, allocations: 476.7 kB / 0.5873 GB, free: 22 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.3595, allocations: 0.7363 MB / 0.588 GB, free: 21.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002656/0.3622, allocations: 1.849 MB / 0.5898 GB, free: 21.28 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000296/0.3625, allocations: 410.9 kB / 0.5902 GB, free: 21.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003496/0.3628, allocations: 301.6 kB / 0.5905 GB, free: 21.08 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008498/0.3713, allocations: 10.24 MB / 0.6005 GB, free: 20.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.457e-05/0.3714, allocations: 2.594 kB / 0.6005 GB, free: 20.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/0.3715, allocations: 126.8 kB / 0.6006 GB, free: 20.88 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003297/0.3719, allocations: 467.4 kB / 0.6011 GB, free: 20.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01187/0.3837, allocations: 19.22 MB / 0.6198 GB, free: 20.41 MB / 490.7 MB 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.01952/0.4032, allocations: 17.11 MB / 0.6366 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/0.4054, allocations: 2.254 MB / 0.6388 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/0.4068, allocations: 1.665 MB / 0.6404 GB, free: 10.58 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008801/0.4156, allocations: 7.986 MB / 0.6482 GB, free: 7.082 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.4156, allocations: 52 kB / 0.6482 GB, free: 7.027 MB / 490.7 MB Notification: Performance of pre-optimization done (n=122): time 3.106e-06/0.4156, allocations: 2.688 kB / 0.6482 GB, free: 7.027 MB / 490.7 MB Notification: Performance of matching and sorting (n=171): time 0.04443/0.4601, allocations: 20.83 MB / 0.6686 GB, free: 7.277 MB / 0.4948 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.001264/0.4613, allocations: 0.9617 MB / 0.6695 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002558/0.4639, allocations: 2.373 MB / 0.6718 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000475/0.4644, allocations: 53.7 kB / 0.6719 GB, free: 3.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008269/0.4652, allocations: 1.727 MB / 0.6736 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005301/0.4657, allocations: 0.6016 MB / 0.6742 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008699/0.4666, allocations: 0.6602 MB / 0.6748 GB, free: 0.8477 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.587e-05/0.4666, allocations: 309.1 kB / 0.6751 GB, free: 0.543 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002727/0.4694, allocations: 2.533 MB / 0.6776 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003309/0.4727, allocations: 3.309 MB / 0.6808 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006339/0.479, allocations: 5.947 MB / 0.6866 GB, free: 4.199 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.757e-05/0.479, allocations: 8 kB / 0.6866 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.009721/0.4888, allocations: 7.168 MB / 0.6936 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.4888, allocations: 19.94 kB / 0.6936 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.488e-05/0.4888, allocations: 33.36 kB / 0.6937 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007906/0.4967, allocations: 2.821 MB / 0.6964 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005942/0.5027, allocations: 1.351 MB / 0.6977 GB, free: 9.059 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008352/0.511, allocations: 8.757 MB / 0.7063 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/0.5133, allocations: 146.5 kB / 0.7064 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007546/0.514, allocations: 427.8 kB / 0.7068 GB, free: 15.36 MB / 0.5417 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.001614/0.5156, allocations: 0.8812 MB / 0.7077 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005506/0.5162, allocations: 289 kB / 0.708 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/0.5276, allocations: 7.08 MB / 0.7149 GB, free: 7.32 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/0.5276, allocations: 16 kB / 0.7149 GB, free: 7.305 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.5276, allocations: 3.938 kB / 0.7149 GB, free: 7.301 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.053e-05/0.5276, allocations: 10.66 kB / 0.7149 GB, free: 7.293 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01449/0.5421, allocations: 9.402 MB / 0.7241 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.5421, allocations: 4 kB / 0.7241 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004374/0.5465, allocations: 0.939 MB / 0.725 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008639/0.5552, allocations: 2.979 MB / 0.7279 GB, free: 9.988 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003876/0.5555, allocations: 99.95 kB / 0.728 GB, free: 9.891 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01015/0.5657, allocations: 9.75 MB / 0.7375 GB, free: 15.72 MB / 0.573 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.001033/0.5667, allocations: 0.7437 MB / 0.7383 GB, free: 14.96 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009985/0.5767, allocations: 6.653 MB / 0.7448 GB, free: 8.289 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006628/0.5774, allocations: 266.3 kB / 0.745 GB, free: 8.027 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000349/0.5777, allocations: 39.94 kB / 0.7451 GB, free: 7.988 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007718/0.5785, allocations: 74.61 kB / 0.7451 GB, free: 7.918 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003625/0.5789, allocations: 196.4 kB / 0.7453 GB, free: 7.73 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002048/0.5791, allocations: 191.9 kB / 0.7455 GB, free: 7.543 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001934/0.581, allocations: 1.928 MB / 0.7474 GB, free: 5.605 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.9e-07/0.581, allocations: 0 / 0.7474 GB, free: 5.605 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002364/0.5834, allocations: 0.8785 MB / 0.7482 GB, free: 4.727 MB / 0.573 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.009513/0.5929, allocations: 7.055 MB / 0.7551 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.007604/0.6005, allocations: 4.907 MB / 0.7599 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.6005, allocations: 0 / 0.7599 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.003794/0.6043, allocations: 2.209 MB / 0.7621 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/0.6062, allocations: 0.5615 MB / 0.7626 GB, free: 6.172 MB / 0.5886 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.331099722534418] Failed to read output from testmodel.py, exit status != 0: 0.7525547472760081 0.6216857219999999 0.26743751499999996 Calling exit ...