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.001685/0.001685, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002261/0.002261, allocations: 214.5 kB / 22.25 MB, free: 5.258 MB / 14.72 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.1419/0.1419, allocations: 23.99 MB / 336.4 MB, free: 10.84 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 63.91 kB / 471.3 MB, free: 7.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3463, allocations: 59.88 MB / 0.5187 GB, free: 9.484 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1585:5-1585: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:1585:5-1585: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:1841:5-1841: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:1841:5-1841: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.08053/0.4268, allocations: 31.79 MB / 0.5498 GB, free: 8.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1955/0.6223, allocations: 129.8 MB / 0.6766 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003756/0.626, allocations: 51.69 kB / 0.6766 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004805/0.6308, allocations: 1.083 MB / 0.6777 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005928/0.6368, allocations: 1.288 MB / 0.6789 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006047/0.6428, allocations: 1.599 MB / 0.6805 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007739/0.6506, allocations: 3.367 MB / 0.6838 GB, free: 248 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001706/0.6523, allocations: 0.605 MB / 0.6844 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002538/0.6548, allocations: 1.195 MB / 0.6855 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003309/0.6581, allocations: 1.478 MB / 0.687 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0009562/0.6591, allocations: 296 kB / 0.6873 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004272/0.6633, allocations: 1.206 MB / 0.6884 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001601/0.6649, allocations: 0.8641 MB / 0.6893 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003019/0.668, allocations: 1.297 MB / 0.6905 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009969/0.6779, allocations: 5.199 MB / 0.6956 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.6779, allocations: 3.938 kB / 0.6956 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.915e-06/0.6779, allocations: 4 kB / 0.6956 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001954/0.6781, allocations: 0 / 0.6956 GB, free: 4.008 MB / 0.5294 GB 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.007944/0.6861, allocations: 3.716 MB / 0.6993 GB, free: 244 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.6861, allocations: 8.031 kB / 0.6993 GB, free: 236 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006022/0.6867, allocations: 474 kB / 0.6997 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002005/0.6887, allocations: 0.701 MB / 0.7004 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002378/0.6911, allocations: 1.313 MB / 0.7017 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003925/0.6915, allocations: 408.8 kB / 0.7021 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004221/0.6919, allocations: 312.2 kB / 0.7024 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01326/0.7052, allocations: 10.24 MB / 0.7124 GB, free: 2.691 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.669e-05/0.7052, allocations: 4 kB / 0.7124 GB, free: 2.688 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000229/0.7055, allocations: 116 kB / 0.7125 GB, free: 2.574 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005411/0.706, allocations: 463.1 kB / 0.7129 GB, free: 2.121 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2841/0.9901, allocations: 19.22 MB / 0.7317 GB, free: 187.2 MB / 0.5606 GB 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.03508/1.025, allocations: 17.09 MB / 0.7484 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003869/1.029, allocations: 2.224 MB / 0.7506 GB, free: 178.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002684/1.032, allocations: 1.644 MB / 0.7522 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01699/1.049, allocations: 7.992 MB / 0.76 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/1.049, allocations: 48.44 kB / 0.76 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=122): time 4.408e-06/1.049, allocations: 3.375 kB / 0.76 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=171): time 0.0838/1.133, allocations: 20.66 MB / 0.7802 GB, free: 157.3 MB / 0.5606 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.002115/1.135, allocations: 0.9791 MB / 0.7811 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00335/1.138, allocations: 2.371 MB / 0.7835 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000807/1.139, allocations: 53.7 kB / 0.7835 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001005/1.14, allocations: 1.733 MB / 0.7852 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001084/1.141, allocations: 0.6105 MB / 0.7858 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001918/1.143, allocations: 0.6485 MB / 0.7864 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.342e-05/1.143, allocations: 305.1 kB / 0.7867 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003567/1.146, allocations: 2.455 MB / 0.7891 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00383/1.15, allocations: 3.211 MB / 0.7923 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007821/1.158, allocations: 5.905 MB / 0.798 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.779e-05/1.158, allocations: 11.94 kB / 0.798 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01432/1.172, allocations: 7.013 MB / 0.8049 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.216e-05/1.173, allocations: 12 kB / 0.8049 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-05/1.173, allocations: 28 kB / 0.8049 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0146/1.187, allocations: 2.787 MB / 0.8076 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01157/1.199, allocations: 1.342 MB / 0.809 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01119/1.21, allocations: 8.751 MB / 0.8175 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003865/1.214, allocations: 146.5 kB / 0.8176 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/1.215, allocations: 403.8 kB / 0.818 GB, free: 117.5 MB / 0.5606 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.002357/1.217, allocations: 0.8784 MB / 0.8189 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009734/1.218, allocations: 266.2 kB / 0.8191 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01574/1.234, allocations: 7.018 MB / 0.826 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/1.234, allocations: 16 kB / 0.826 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/1.234, allocations: 0 / 0.826 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.636e-05/1.234, allocations: 7.969 kB / 0.826 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02167/1.256, allocations: 9.247 MB / 0.835 GB, free: 100.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/1.256, allocations: 7.984 kB / 0.835 GB, free: 100.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008708/1.264, allocations: 0.9418 MB / 0.836 GB, free: 99.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0155/1.28, allocations: 2.906 MB / 0.8388 GB, free: 96.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005601/1.28, allocations: 102.6 kB / 0.8389 GB, free: 96.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/1.294, allocations: 9.67 MB / 0.8483 GB, free: 86.06 MB / 0.5606 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.001819/1.295, allocations: 0.7315 MB / 0.8491 GB, free: 85.31 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01411/1.309, allocations: 6.565 MB / 0.8555 GB, free: 78.69 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008353/1.31, allocations: 262.3 kB / 0.8557 GB, free: 78.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008934/1.311, allocations: 47.88 kB / 0.8558 GB, free: 78.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001833/1.313, allocations: 78.69 kB / 0.8558 GB, free: 78.31 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006165/1.314, allocations: 200.9 kB / 0.856 GB, free: 78.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003626/1.314, allocations: 187.9 kB / 0.8562 GB, free: 77.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00268/1.317, allocations: 1.822 MB / 0.858 GB, free: 76.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.317, allocations: 0 / 0.858 GB, free: 76.09 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003639/1.32, allocations: 0.8277 MB / 0.8588 GB, free: 75.27 MB / 0.5606 GB 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 {(4,18), (4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01394/1.334, allocations: 6.94 MB / 0.8656 GB, free: 68.28 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01071/1.345, allocations: 4.825 MB / 0.8703 GB, free: 63.44 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/1.345, allocations: 4 kB / 0.8703 GB, free: 63.43 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006463/1.351, allocations: 2.197 MB / 0.8724 GB, free: 61.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003236/1.355, allocations: 0.5246 MB / 0.873 GB, free: 60.73 MB / 0.5606 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:823:5-823: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: 3.929934557992965] Failed to read output from testmodel.py, exit status != 0: 1.3638992169871926 1.374255398 0.6936529149999999 Calling exit ...