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.0007693/0.0007693, allocations: 72.17 kB / 9.874 MB, free: 0.8125 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001105/0.001875, allocations: 443.8 kB / 10.31 MB, free: 388 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.0006799/0.0006799, allocations: 153.1 kB / 11.19 MB, free: 2.977 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009013/0.001581, allocations: 467.6 kB / 11.65 MB, free: 2.516 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 1.001/1.001, allocations: 177.1 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08579/1.087, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.08864/0.08864, allocations: 17.46 MB / 261.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01176/0.1004, allocations: 6.961 MB / 268.3 MB, free: 6.402 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.493e-06/1.493e-06, allocations: 0 / 269.6 MB, free: 5.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.551e-05/1.7e-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.1442/0.1443, allocations: 12.75 MB / 282.3 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1519/0.2961, allocations: 144.7 MB / 427 MB, free: 4.664 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002201/0.2983, allocations: 87.31 kB / 427.1 MB, free: 4.578 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002785/0.3011, allocations: 1.254 MB / 428.3 MB, free: 3.316 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003772/0.3049, allocations: 1.59 MB / 429.9 MB, free: 1.715 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1746/0.4794, allocations: 1.871 MB / 431.8 MB, free: 4.234 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00598/0.4854, allocations: 3.709 MB / 435.5 MB, free: 4.234 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.4866, allocations: 0.6302 MB / 436.1 MB, free: 4.066 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003865/0.4905, allocations: 2.014 MB / 438.1 MB, free: 3.879 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002523/0.493, allocations: 1.373 MB / 439.5 MB, free: 3.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006955/0.4937, allocations: 294.6 kB / 439.8 MB, free: 3.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003672/0.4974, allocations: 1.481 MB / 441.3 MB, free: 3.699 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008577/0.4982, allocations: 0.8196 MB / 442.1 MB, free: 3.543 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001749/0.5, allocations: 0.9398 MB / 443 MB, free: 3.398 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005202/0.5052, allocations: 3.782 MB / 446.8 MB, free: 2.812 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.917e-05/0.5052, allocations: 0 / 446.8 MB, free: 2.812 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.5052, allocations: 0.875 kB / 446.8 MB, free: 2.812 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001387/0.5053, allocations: 2.625 kB / 446.8 MB, free: 2.812 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.00459/0.5099, allocations: 4.461 MB / 451.3 MB, free: 17.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.51, allocations: 10.22 kB / 451.3 MB, free: 17.14 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003176/0.5103, allocations: 499.7 kB / 451.8 MB, free: 17.08 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/0.5117, allocations: 1.449 MB / 453.2 MB, free: 16.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.5133, allocations: 1.269 MB / 454.5 MB, free: 16.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002013/0.5135, allocations: 412.3 kB / 454.9 MB, free: 16.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000224/0.5137, allocations: 300.1 kB / 455.2 MB, free: 16.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002969/0.5167, allocations: 3.143 MB / 458.3 MB, free: 16.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.658e-05/0.5168, allocations: 3.469 kB / 458.3 MB, free: 16.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.5169, allocations: 131.8 kB / 458.5 MB, free: 16.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002924/0.5172, allocations: 460.7 kB / 458.9 MB, free: 16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003125/0.5203, allocations: 4.053 MB / 463 MB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01334/0.5336, allocations: 10.98 MB / 474 MB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000955/0.5346, allocations: 0.7359 MB / 474.7 MB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004785/0.5351, allocations: 386.5 kB / 475.1 MB, free: 14.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00801/0.5431, allocations: 5.401 MB / 480.5 MB, free: 13.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.5431, allocations: 44.09 kB / 480.5 MB, free: 13.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=122): time 3.236e-06/0.5431, allocations: 0.9688 kB / 480.5 MB, free: 13.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=171): time 0.03758/0.5807, allocations: 10.99 MB / 491.5 MB, free: 7.102 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.001066/0.5818, allocations: 0.8543 MB / 492.4 MB, free: 6.344 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/0.5836, allocations: 1.717 MB / 494.1 MB, free: 5.297 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003263/0.5839, allocations: 54.95 kB / 494.1 MB, free: 5.258 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006585/0.5845, allocations: 1.347 MB / 495.5 MB, free: 4.266 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005832/0.5851, allocations: 0.6093 MB / 496.1 MB, free: 3.797 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008192/0.5859, allocations: 0.5085 MB / 496.6 MB, free: 3.555 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.626e-05/0.586, allocations: 307.5 kB / 496.9 MB, free: 3.254 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.5873, allocations: 0.7918 MB / 497.7 MB, free: 2.629 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.5888, allocations: 1.54 MB / 499.2 MB, free: 1.012 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004188/0.593, allocations: 2.767 MB / 0.4902 GB, free: 14.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.652e-05/0.593, allocations: 8 kB / 0.4902 GB, free: 14.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.005394/0.5984, allocations: 2.922 MB / 0.4931 GB, free: 12.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.5984, allocations: 17.06 kB / 0.4931 GB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.307e-05/0.5985, allocations: 28 kB / 0.4931 GB, free: 12.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007191/0.6057, allocations: 2.528 MB / 0.4956 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006074/0.6117, allocations: 1.522 MB / 0.4971 GB, free: 8.711 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005721/0.6175, allocations: 6.458 MB / 0.5034 GB, free: 2.223 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002177/0.6196, allocations: 99.97 kB / 0.5035 GB, free: 2.125 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004857/0.6201, allocations: 315.8 kB / 0.5038 GB, free: 1.816 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.001402/0.6215, allocations: 264 kB / 0.504 GB, free: 1.582 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007975/0.6223, allocations: 255.7 kB / 0.5043 GB, free: 1.332 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006105/0.6284, allocations: 3.427 MB / 0.5076 GB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.6284, allocations: 19.98 kB / 0.5077 GB, free: 13.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.6284, allocations: 0 / 0.5077 GB, free: 13.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.6285, allocations: 11.97 kB / 0.5077 GB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008607/0.6371, allocations: 4.884 MB / 0.5124 GB, free: 9.254 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.6371, allocations: 4.656 kB / 0.5124 GB, free: 9.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004026/0.6411, allocations: 1.091 MB / 0.5135 GB, free: 8.184 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006106/0.6417, allocations: 254.7 kB / 0.5137 GB, free: 7.938 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008171/0.6499, allocations: 2.945 MB / 0.5166 GB, free: 5.023 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000266/0.6501, allocations: 71.94 kB / 0.5167 GB, free: 4.953 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006293/0.6564, allocations: 7.064 MB / 0.5236 GB, free: 13.56 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.0008528/0.6573, allocations: 0.7447 MB / 0.5243 GB, free: 12.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004754/0.662, allocations: 2.482 MB / 0.5267 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005237/0.6626, allocations: 43.92 kB / 0.5268 GB, free: 10.24 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006443/0.6632, allocations: 51.98 kB / 0.5268 GB, free: 10.19 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003402/0.6636, allocations: 173.6 kB / 0.527 GB, free: 10.03 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001762/0.6637, allocations: 159.9 kB / 0.5271 GB, free: 9.871 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001017/0.6647, allocations: 0.918 MB / 0.528 GB, free: 9.051 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6647, allocations: 4 kB / 0.528 GB, free: 9.047 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002655/0.6674, allocations: 0.8591 MB / 0.5289 GB, free: 8.188 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.00508/0.6725, allocations: 3.218 MB / 0.532 GB, free: 4.992 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004723/0.6772, allocations: 2.452 MB / 0.5344 GB, free: 2.621 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.914e-05/0.6773, allocations: 33.81 kB / 0.5345 GB, free: 2.586 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002302/0.6796, allocations: 1.324 MB / 0.5357 GB, free: 1.281 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/0.6815, allocations: 0.8443 MB / 0.5366 GB, free: 488 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.203218784183264]