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.001302/0.001302, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001388/0.001388, allocations: 217.8 kB / 22.25 MB, free: 5.102 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.425/1.425, allocations: 230.6 MB / 256 MB, free: 7.777 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.1434/0.1434, allocations: 23.93 MB / 336.4 MB, free: 10.92 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.001985/0.001985, allocations: 68.17 kB / 471.2 MB, free: 7.449 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3466, allocations: 59.87 MB / 0.5186 GB, free: 9.484 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1558:5-1558: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:1558:5-1558: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:1816:5-1816: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:1816:5-1816: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.08179/0.4284, allocations: 31.49 MB / 0.5494 GB, free: 8.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1909/0.6193, allocations: 129.6 MB / 0.6759 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003649/0.623, allocations: 51.69 kB / 0.6759 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004761/0.6277, allocations: 1.087 MB / 0.677 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005737/0.6335, allocations: 1.253 MB / 0.6782 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005109/0.6386, allocations: 1.529 MB / 0.6797 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00672/0.6453, allocations: 3.308 MB / 0.6829 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.6468, allocations: 0.6121 MB / 0.6835 GB, free: 420 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002391/0.6492, allocations: 1.187 MB / 0.6847 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003291/0.6524, allocations: 1.623 MB / 0.6863 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001039/0.6535, allocations: 288 kB / 0.6866 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004297/0.6578, allocations: 1.174 MB / 0.6877 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001472/0.6593, allocations: 0.8641 MB / 0.6886 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002659/0.6619, allocations: 1.266 MB / 0.6898 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00968/0.6716, allocations: 5.086 MB / 0.6948 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.6716, allocations: 0 / 0.6948 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6716, allocations: 0 / 0.6948 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002152/0.6718, allocations: 0 / 0.6948 GB, free: 4.887 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: 914 * Number of variables: 914 Notification: Performance of Generate backend data structure: time 0.009122/0.6809, allocations: 3.665 MB / 0.6983 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.259e-05/0.681, allocations: 12.03 kB / 0.6983 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001146/0.6822, allocations: 465.5 kB / 0.6988 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002653/0.6848, allocations: 0.7003 MB / 0.6995 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002887/0.6877, allocations: 1.297 MB / 0.7007 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004735/0.6882, allocations: 400.6 kB / 0.7011 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006723/0.6888, allocations: 301 kB / 0.7014 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01467/0.7035, allocations: 9.845 MB / 0.711 GB, free: 4.055 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000106/0.7036, allocations: 0 / 0.711 GB, free: 4.055 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005805/0.7042, allocations: 119.9 kB / 0.7111 GB, free: 3.938 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000569/0.7048, allocations: 466.9 kB / 0.7116 GB, free: 3.48 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02196/0.7267, allocations: 18.12 MB / 0.7293 GB, free: 1.352 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.294/1.021, allocations: 16.51 MB / 0.7454 GB, free: 180.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004004/1.025, allocations: 2.177 MB / 0.7475 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00264/1.027, allocations: 1.584 MB / 0.7491 GB, free: 179.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01676/1.044, allocations: 7.639 MB / 0.7565 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/1.044, allocations: 44.09 kB / 0.7566 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=119): time 4.168e-06/1.044, allocations: 1.156 kB / 0.7566 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=168): time 0.07949/1.124, allocations: 20.52 MB / 0.7766 GB, free: 161 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.001967/1.126, allocations: 0.9801 MB / 0.7776 GB, free: 160 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0028/1.128, allocations: 2.362 MB / 0.7799 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007144/1.129, allocations: 52.33 kB / 0.7799 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008886/1.13, allocations: 1.704 MB / 0.7816 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00094/1.131, allocations: 0.5964 MB / 0.7822 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001597/1.133, allocations: 0.6483 MB / 0.7828 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.662e-05/1.133, allocations: 301.1 kB / 0.7831 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003272/1.136, allocations: 2.478 MB / 0.7855 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003606/1.14, allocations: 3.234 MB / 0.7887 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007194/1.147, allocations: 5.826 MB / 0.7944 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.814e-05/1.147, allocations: 11.09 kB / 0.7944 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=287) (initialization): time 0.01337/1.16, allocations: 6.975 MB / 0.8012 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/1.16, allocations: 16 kB / 0.8012 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-05/1.16, allocations: 30.59 kB / 0.8012 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01353/1.174, allocations: 2.779 MB / 0.8039 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01007/1.184, allocations: 1.142 MB / 0.8051 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01068/1.194, allocations: 8.777 MB / 0.8136 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003387/1.198, allocations: 137.2 kB / 0.8138 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000902/1.199, allocations: 407.8 kB / 0.8141 GB, free: 121.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * 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 (251): * Single equations (assignments): 246 * 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,17), (3,4)} Notification: Performance of prepare postOptimizeDAE: time 0.002221/1.201, allocations: 0.8761 MB / 0.815 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000867/1.202, allocations: 262.3 kB / 0.8153 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01513/1.217, allocations: 6.861 MB / 0.822 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.563e-05/1.217, allocations: 16 kB / 0.822 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/1.217, allocations: 4 kB / 0.822 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.29e-05/1.217, allocations: 7.969 kB / 0.822 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01999/1.237, allocations: 9.148 MB / 0.8309 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.775e-05/1.237, allocations: 4 kB / 0.8309 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00758/1.245, allocations: 0.7348 MB / 0.8316 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01474/1.259, allocations: 2.923 MB / 0.8345 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005462/1.26, allocations: 95.94 kB / 0.8346 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01278/1.273, allocations: 9.784 MB / 0.8441 GB, free: 90.54 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.00171/1.274, allocations: 0.7377 MB / 0.8449 GB, free: 89.79 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01312/1.288, allocations: 6.297 MB / 0.851 GB, free: 83.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007015/1.288, allocations: 266.2 kB / 0.8513 GB, free: 83.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008252/1.289, allocations: 42.58 kB / 0.8513 GB, free: 83.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001762/1.291, allocations: 59.95 kB / 0.8514 GB, free: 83.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006909/1.292, allocations: 193 kB / 0.8515 GB, free: 82.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000424/1.292, allocations: 179.9 kB / 0.8517 GB, free: 82.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003229/1.295, allocations: 1.919 MB / 0.8536 GB, free: 80.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.295, allocations: 5.938 kB / 0.8536 GB, free: 80.78 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003773/1.299, allocations: 0.8199 MB / 0.8544 GB, free: 79.96 MB / 0.5606 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 (132): * Single equations (assignments): 127 * 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.01377/1.313, allocations: 6.725 MB / 0.861 GB, free: 73.19 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01028/1.323, allocations: 4.718 MB / 0.8656 GB, free: 68.44 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/1.323, allocations: 4 kB / 0.8656 GB, free: 68.44 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006185/1.329, allocations: 2.14 MB / 0.8677 GB, free: 66.27 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003188/1.332, allocations: 0.5276 MB / 0.8682 GB, free: 65.78 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.832077172002755] Failed to read output from testmodel.py, exit status != 0: 1.3415729879925493 1.352278535 0.678057049 Calling exit ...