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.0006988/0.0006988, allocations: 76.16 kB / 9.861 MB, free: 0.8281 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001007/0.001706, allocations: 443.8 kB / 10.29 MB, free: 404 kB / 10.45 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.0007035/0.0007035, allocations: 141.2 kB / 11.17 MB, free: 3 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008971/0.001601, allocations: 475.6 kB / 11.64 MB, free: 2.531 MB / 13.93 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.9062/0.9062, allocations: 177.2 MB / 189.5 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07652/0.9827, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.08463/0.08463, allocations: 17.44 MB / 261.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00911/0.09374, allocations: 6.967 MB / 268.3 MB, free: 6.395 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+3.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_,fileNamePrefix="Chemical_master_Chemical_Examples_GasSolubility_NIST_",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 269.6 MB, free: 5.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.528e-05, allocations: 6.25 kB / 269.6 MB, free: 5.172 MB / 266.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.1399/0.1399, allocations: 12.75 MB / 282.3 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1252/0.2651, allocations: 144.7 MB / 427 MB, free: 4.656 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/0.2668, allocations: 87.31 kB / 427.1 MB, free: 4.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002814/0.2696, allocations: 1.25 MB / 428.3 MB, free: 3.312 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002982/0.2726, allocations: 1.586 MB / 429.9 MB, free: 1.715 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1469/0.4195, allocations: 1.879 MB / 431.8 MB, free: 4.148 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004662/0.4242, allocations: 3.711 MB / 435.5 MB, free: 4.145 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009141/0.4251, allocations: 0.6344 MB / 436.1 MB, free: 3.977 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002675/0.4278, allocations: 2.017 MB / 438.1 MB, free: 3.789 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.4296, allocations: 1.374 MB / 439.5 MB, free: 3.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004814/0.4301, allocations: 293.4 kB / 439.8 MB, free: 3.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002472/0.4326, allocations: 1.479 MB / 441.3 MB, free: 3.613 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005324/0.4331, allocations: 0.8174 MB / 442.1 MB, free: 3.457 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008221/0.434, allocations: 0.9429 MB / 443 MB, free: 3.312 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002982/0.4369, allocations: 3.778 MB / 446.8 MB, free: 2.727 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-05/0.437, allocations: 2.906 kB / 446.8 MB, free: 2.727 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.437, allocations: 0.7812 kB / 446.8 MB, free: 2.727 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001212/0.4371, allocations: 2.406 kB / 446.8 MB, free: 2.727 MB / 410.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.003803/0.4409, allocations: 4.463 MB / 451.3 MB, free: 17.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.4409, allocations: 8.312 kB / 451.3 MB, free: 17.05 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000278/0.4412, allocations: 495.2 kB / 451.8 MB, free: 17 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/0.4425, allocations: 1.444 MB / 453.2 MB, free: 16.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.4439, allocations: 1.275 MB / 454.5 MB, free: 16.37 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/0.444, allocations: 409.4 kB / 454.9 MB, free: 16.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/0.4442, allocations: 303.4 kB / 455.2 MB, free: 16.17 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/0.4465, allocations: 3.147 MB / 458.3 MB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.291e-05/0.4466, allocations: 384 / 458.3 MB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.4467, allocations: 123.5 kB / 458.5 MB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002532/0.4469, allocations: 463.2 kB / 458.9 MB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002651/0.4496, allocations: 4.059 MB / 463 MB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01163/0.4612, allocations: 10.97 MB / 473.9 MB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.4623, allocations: 0.7319 MB / 474.7 MB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006206/0.4629, allocations: 384.3 kB / 475 MB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00864/0.4716, allocations: 5.405 MB / 480.5 MB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.4716, allocations: 41.38 kB / 480.5 MB, free: 13.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=122): time 3.005e-06/0.4716, allocations: 0 / 480.5 MB, free: 13.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=171): time 0.04787/0.5195, allocations: 10.99 MB / 491.5 MB, free: 7.004 MB / 426.7 MB 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.0009621/0.5204, allocations: 0.8551 MB / 492.3 MB, free: 6.246 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.5216, allocations: 1.718 MB / 494.1 MB, free: 5.195 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001687/0.5218, allocations: 52.2 kB / 494.1 MB, free: 5.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005554/0.5224, allocations: 1.347 MB / 495.5 MB, free: 4.168 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003964/0.5228, allocations: 0.6145 MB / 496.1 MB, free: 3.695 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007438/0.5235, allocations: 0.5115 MB / 496.6 MB, free: 3.449 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.932e-05/0.5236, allocations: 302 kB / 496.9 MB, free: 3.152 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/0.5248, allocations: 0.7944 MB / 497.7 MB, free: 2.523 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/0.5264, allocations: 1.542 MB / 499.2 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004086/0.5305, allocations: 2.764 MB / 0.4902 GB, free: 14.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.5305, allocations: 4 kB / 0.4902 GB, free: 14.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.005379/0.5359, allocations: 2.924 MB / 0.4931 GB, free: 12.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.5359, allocations: 16 kB / 0.4931 GB, free: 12.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.889e-05/0.5359, allocations: 24 kB / 0.4931 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00757/0.5435, allocations: 2.515 MB / 0.4956 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006085/0.5496, allocations: 1.514 MB / 0.497 GB, free: 8.609 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005765/0.5553, allocations: 6.456 MB / 0.5033 GB, free: 2.152 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.5567, allocations: 104 kB / 0.5034 GB, free: 2.055 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003472/0.5571, allocations: 311.8 kB / 0.5037 GB, free: 1.75 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * Number of states: 0 () * Number of discrete variables: 4 (CO2_g_25.substanceDefinitionVar.data.phase,CO2_g_25.substanceDefinitionVar.SelfClustering,water_25.substanceDefinitionVar.data.phase,water_25.substanceDefinitionVar.SelfClustering) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 249 * 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.0007939/0.5579, allocations: 273.6 kB / 0.504 GB, free: 1.512 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004664/0.5583, allocations: 251.7 kB / 0.5042 GB, free: 1.266 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006117/0.5645, allocations: 3.426 MB / 0.5076 GB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.5645, allocations: 20 kB / 0.5076 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5645, allocations: 0 / 0.5076 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.5645, allocations: 7.969 kB / 0.5076 GB, free: 13.83 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007866/0.5724, allocations: 4.882 MB / 0.5124 GB, free: 9.191 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.5724, allocations: 4 kB / 0.5124 GB, free: 9.188 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00416/0.5765, allocations: 1.08 MB / 0.5134 GB, free: 8.125 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/0.5767, allocations: 254 kB / 0.5137 GB, free: 7.879 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008649/0.5854, allocations: 2.934 MB / 0.5166 GB, free: 4.961 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001634/0.5856, allocations: 67.95 kB / 0.5166 GB, free: 4.895 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006342/0.5919, allocations: 7.087 MB / 0.5235 GB, free: 13.48 MB / 474.7 MB 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.0008676/0.5928, allocations: 0.7404 MB / 0.5243 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004373/0.5971, allocations: 2.483 MB / 0.5267 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002544/0.5974, allocations: 39.94 kB / 0.5267 GB, free: 10.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005797/0.598, allocations: 51.98 kB / 0.5268 GB, free: 10.12 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000304/0.5983, allocations: 172.7 kB / 0.5269 GB, free: 9.957 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001703/0.5984, allocations: 163.9 kB / 0.5271 GB, free: 9.797 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008127/0.5993, allocations: 0.9148 MB / 0.528 GB, free: 8.98 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5993, allocations: 0 / 0.528 GB, free: 8.98 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002405/0.6017, allocations: 0.8551 MB / 0.5288 GB, free: 8.125 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 {(4,18), (4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006168/0.6078, allocations: 3.225 MB / 0.532 GB, free: 4.926 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005064/0.6129, allocations: 2.452 MB / 0.5344 GB, free: 2.551 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.384e-05/0.6129, allocations: 36.94 kB / 0.5344 GB, free: 2.516 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002901/0.6158, allocations: 1.31 MB / 0.5357 GB, free: 1.223 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/0.6177, allocations: 0.846 MB / 0.5365 GB, free: 424 kB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4091:9-4091:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:743:5-743: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.024878527969122]