Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0008314/0.0008314, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000823/0.000823, allocations: 165.9 kB / 22.45 MB, free: 2.105 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.8943/0.8943, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.08802/0.08802, allocations: 17.38 MB / 276.6 MB, free: 11.84 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical_Examples_GasSolubility_NIST_",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST_",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.11e-07/9.11e-07, allocations: 0 / 411.4 MB, free: 440 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.534e-05, allocations: 2.281 kB / 411.4 MB, free: 436 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1564:5-1564: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.0/Interfaces.mo:1564:5-1564: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.0/Interfaces.mo:1819:5-1819: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.0/Interfaces.mo:1819:5-1819: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.02481/0.02482, allocations: 31.84 MB / 443.3 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2842/0.309, allocations: 129.6 MB / 0.5594 GB, free: 2.246 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00227/0.3113, allocations: 39.81 kB / 0.5595 GB, free: 2.207 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002823/0.3141, allocations: 1.156 MB / 0.5606 GB, free: 1.047 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002965/0.317, allocations: 1.264 MB / 0.5618 GB, free: 15.77 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00357/0.3206, allocations: 1.552 MB / 0.5634 GB, free: 14.21 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.004479/0.3251, allocations: 3.424 MB / 0.5667 GB, free: 10.78 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008555/0.3259, allocations: 0.5999 MB / 0.5673 GB, free: 10.14 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001972/0.3279, allocations: 1.75 MB / 0.569 GB, free: 8.391 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/0.3292, allocations: 0.9932 MB / 0.57 GB, free: 7.395 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003341/0.3295, allocations: 304 kB / 0.5703 GB, free: 7.098 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0024/0.3319, allocations: 1.252 MB / 0.5715 GB, free: 5.844 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004769/0.3324, allocations: 0.9303 MB / 0.5724 GB, free: 4.91 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007801/0.3332, allocations: 1.056 MB / 0.5734 GB, free: 3.852 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003891/0.3371, allocations: 5.254 MB / 0.5786 GB, free: 14.58 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3371, allocations: 3.984 kB / 0.5786 GB, free: 14.58 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3371, allocations: 0 / 0.5786 GB, free: 14.58 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.727e-05/0.3371, allocations: 11.88 kB / 0.5786 GB, free: 14.57 MB / 474.7 MB 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.003536/0.3406, allocations: 3.689 MB / 0.5822 GB, free: 10.83 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3407, allocations: 12.03 kB / 0.5822 GB, free: 10.82 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003414/0.341, allocations: 465.5 kB / 0.5826 GB, free: 10.35 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.3422, allocations: 0.7624 MB / 0.5834 GB, free: 9.594 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.3438, allocations: 1.538 MB / 0.5849 GB, free: 8.016 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000325/0.3441, allocations: 0.5357 MB / 0.5854 GB, free: 7.441 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002495/0.3443, allocations: 292.3 kB / 0.5857 GB, free: 7.156 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007869/0.3522, allocations: 11.96 MB / 0.5974 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.52e-05/0.3523, allocations: 8.312 kB / 0.5974 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00015/0.3524, allocations: 127.9 kB / 0.5975 GB, free: 11.03 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002869/0.3527, allocations: 486.9 kB / 0.598 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01315/0.3658, allocations: 20.73 MB / 0.6182 GB, free: 5.812 MB / 0.4948 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.2231/0.5889, allocations: 28.31 MB / 0.6458 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006096/0.595, allocations: 5.373 MB / 0.6511 GB, free: 144.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003789/0.5988, allocations: 4.186 MB / 0.6552 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001284/0.6001, allocations: 0.7044 MB / 0.6559 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.6001, allocations: 49 kB / 0.6559 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=133): time 4.299e-06/0.6001, allocations: 0 / 0.6559 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=200): time 0.07989/0.68, allocations: 40.66 MB / 0.6956 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01258/0.6926, allocations: 12.54 MB / 0.7079 GB, free: 107 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003183/0.6958, allocations: 3.624 MB / 0.7114 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001237/0.697, allocations: 57.7 kB / 0.7115 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006761/0.6977, allocations: 1.533 MB / 0.713 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001105/0.6988, allocations: 0.6939 MB / 0.7136 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001232/0.7, allocations: 0.7148 MB / 0.7143 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 3.954e-05/0.7, allocations: 309.1 kB / 0.7146 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005778/0.7058, allocations: 7.197 MB / 0.7217 GB, free: 93.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006252/0.7121, allocations: 7.541 MB / 0.729 GB, free: 85.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1078/0.8199, allocations: 41.75 MB / 0.7698 GB, free: 43.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.46e-05/0.8199, allocations: 4 kB / 0.7698 GB, free: 43.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.01605/0.836, allocations: 15.9 MB / 0.7853 GB, free: 27.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.836, allocations: 10.66 kB / 0.7853 GB, free: 27.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.483e-05/0.836, allocations: 8 kB / 0.7853 GB, free: 27.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01152/0.8476, allocations: 5.507 MB / 0.7907 GB, free: 22.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007368/0.8549, allocations: 1.564 MB / 0.7923 GB, free: 20.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01112/0.866, allocations: 15.47 MB / 0.8074 GB, free: 5.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0035/0.8695, allocations: 239.7 kB / 0.8076 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007146/0.8703, allocations: 0.4999 MB / 0.8081 GB, free: 4.445 MB / 0.4948 GB Warning: Assuming fixed start value for the following 1 variables: CO2_dissolutionP.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (208): * Single equations (assignments): 201 * Array equations: 2 * 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%), (4,3,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,25), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001923/0.8722, allocations: 0.8505 MB / 0.8089 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000741/0.8729, allocations: 325.8 kB / 0.8092 GB, free: 3.273 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2044/1.077, allocations: 11.79 MB / 0.8207 GB, free: 149.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01185/1.089, allocations: 9.342 MB / 0.8299 GB, free: 146.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/1.089, allocations: 3.031 kB / 0.8299 GB, free: 146.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-05/1.089, allocations: 7.031 kB / 0.8299 GB, free: 146.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02083/1.11, allocations: 15.67 MB / 0.8452 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/1.11, allocations: 9.625 kB / 0.8452 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003964/1.114, allocations: 0.7868 MB / 0.8459 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01196/1.126, allocations: 4.193 MB / 0.85 GB, free: 138.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005282/1.127, allocations: 118.2 kB / 0.8502 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01324/1.14, allocations: 12.66 MB / 0.8625 GB, free: 130.1 MB / 0.4948 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.001182/1.141, allocations: 0.7512 MB / 0.8633 GB, free: 129.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01402/1.155, allocations: 10.99 MB / 0.874 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009486/1.156, allocations: 447.5 kB / 0.8744 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005331/1.156, allocations: 56.31 kB / 0.8745 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/1.158, allocations: 105.3 kB / 0.8746 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007091/1.158, allocations: 278.1 kB / 0.8748 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002486/1.159, allocations: 226 kB / 0.875 GB, free: 124 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003236/1.162, allocations: 3.219 MB / 0.8782 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.41e-07/1.162, allocations: 0 / 0.8782 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003526/1.165, allocations: 1.19 MB / 0.8793 GB, free: 120 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 4 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],CO2_dissolutionP.rear.n_flow) * Number of discrete variables: 3 ($cse30,$cse26,$cse19) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 142 * 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%), (4,3,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,28), (9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01157/1.177, allocations: 10.6 MB / 0.8897 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0109/1.188, allocations: 9.632 MB / 0.8991 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/1.188, allocations: 4 kB / 0.8991 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004779/1.193, allocations: 3.228 MB / 0.9023 GB, free: 97.85 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002626/1.195, allocations: 0.6972 MB / 0.9029 GB, free: 97.26 MB / 0.4948 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4676:9-4676:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836: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.9190127570182085] Failed to read output from testmodel.py, exit status != 0: 1.2018880071118474 1.208418493 0.8699276300000001 Calling exit ...