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.001746/0.001746, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002127/0.002127, allocations: 219 kB / 23.03 MB, free: 4.922 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.1404/0.1404, allocations: 23.91 MB / 337.1 MB, free: 10.94 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_,fileNamePrefix="Chemical_master_Chemical_Examples_GasSolubility_NIST_",fmuType="cs",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.00206/0.00206, allocations: 67.91 kB / 471.9 MB, free: 7.492 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3284, allocations: 59.86 MB / 0.5193 GB, free: 9.504 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1562:5-1562: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:1562:5-1562: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:1817:5-1817: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:1817:5-1817: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.08213/0.4105, allocations: 31.2 MB / 0.5498 GB, free: 8.746 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1824/0.593, allocations: 129.5 MB / 0.6762 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003345/0.5963, allocations: 39.75 kB / 0.6763 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004271/0.6006, allocations: 1.157 MB / 0.6774 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005437/0.606, allocations: 1.233 MB / 0.6786 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005312/0.6113, allocations: 1.56 MB / 0.6801 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007162/0.6185, allocations: 3.32 MB / 0.6834 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/0.6198, allocations: 0.6122 MB / 0.684 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002065/0.6219, allocations: 1.16 MB / 0.6851 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00222/0.6241, allocations: 1.381 MB / 0.6864 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004942/0.6246, allocations: 304 kB / 0.6867 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003532/0.6281, allocations: 1.268 MB / 0.688 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008845/0.629, allocations: 0.9226 MB / 0.6889 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00163/0.6307, allocations: 1.325 MB / 0.6902 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007945/0.6386, allocations: 5.273 MB / 0.6953 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.632e-05/0.6386, allocations: 0 / 0.6953 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.357e-06/0.6386, allocations: 0 / 0.6953 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001445/0.6388, allocations: 0 / 0.6953 GB, free: 5.121 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.007729/0.6465, allocations: 3.728 MB / 0.699 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.6466, allocations: 8.031 kB / 0.699 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001126/0.6467, allocations: 86 kB / 0.699 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005499/0.6472, allocations: 469.5 kB / 0.6995 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002496/0.6497, allocations: 0.7557 MB / 0.7002 GB, free: 20 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002724/0.6524, allocations: 1.551 MB / 0.7017 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005506/0.653, allocations: 0.5318 MB / 0.7023 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004129/0.6534, allocations: 296.1 kB / 0.7025 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01442/0.6678, allocations: 11.97 MB / 0.7142 GB, free: 1.574 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.265e-05/0.6679, allocations: 0 / 0.7142 GB, free: 1.574 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002443/0.6681, allocations: 116 kB / 0.7143 GB, free: 1.461 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005625/0.6687, allocations: 494.9 kB / 0.7148 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2759/0.9446, allocations: 20.77 MB / 0.7351 GB, free: 186.6 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.03969/0.9843, allocations: 28.32 MB / 0.7628 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005685/0.99, allocations: 5.386 MB / 0.768 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003869/0.9939, allocations: 4.197 MB / 0.7721 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001753/0.9956, allocations: 0.6951 MB / 0.7728 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.9956, allocations: 62.44 kB / 0.7729 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=134): time 3.617e-06/0.9956, allocations: 0 / 0.7729 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=201): time 0.1219/1.118, allocations: 40.93 MB / 0.8128 GB, free: 125 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02099/1.139, allocations: 12.55 MB / 0.8251 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003853/1.142, allocations: 3.61 MB / 0.8286 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001106/1.144, allocations: 53.7 kB / 0.8287 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008719/1.144, allocations: 1.533 MB / 0.8302 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001071/1.145, allocations: 0.7048 MB / 0.8308 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001897/1.147, allocations: 0.7244 MB / 0.8315 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.552e-05/1.147, allocations: 312.3 kB / 0.8318 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007364/1.155, allocations: 7.198 MB / 0.8389 GB, free: 98.15 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007703/1.162, allocations: 7.544 MB / 0.8462 GB, free: 90.46 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01196/1.174, allocations: 10.04 MB / 0.856 GB, free: 80.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.458e-05/1.174, allocations: 4 kB / 0.856 GB, free: 80.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.02299/1.197, allocations: 15.87 MB / 0.8715 GB, free: 64.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/1.197, allocations: 10.72 kB / 0.8716 GB, free: 64.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/1.197, allocations: 8 kB / 0.8716 GB, free: 64.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02176/1.219, allocations: 5.465 MB / 0.8769 GB, free: 58.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01495/1.234, allocations: 1.568 MB / 0.8784 GB, free: 57.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01602/1.25, allocations: 15.46 MB / 0.8935 GB, free: 41.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005545/1.256, allocations: 246.3 kB / 0.8938 GB, free: 41.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001402/1.257, allocations: 0.4958 MB / 0.8943 GB, free: 40.91 MB / 0.5606 GB 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 (209): * Single equations (assignments): 202 * 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.0032/1.26, allocations: 0.8513 MB / 0.8951 GB, free: 40.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001769/1.262, allocations: 325.8 kB / 0.8954 GB, free: 39.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02604/1.288, allocations: 11.77 MB / 0.9069 GB, free: 27.99 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02042/1.309, allocations: 9.345 MB / 0.916 GB, free: 18.64 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.463e-05/1.309, allocations: 6.766 kB / 0.916 GB, free: 18.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-05/1.309, allocations: 7.969 kB / 0.916 GB, free: 18.63 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03057/1.339, allocations: 15.77 MB / 0.9314 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.408e-05/1.339, allocations: 11.94 kB / 0.9314 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007862/1.347, allocations: 0.7894 MB / 0.9322 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02446/1.372, allocations: 4.138 MB / 0.9363 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007616/1.372, allocations: 119.9 kB / 0.9364 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02364/1.396, allocations: 12.66 MB / 0.9487 GB, free: 0.5508 MB / 0.5762 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.2889/1.685, allocations: 0.7521 MB / 0.9495 GB, free: 193.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02345/1.708, allocations: 11.01 MB / 0.9602 GB, free: 190.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/1.71, allocations: 457.4 kB / 0.9607 GB, free: 190.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006893/1.71, allocations: 47.86 kB / 0.9607 GB, free: 190.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001794/1.712, allocations: 105.2 kB / 0.9608 GB, free: 190.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007836/1.713, allocations: 280.2 kB / 0.9611 GB, free: 190.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000415/1.713, allocations: 231.2 kB / 0.9613 GB, free: 190.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004471/1.718, allocations: 3.22 MB / 0.9644 GB, free: 189 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/1.718, allocations: 0 / 0.9644 GB, free: 189 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004495/1.722, allocations: 1.182 MB / 0.9656 GB, free: 188.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * 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 (148): * Single equations (assignments): 143 * 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.02056/1.743, allocations: 10.62 MB / 0.976 GB, free: 184.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01547/1.758, allocations: 9.638 MB / 0.9854 GB, free: 180.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.66e-05/1.758, allocations: 0 / 0.9854 GB, free: 180.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007461/1.766, allocations: 3.232 MB / 0.9885 GB, free: 177.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003434/1.769, allocations: 0.69 MB / 0.9892 GB, free: 177.4 MB / 0.5762 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.260402970947325] Failed to read output from testmodel.py, exit status != 0: 1.778646405087784 1.788404855 1.147432789 Calling exit ...