Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.GasSolubility_NIST_2.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.001652/0.001652, allocations: 113 kB / 18.94 MB, free: 2.934 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.001625/0.001625, allocations: 209 kB / 22.25 MB, free: 5.086 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 8.02 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.1684/0.1684, allocations: 23.9 MB / 336.3 MB, free: 11.17 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: translateModel(Chemical.Examples.GasSolubility_NIST_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.GasSolubility_NIST_2") translateModel(Chemical.Examples.GasSolubility_NIST_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.GasSolubility_NIST_2") [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.002229/0.002229, allocations: 75.89 kB / 471.7 MB, free: 7.148 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3521, allocations: 59.86 MB / 0.5191 GB, free: 9.801 MB / 382.1 MB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1697:7-1697:66: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:1697:7-1697:66: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. Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST_2): time 0.04408/0.3962, allocations: 29.87 MB / 0.5483 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1899/0.5861, allocations: 150.6 MB / 0.6953 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00205/0.5881, allocations: 35.81 kB / 0.6954 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003536/0.5917, allocations: 1.018 MB / 0.6963 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00335/0.595, allocations: 0.9115 MB / 0.6972 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003814/0.5988, allocations: 1.392 MB / 0.6986 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004513/0.6034, allocations: 2.28 MB / 0.7008 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009122/0.6043, allocations: 423.5 kB / 0.7012 GB, free: 15 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001449/0.6057, allocations: 0.8214 MB / 0.702 GB, free: 14.17 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002092/0.6078, allocations: 1.097 MB / 0.7031 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0005917/0.6084, allocations: 204 kB / 0.7033 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004481/0.6129, allocations: 1.658 MB / 0.7049 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0009194/0.6138, allocations: 0.619 MB / 0.7055 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001442/0.6152, allocations: 1.177 MB / 0.7067 GB, free: 9.406 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006609/0.6219, allocations: 4.099 MB / 0.7107 GB, free: 5.293 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.6219, allocations: 4 kB / 0.7107 GB, free: 5.289 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6219, allocations: 0 / 0.7107 GB, free: 5.289 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.437e-05/0.622, allocations: 0 / 0.7107 GB, free: 5.289 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 615 * Number of variables: 615 Notification: Performance of Generate backend data structure: time 0.00527/0.6272, allocations: 2.635 MB / 0.7132 GB, free: 2.609 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.6273, allocations: 8.031 kB / 0.7133 GB, free: 2.602 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009254/0.6282, allocations: 422.9 kB / 0.7137 GB, free: 2.188 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.6297, allocations: 0.9423 MB / 0.7146 GB, free: 1.203 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002543/0.63, allocations: 275.3 kB / 0.7148 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002665/0.6303, allocations: 192.4 kB / 0.715 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008662/0.6389, allocations: 6.951 MB / 0.7218 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.174e-05/0.639, allocations: 0 / 0.7218 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001826/0.6392, allocations: 79.98 kB / 0.7219 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003852/0.6395, allocations: 324.6 kB / 0.7222 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2424/0.8819, allocations: 12.16 MB / 0.7341 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02283/0.9047, allocations: 13.12 MB / 0.7469 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003116/0.9078, allocations: 1.77 MB / 0.7486 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001627/0.9095, allocations: 1.136 MB / 0.7497 GB, free: 182 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01238/0.9218, allocations: 6.904 MB / 0.7565 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.9219, allocations: 39.38 kB / 0.7565 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 2.835e-06/0.9219, allocations: 0 / 0.7565 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=94): time 0.01934/0.9412, allocations: 8.277 MB / 0.7646 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.9412, allocations: 61.97 kB / 0.7646 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00247/0.9437, allocations: 2.297 MB / 0.7669 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002155/0.9439, allocations: 42.92 kB / 0.7669 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005823/0.9445, allocations: 1.131 MB / 0.768 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002764/0.9448, allocations: 340.4 kB / 0.7684 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000517/0.9453, allocations: 352.2 kB / 0.7687 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.417e-05/0.9454, allocations: 348.6 kB / 0.769 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/0.9468, allocations: 1.218 MB / 0.7702 GB, free: 170 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/0.9483, allocations: 1.639 MB / 0.7718 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002932/0.9512, allocations: 2.954 MB / 0.7747 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.9512, allocations: 6.656 kB / 0.7747 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005091/0.9563, allocations: 3.415 MB / 0.778 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.9564, allocations: 12 kB / 0.7781 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.9564, allocations: 17.28 kB / 0.7781 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004872/0.9569, allocations: 191.8 kB / 0.7783 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00781/0.9647, allocations: 0.7439 MB / 0.779 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004381/0.9691, allocations: 5.733 MB / 0.7846 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.9705, allocations: 43.98 kB / 0.7846 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003464/0.9708, allocations: 231.9 kB / 0.7848 GB, free: 154.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 2 (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 (145): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(1,4,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00123/0.9721, allocations: 0.6425 MB / 0.7855 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000531/0.9726, allocations: 225.3 kB / 0.7857 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005033/0.9776, allocations: 2.525 MB / 0.7881 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.9776, allocations: 8 kB / 0.7882 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.9776, allocations: 3.938 kB / 0.7882 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.9776, allocations: 3.984 kB / 0.7882 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005956/0.9836, allocations: 3.754 MB / 0.7918 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.9836, allocations: 4 kB / 0.7918 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006874/0.9905, allocations: 491.4 kB / 0.7923 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004101/0.9909, allocations: 170.4 kB / 0.7925 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.939e-05/0.991, allocations: 27.98 kB / 0.7925 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004012/0.995, allocations: 5.762 MB / 0.7981 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.995, allocations: 7.969 kB / 0.7981 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003127/0.9981, allocations: 1.655 MB / 0.7997 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006523/0.9988, allocations: 258.4 kB / 0.8 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006294/0.9994, allocations: 20 kB / 0.8 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/1.001, allocations: 30.58 kB / 0.8 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/1.001, allocations: 68.42 kB / 0.8001 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.835e-05/1.001, allocations: 30.64 kB / 0.8001 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003261/1.004, allocations: 2.603 MB / 0.8027 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.004, allocations: 0 / 0.8027 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002021/1.006, allocations: 0.5309 MB / 0.8032 GB, free: 135 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (CO2_dissolutionP.rear.n_flow,CO2_25.logn) * 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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(1,4,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000637/1.007, allocations: 398.8 kB / 0.8036 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005373/1.012, allocations: 2.132 MB / 0.8057 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.012, allocations: 2.906 kB / 0.8057 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003543/1.016, allocations: 0.9094 MB / 0.8065 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003002/1.019, allocations: 0.5408 MB / 0.8071 GB, free: 131 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006817/1.025, allocations: 3.986 MB / 0.811 GB, free: 127 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001443/1.027, allocations: 1.662 MB / 0.8126 GB, free: 125.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00195/1.029, allocations: 0.5748 MB / 0.8131 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008738/1.03, allocations: 236.6 kB / 0.8134 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.773e-06/1.03, allocations: 0 / 0.8134 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.05399/1.084, allocations: 42.18 MB / 0.8546 GB, free: 83.18 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Examples.GasSolubility_NIST_2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Examples.GasSolubility_NIST_2.pipe ; mkfifo Chemical_master_Chemical.Examples.GasSolubility_NIST_2.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.GasSolubility_NIST_2.pipe >> ../files/Chemical_master_Chemical.Examples.GasSolubility_NIST_2.sim & ./Chemical_master_Chemical.Examples.GasSolubility_NIST_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.949795571155846] Failed to read output from testmodel.py, exit status != 0: 1.0921461898833513 1.10062502 0.47651302900000003 Calling exit ...