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.001059/0.001059, allocations: 84.44 kB / 19.18 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.0009265/0.0009265, allocations: 173.9 kB / 22.46 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.996/0.996, 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 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.08711/0.08711, allocations: 17.44 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 2.0.1-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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_,fileNamePrefix="Chemical_master_Chemical_Examples_GasSolubility_NIST_",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_,fileNamePrefix="Chemical_master_Chemical_Examples_GasSolubility_NIST_",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 413.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.774e-05/1.952e-05, allocations: 6.281 kB / 413.1 MB, free: 11.9 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 2.0.1-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 2.0.1-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 2.0.1-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.04479/0.04481, allocations: 41.37 MB / 454.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.1278/0.1726, allocations: 131.6 MB / 0.5724 GB, free: 10.99 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003009/0.1756, allocations: 83.31 kB / 0.5724 GB, free: 10.91 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003277/0.1789, allocations: 1.219 MB / 0.5736 GB, free: 9.684 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004788/0.1836, allocations: 1.59 MB / 0.5752 GB, free: 8.082 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00382/0.1875, allocations: 1.835 MB / 0.577 GB, free: 6.238 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.004876/0.1923, allocations: 3.734 MB / 0.5806 GB, free: 2.488 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009882/0.1933, allocations: 0.6087 MB / 0.5812 GB, free: 1.836 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2309/0.4242, allocations: 1.902 MB / 0.5831 GB, free: 21.7 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002733/0.427, allocations: 1.399 MB / 0.5844 GB, free: 21.7 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006505/0.4276, allocations: 294.8 kB / 0.5847 GB, free: 21.7 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00358/0.4312, allocations: 1.47 MB / 0.5862 GB, free: 21.7 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007814/0.432, allocations: 0.9716 MB / 0.5871 GB, free: 21.7 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001758/0.4337, allocations: 1.099 MB / 0.5882 GB, free: 21.7 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009686/0.4434, allocations: 5.381 MB / 0.5934 GB, free: 21.36 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.4434, allocations: 2.719 kB / 0.5934 GB, free: 21.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4434, allocations: 0.5312 kB / 0.5934 GB, free: 21.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001503/0.4436, allocations: 1.469 kB / 0.5934 GB, free: 21.36 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.006802/0.4504, allocations: 3.779 MB / 0.5971 GB, free: 19.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.4504, allocations: 8.438 kB / 0.5971 GB, free: 19.66 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004395/0.4509, allocations: 476.9 kB / 0.5976 GB, free: 19.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/0.4524, allocations: 0.7332 MB / 0.5983 GB, free: 19.38 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002787/0.4552, allocations: 1.85 MB / 0.6001 GB, free: 18.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002679/0.4554, allocations: 412.8 kB / 0.6005 GB, free: 18.69 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003109/0.4557, allocations: 306.1 kB / 0.6008 GB, free: 18.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009342/0.4651, allocations: 10.23 MB / 0.6108 GB, free: 18.49 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.902e-05/0.4651, allocations: 1.469 kB / 0.6108 GB, free: 18.49 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/0.4653, allocations: 125.7 kB / 0.6109 GB, free: 18.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003031/0.4656, allocations: 466.7 kB / 0.6114 GB, free: 18.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0143/0.4799, allocations: 19.22 MB / 0.6301 GB, free: 15.96 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.0223/0.5022, allocations: 17.11 MB / 0.6468 GB, free: 7.934 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00251/0.5047, allocations: 2.251 MB / 0.649 GB, free: 6.895 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/0.5063, allocations: 1.664 MB / 0.6507 GB, free: 6.137 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01031/0.5167, allocations: 7.991 MB / 0.6585 GB, free: 1.902 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.5167, allocations: 54.64 kB / 0.6585 GB, free: 1.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=122): time 2.745e-06/0.5167, allocations: 0 / 0.6585 GB, free: 1.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=171): time 0.04867/0.5654, allocations: 20.78 MB / 0.6788 GB, free: 13.75 MB / 0.5105 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.001302/0.5667, allocations: 0.9785 MB / 0.6798 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003195/0.5699, allocations: 2.368 MB / 0.6821 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009186/0.5708, allocations: 54.91 kB / 0.6821 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.5718, allocations: 1.727 MB / 0.6838 GB, free: 8.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006101/0.5724, allocations: 0.605 MB / 0.6844 GB, free: 7.973 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000888/0.5733, allocations: 0.6602 MB / 0.685 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.541e-05/0.5734, allocations: 301.1 kB / 0.6853 GB, free: 7.008 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002755/0.5761, allocations: 2.54 MB / 0.6878 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003681/0.5798, allocations: 3.307 MB / 0.691 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006828/0.5867, allocations: 5.955 MB / 0.6969 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.372e-05/0.5867, allocations: 8 kB / 0.6969 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01151/0.5982, allocations: 7.159 MB / 0.7039 GB, free: 3.656 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.176e-05/0.5982, allocations: 23.06 kB / 0.7039 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.343e-05/0.5983, allocations: 27.78 kB / 0.7039 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008428/0.6067, allocations: 2.821 MB / 0.7067 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0064/0.6131, allocations: 1.35 MB / 0.708 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008658/0.6218, allocations: 8.751 MB / 0.7165 GB, free: 6.398 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002682/0.6245, allocations: 149.3 kB / 0.7167 GB, free: 6.258 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008028/0.6253, allocations: 427.8 kB / 0.7171 GB, free: 5.84 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.002263/0.6275, allocations: 0.8821 MB / 0.7179 GB, free: 4.984 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007599/0.6283, allocations: 282.3 kB / 0.7182 GB, free: 4.707 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/0.6394, allocations: 7.078 MB / 0.7251 GB, free: 13.87 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.6394, allocations: 16 kB / 0.7251 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.6395, allocations: 9.078 kB / 0.7251 GB, free: 13.85 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.46e-05/0.6395, allocations: 10.66 kB / 0.7252 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01568/0.6552, allocations: 9.396 MB / 0.7343 GB, free: 4.395 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.6552, allocations: 4 kB / 0.7343 GB, free: 4.391 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004507/0.6597, allocations: 0.9445 MB / 0.7353 GB, free: 3.484 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008904/0.6686, allocations: 2.974 MB / 0.7382 GB, free: 0.543 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004281/0.669, allocations: 103.9 kB / 0.7383 GB, free: 452 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/0.6796, allocations: 9.755 MB / 0.7478 GB, free: 6.27 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.00106/0.6806, allocations: 0.7331 MB / 0.7485 GB, free: 5.523 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009915/0.6905, allocations: 6.655 MB / 0.755 GB, free: 14.84 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009262/0.6915, allocations: 262.2 kB / 0.7553 GB, free: 14.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003305/0.6918, allocations: 39.94 kB / 0.7553 GB, free: 14.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007619/0.6926, allocations: 74.67 kB / 0.7554 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003432/0.6929, allocations: 201.3 kB / 0.7556 GB, free: 14.29 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002146/0.6931, allocations: 198.6 kB / 0.7557 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002455/0.6956, allocations: 1.929 MB / 0.7576 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6956, allocations: 0 / 0.7576 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002918/0.6985, allocations: 0.8707 MB / 0.7585 GB, free: 11.29 MB / 0.5886 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.00958/0.7081, allocations: 7.062 MB / 0.7654 GB, free: 4.285 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.007746/0.7158, allocations: 4.897 MB / 0.7702 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/0.7158, allocations: 1.203 kB / 0.7702 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.004219/0.72, allocations: 2.221 MB / 0.7723 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/0.7223, allocations: 0.5446 MB / 0.7729 GB, free: 12.78 MB / 0.6042 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4683:9-4683:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:843:5-843: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.8189642066136003]