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.000899/0.000899, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001702/0.001702, allocations: 181 kB / 23.36 MB, free: 1.133 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.9824/0.9824, allocations: 177.1 MB / 203.8 MB, free: 5.504 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.09277/0.09277, allocations: 17.46 MB / 277.7 MB, free: 11.46 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: translateModel(Chemical.Examples.GasSolubility_NIST_,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.GasSolubility_NIST_") translateModel(Chemical.Examples.GasSolubility_NIST_,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.GasSolubility_NIST_") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0.6094 kB / 300.7 MB, free: 1.785 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.967e-06/1.103e-05, allocations: 5.906 kB / 300.7 MB, free: 1.781 MB / 266.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.03409/0.0341, allocations: 42.15 MB / 342.9 MB, free: 10.25 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3311/0.3652, allocations: 144.6 MB / 487.5 MB, free: 25.6 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001851/0.3671, allocations: 89.5 kB / 487.6 MB, free: 25.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002344/0.3694, allocations: 1.247 MB / 488.8 MB, free: 25.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004534/0.374, allocations: 1.611 MB / 490.4 MB, free: 24.99 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002865/0.3768, allocations: 1.901 MB / 492.3 MB, free: 24.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002585/0.3794, allocations: 3.729 MB / 496.1 MB, free: 23.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005458/0.3799, allocations: 0.6283 MB / 496.7 MB, free: 23.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.3811, allocations: 1.914 MB / 498.6 MB, free: 23.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009932/0.3821, allocations: 1.378 MB / 500 MB, free: 23.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002008/0.3823, allocations: 293.8 kB / 0.4886 GB, free: 23.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001622/0.3839, allocations: 1.451 MB / 0.49 GB, free: 22.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003662/0.3843, allocations: 0.9706 MB / 0.4909 GB, free: 22.65 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005918/0.3849, allocations: 1.095 MB / 0.492 GB, free: 22.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002694/0.3876, allocations: 4.052 MB / 0.4959 GB, free: 20.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3876, allocations: 0 / 0.4959 GB, free: 20.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3876, allocations: 0 / 0.4959 GB, free: 20.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.022e-05/0.3876, allocations: 0 / 0.4959 GB, free: 20.3 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.002301/0.3899, allocations: 3.766 MB / 0.4996 GB, free: 17.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.69e-05/0.3899, allocations: 10.91 kB / 0.4996 GB, free: 17.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/0.3919, allocations: 1.356 MB / 0.501 GB, free: 17.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.3933, allocations: 1.281 MB / 0.5022 GB, free: 16.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002445/0.3935, allocations: 410.1 kB / 0.5026 GB, free: 16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003132/0.3938, allocations: 304.6 kB / 0.5029 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002912/0.3967, allocations: 3.144 MB / 0.506 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.227e-05/0.3968, allocations: 192 / 0.506 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.3969, allocations: 123 kB / 0.5061 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002641/0.3972, allocations: 467.8 kB / 0.5065 GB, free: 14.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002745/0.3999, allocations: 4.049 MB / 0.5105 GB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01136/0.4113, allocations: 10.22 MB / 0.5205 GB, free: 5.828 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008126/0.4121, allocations: 0.7294 MB / 0.5212 GB, free: 5.102 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004616/0.4125, allocations: 387.5 kB / 0.5215 GB, free: 4.727 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006404/0.4189, allocations: 5.082 MB / 0.5265 GB, free: 15.69 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.419, allocations: 51.55 kB / 0.5265 GB, free: 15.63 MB / 426.7 MB Notification: Performance of pre-optimization done (n=122): time 3.486e-06/0.419, allocations: 0 / 0.5265 GB, free: 15.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=171): time 0.03724/0.4562, allocations: 11.33 MB / 0.5376 GB, free: 4.297 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.001096/0.4573, allocations: 0.8567 MB / 0.5385 GB, free: 3.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.4585, allocations: 1.31 MB / 0.5397 GB, free: 2.367 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002532/0.4587, allocations: 57.7 kB / 0.5398 GB, free: 2.305 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008063/0.4595, allocations: 1.494 MB / 0.5412 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004991/0.46, allocations: 0.6032 MB / 0.5418 GB, free: 316 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007859/0.4608, allocations: 0.5301 MB / 0.5424 GB, free: 15.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.612e-05/0.4609, allocations: 301.1 kB / 0.5426 GB, free: 15.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.4622, allocations: 0.7964 MB / 0.5434 GB, free: 14.72 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001844/0.464, allocations: 1.552 MB / 0.5449 GB, free: 12.88 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003342/0.4673, allocations: 2.758 MB / 0.5476 GB, free: 9.824 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/0.4674, allocations: 8 kB / 0.5476 GB, free: 9.816 MB / 442.7 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.005894/0.4733, allocations: 2.943 MB / 0.5505 GB, free: 6.859 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/0.4733, allocations: 18.03 kB / 0.5505 GB, free: 6.844 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.4733, allocations: 24 kB / 0.5505 GB, free: 6.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009354/0.4827, allocations: 2.533 MB / 0.553 GB, free: 4.309 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006406/0.4891, allocations: 1.083 MB / 0.5541 GB, free: 3.227 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007244/0.4963, allocations: 6.295 MB / 0.5602 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/0.4985, allocations: 100 kB / 0.5603 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005573/0.4991, allocations: 346.5 kB / 0.5607 GB, free: 12.19 MB / 458.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.001259/0.5003, allocations: 259.9 kB / 0.5609 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006719/0.501, allocations: 207.8 kB / 0.5611 GB, free: 11.72 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008349/0.5093, allocations: 3.518 MB / 0.5645 GB, free: 8.25 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.5094, allocations: 20 kB / 0.5646 GB, free: 8.23 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.5094, allocations: 0 / 0.5646 GB, free: 8.23 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/0.5094, allocations: 11.91 kB / 0.5646 GB, free: 8.219 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01122/0.5206, allocations: 4.748 MB / 0.5692 GB, free: 3.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.5206, allocations: 4 kB / 0.5692 GB, free: 3.586 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004464/0.5251, allocations: 0.7757 MB / 0.57 GB, free: 2.812 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01131/0.5364, allocations: 2.908 MB / 0.5728 GB, free: 15.91 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003362/0.5367, allocations: 75.94 kB / 0.5729 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006794/0.5435, allocations: 6.923 MB / 0.5796 GB, free: 8.609 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.0008732/0.5444, allocations: 0.7467 MB / 0.5804 GB, free: 7.844 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0048/0.5492, allocations: 2.49 MB / 0.5828 GB, free: 5.301 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004024/0.5496, allocations: 172.9 kB / 0.583 GB, free: 5.133 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002489/0.5498, allocations: 47.89 kB / 0.583 GB, free: 5.086 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005458/0.5504, allocations: 59.97 kB / 0.5831 GB, free: 5.027 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003043/0.5507, allocations: 164.9 kB / 0.5832 GB, free: 4.867 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001733/0.5509, allocations: 159.9 kB / 0.5834 GB, free: 4.711 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000652/0.5515, allocations: 0.7055 MB / 0.5841 GB, free: 4.055 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.5515, allocations: 0 / 0.5841 GB, free: 4.055 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002262/0.5538, allocations: 0.8629 MB / 0.5849 GB, free: 3.191 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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.0006108/0.5544, allocations: 425.7 kB / 0.5853 GB, free: 2.828 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004605/0.559, allocations: 2.486 MB / 0.5877 GB, free: 344 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.622e-05/0.559, allocations: 26.12 kB / 0.5878 GB, free: 316 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002468/0.5615, allocations: 1.344 MB / 0.5891 GB, free: 14.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.563, allocations: 0.5312 MB / 0.5896 GB, free: 14.47 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4068:9-4068:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:790:5-790: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.2058740528300405]