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.0007752/0.0007752, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007619/0.0007619, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9114/0.9114, 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.09456/0.09456, allocations: 17.37 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 2.364e-06/2.364e-06, allocations: 0 / 411.4 MB, free: 444 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.751e-05/2.988e-05, allocations: 2.281 kB / 411.4 MB, free: 440 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.02604/0.02607, allocations: 31.84 MB / 443.3 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.3105/0.3365, allocations: 129.6 MB / 0.5594 GB, free: 2.121 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002374/0.3389, allocations: 35.81 kB / 0.5595 GB, free: 2.086 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003316/0.3422, allocations: 1.152 MB / 0.5606 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003734/0.346, allocations: 1.26 MB / 0.5618 GB, free: 15.66 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003737/0.3497, allocations: 1.556 MB / 0.5634 GB, free: 14.09 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.004936/0.3546, allocations: 3.434 MB / 0.5667 GB, free: 10.65 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.3557, allocations: 0.5921 MB / 0.5673 GB, free: 10.02 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002279/0.3579, allocations: 1.758 MB / 0.569 GB, free: 8.262 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.3591, allocations: 0.9971 MB / 0.57 GB, free: 7.262 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004473/0.3596, allocations: 304 kB / 0.5703 GB, free: 6.965 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003277/0.3629, allocations: 1.244 MB / 0.5715 GB, free: 5.719 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008299/0.3637, allocations: 0.9303 MB / 0.5724 GB, free: 4.785 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001586/0.3653, allocations: 1.056 MB / 0.5734 GB, free: 3.727 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007758/0.373, allocations: 5.258 MB / 0.5786 GB, free: 14.45 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.373, allocations: 0 / 0.5786 GB, free: 14.45 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.373, allocations: 0 / 0.5786 GB, free: 14.45 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001389/0.3732, allocations: 4 kB / 0.5786 GB, free: 14.45 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.005814/0.379, allocations: 3.697 MB / 0.5822 GB, free: 10.7 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/0.3791, allocations: 12.03 kB / 0.5822 GB, free: 10.69 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004814/0.3795, allocations: 461.6 kB / 0.5826 GB, free: 10.23 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.3811, allocations: 0.7585 MB / 0.5834 GB, free: 9.477 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002536/0.3837, allocations: 1.546 MB / 0.5849 GB, free: 7.891 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005251/0.3842, allocations: 0.5279 MB / 0.5854 GB, free: 7.324 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005375/0.3847, allocations: 304.3 kB / 0.5857 GB, free: 7.027 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/0.3958, allocations: 11.97 MB / 0.5974 GB, free: 11.03 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.979e-05/0.3958, allocations: 384 / 0.5974 GB, free: 11.03 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001721/0.396, allocations: 119.9 kB / 0.5975 GB, free: 10.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003587/0.3964, allocations: 486.9 kB / 0.5979 GB, free: 10.44 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01668/0.413, allocations: 20.74 MB / 0.6182 GB, free: 5.688 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.2186/0.6317, allocations: 28.31 MB / 0.6458 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005209/0.6369, allocations: 5.368 MB / 0.6511 GB, free: 144.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004127/0.641, allocations: 4.188 MB / 0.6552 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001515/0.6425, allocations: 0.7017 MB / 0.6559 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.6426, allocations: 50.31 kB / 0.6559 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=133): time 5.841e-06/0.6426, allocations: 0 / 0.6559 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=200): time 0.07698/0.7196, allocations: 40.66 MB / 0.6956 GB, free: 119.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.012/0.7315, allocations: 12.54 MB / 0.7079 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003004/0.7346, allocations: 3.625 MB / 0.7114 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009112/0.7355, allocations: 61.7 kB / 0.7115 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006396/0.7361, allocations: 1.535 MB / 0.713 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00104/0.7371, allocations: 0.6895 MB / 0.7136 GB, free: 101 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00125/0.7384, allocations: 0.7179 MB / 0.7143 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 2.391e-05/0.7384, allocations: 305.1 kB / 0.7146 GB, free: 100 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005538/0.744, allocations: 7.196 MB / 0.7217 GB, free: 92.81 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00601/0.75, allocations: 7.539 MB / 0.729 GB, free: 85.14 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1065/0.8565, allocations: 41.76 MB / 0.7698 GB, free: 43.64 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.746e-05/0.8565, allocations: 6.688 kB / 0.7698 GB, free: 43.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.01647/0.873, allocations: 15.89 MB / 0.7853 GB, free: 27.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.873, allocations: 12 kB / 0.7853 GB, free: 27.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/0.873, allocations: 8 kB / 0.7853 GB, free: 27.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01157/0.8846, allocations: 5.529 MB / 0.7907 GB, free: 22.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007207/0.8918, allocations: 1.557 MB / 0.7923 GB, free: 20.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01039/0.9022, allocations: 15.47 MB / 0.8074 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00388/0.9061, allocations: 238.3 kB / 0.8076 GB, free: 4.715 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009933/0.9071, allocations: 0.5077 MB / 0.8081 GB, free: 4.207 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.00219/0.9093, allocations: 0.8444 MB / 0.8089 GB, free: 3.359 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007872/0.91, allocations: 333.8 kB / 0.8092 GB, free: 3.031 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1964/1.106, allocations: 11.78 MB / 0.8207 GB, free: 149.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01099/1.117, allocations: 9.339 MB / 0.8298 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/1.117, allocations: 3.281 kB / 0.8299 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/1.117, allocations: 10.31 kB / 0.8299 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0168/1.134, allocations: 15.67 MB / 0.8452 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/1.134, allocations: 12.41 kB / 0.8452 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003559/1.138, allocations: 0.7808 MB / 0.8459 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01167/1.149, allocations: 4.202 MB / 0.85 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003235/1.15, allocations: 117 kB / 0.8501 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01249/1.162, allocations: 12.65 MB / 0.8625 GB, free: 129.9 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.001011/1.163, allocations: 0.757 MB / 0.8632 GB, free: 129.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01342/1.177, allocations: 10.98 MB / 0.874 GB, free: 124.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006974/1.177, allocations: 456.7 kB / 0.8744 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002829/1.178, allocations: 51.56 kB / 0.8745 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008748/1.179, allocations: 105.5 kB / 0.8746 GB, free: 124 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006143/1.179, allocations: 278.8 kB / 0.8748 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002256/1.179, allocations: 224.7 kB / 0.875 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002765/1.182, allocations: 3.22 MB / 0.8782 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/1.182, allocations: 2.188 kB / 0.8782 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002473/1.185, allocations: 1.181 MB / 0.8793 GB, free: 119.7 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.01028/1.195, allocations: 10.6 MB / 0.8897 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01004/1.205, allocations: 9.637 MB / 0.8991 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.034e-06/1.205, allocations: 0 / 0.8991 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004296/1.209, allocations: 3.231 MB / 0.9023 GB, free: 97.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002527/1.212, allocations: 0.694 MB / 0.9029 GB, free: 96.92 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.92892946023494] Failed to read output from testmodel.py, exit status != 0: 1.218701341189444 1.225195232 0.850569587 Calling exit ...