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.001558/0.001558, 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.002361/0.002361, allocations: 216.8 kB / 22.25 MB, free: 5.105 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.816 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.1494/0.1494, allocations: 23.92 MB / 336.3 MB, free: 10.91 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.002164/0.002164, allocations: 59.91 kB / 471.7 MB, free: 6.957 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4358/0.4379, allocations: 59.88 MB / 0.5191 GB, free: 9.805 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.08886/0.5268, allocations: 28.59 MB / 0.547 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1992/0.726, allocations: 128.9 MB / 0.6728 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002512/0.7285, allocations: 35.81 kB / 0.6729 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00398/0.7325, allocations: 0.9321 MB / 0.6738 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004484/0.737, allocations: 0.9154 MB / 0.6747 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004736/0.7417, allocations: 1.33 MB / 0.676 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0049/0.7466, allocations: 2.279 MB / 0.6782 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009268/0.7476, allocations: 431.5 kB / 0.6786 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001609/0.7492, allocations: 0.8175 MB / 0.6794 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002289/0.7515, allocations: 1.097 MB / 0.6805 GB, free: 4 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006612/0.7521, allocations: 204 kB / 0.6807 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004219/0.7563, allocations: 1.1 MB / 0.6817 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001013/0.7574, allocations: 0.6034 MB / 0.6823 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001996/0.7594, allocations: 0.8779 MB / 0.6832 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008468/0.7678, allocations: 3.939 MB / 0.687 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.7678, allocations: 0 / 0.687 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.926e-06/0.7678, allocations: 0 / 0.687 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001664/0.768, allocations: 7.938 kB / 0.687 GB, free: 13.25 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: 615 * Number of variables: 615 Notification: Performance of Generate backend data structure: time 0.006138/0.7741, allocations: 2.619 MB / 0.6896 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.7742, allocations: 12.02 kB / 0.6896 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/0.7759, allocations: 0.5105 MB / 0.6901 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001727/0.7776, allocations: 0.9501 MB / 0.691 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002729/0.7779, allocations: 271.3 kB / 0.6913 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002873/0.7782, allocations: 192.4 kB / 0.6915 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008814/0.787, allocations: 6.978 MB / 0.6983 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.1e-05/0.7871, allocations: 4 kB / 0.6983 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/0.7872, allocations: 83.97 kB / 0.6984 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003783/0.7876, allocations: 324.6 kB / 0.6987 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01412/0.8017, allocations: 12.19 MB / 0.7106 GB, free: 4.941 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02108/0.8228, allocations: 11.72 MB / 0.722 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003098/0.8259, allocations: 1.809 MB / 0.7238 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00191/0.8278, allocations: 1.162 MB / 0.7249 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3448/1.173, allocations: 6.123 MB / 0.7309 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.192e-05/1.173, allocations: 43.84 kB / 0.731 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 4.388e-06/1.173, allocations: 0.5938 kB / 0.731 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=94): time 0.02593/1.199, allocations: 8.355 MB / 0.7391 GB, free: 186 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/1.199, allocations: 62.39 kB / 0.7392 GB, free: 186 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002136/1.201, allocations: 1.146 MB / 0.7403 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.00016/1.201, allocations: 41.14 kB / 0.7403 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008403/1.202, allocations: 1.173 MB / 0.7415 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003798/1.202, allocations: 339.8 kB / 0.7418 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008874/1.203, allocations: 360.3 kB / 0.7422 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001017/1.203, allocations: 355.2 kB / 0.7425 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002162/1.205, allocations: 1.247 MB / 0.7437 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002497/1.208, allocations: 1.671 MB / 0.7453 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004529/1.212, allocations: 3.015 MB / 0.7483 GB, free: 180.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-05/1.212, allocations: 3.5 kB / 0.7483 GB, free: 180.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.007146/1.219, allocations: 3.392 MB / 0.7516 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.349e-05/1.22, allocations: 14.41 kB / 0.7516 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.842e-05/1.22, allocations: 14.25 kB / 0.7516 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005991/1.22, allocations: 200.6 kB / 0.7518 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008998/1.229, allocations: 0.7577 MB / 0.7526 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0053/1.234, allocations: 5.636 MB / 0.7581 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/1.236, allocations: 63.91 kB / 0.7581 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005812/1.237, allocations: 223.5 kB / 0.7583 GB, free: 173.9 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.001603/1.238, allocations: 0.6434 MB / 0.759 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006057/1.239, allocations: 138.3 kB / 0.7591 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006849/1.246, allocations: 2.509 MB / 0.7616 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/1.246, allocations: 12.16 kB / 0.7616 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/1.246, allocations: 3.906 kB / 0.7616 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/1.246, allocations: 4.969 kB / 0.7616 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008286/1.254, allocations: 3.017 MB / 0.7645 GB, free: 171 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/1.254, allocations: 6.891 kB / 0.7645 GB, free: 171 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007459/1.262, allocations: 0.4951 MB / 0.765 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000488/1.262, allocations: 162.8 kB / 0.7652 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001405/1.262, allocations: 28.17 kB / 0.7652 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004456/1.267, allocations: 5.658 MB / 0.7707 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.267, allocations: 7 kB / 0.7707 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00423/1.271, allocations: 1.656 MB / 0.7723 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000458/1.271, allocations: 117.9 kB / 0.7725 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004642/1.272, allocations: 26.28 kB / 0.7725 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/1.273, allocations: 34.12 kB / 0.7725 GB, free: 164 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/1.273, allocations: 72.44 kB / 0.7726 GB, free: 164 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.691e-05/1.273, allocations: 31.86 kB / 0.7726 GB, free: 164 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00246/1.276, allocations: 1.773 MB / 0.7743 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.276, allocations: 3.828 kB / 0.7743 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002536/1.278, allocations: 0.506 MB / 0.7748 GB, free: 162.9 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.0007981/1.279, allocations: 386.2 kB / 0.7752 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006558/1.286, allocations: 2.204 MB / 0.7774 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.286, allocations: 2.625 kB / 0.7774 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004111/1.29, allocations: 0.9367 MB / 0.7783 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/1.292, allocations: 310.4 kB / 0.7786 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007709/1.299, allocations: 3.875 MB / 0.7824 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00155/1.301, allocations: 1.086 MB / 0.7834 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001698/1.303, allocations: 485.5 kB / 0.7839 GB, free: 154 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008415/1.303, allocations: 197.9 kB / 0.7841 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.583e-06/1.303, allocations: 0 / 0.7841 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.04849/1.352, allocations: 39.08 MB / 0.8222 GB, free: 115.9 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: 7.209154091775417] Failed to read output from testmodel.py, exit status != 0: 1.3612796030938625 1.371660284 0.601110779 Calling exit ...