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.001201/0.001201, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001459/0.001459, allocations: 212.6 kB / 22.24 MB, free: 5.262 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.431/1.431, allocations: 230.6 MB / 256 MB, free: 7.824 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.1342/0.1342, allocations: 24 MB / 336.4 MB, free: 10.86 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.002196/0.002196, allocations: 63.89 kB / 471.8 MB, free: 6.883 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3818, allocations: 59.9 MB / 0.5192 GB, free: 9.68 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1841:5-1841: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:1841:5-1841: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:1730:7-1730: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:1730:7-1730: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.07888/0.4607, allocations: 28.85 MB / 0.5474 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1833/0.644, allocations: 129.1 MB / 0.6735 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002795/0.6468, allocations: 35.81 kB / 0.6735 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003739/0.6505, allocations: 0.9438 MB / 0.6744 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004103/0.6546, allocations: 0.9192 MB / 0.6753 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004407/0.659, allocations: 1.392 MB / 0.6767 GB, free: 8 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00472/0.6637, allocations: 2.311 MB / 0.6789 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008168/0.6646, allocations: 419.6 kB / 0.6793 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.6659, allocations: 0.833 MB / 0.6801 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001509/0.6674, allocations: 0.984 MB / 0.6811 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002983/0.6677, allocations: 208 kB / 0.6813 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003098/0.6708, allocations: 1.123 MB / 0.6824 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005666/0.6714, allocations: 0.6112 MB / 0.683 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00101/0.6724, allocations: 0.8895 MB / 0.6839 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006787/0.6792, allocations: 4.001 MB / 0.6878 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.6792, allocations: 0 / 0.6878 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.875e-06/0.6792, allocations: 0 / 0.6878 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.162e-05/0.6792, allocations: 0 / 0.6878 GB, free: 12.55 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: 622 * Number of variables: 622 Notification: Performance of Generate backend data structure: time 0.004226/0.6834, allocations: 2.654 MB / 0.6904 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.6835, allocations: 12.03 kB / 0.6904 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/0.685, allocations: 0.5027 MB / 0.6909 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.6866, allocations: 0.958 MB / 0.6918 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002614/0.6868, allocations: 275.3 kB / 0.6921 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002708/0.6871, allocations: 196.3 kB / 0.6922 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008825/0.6959, allocations: 7.233 MB / 0.6993 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.094e-05/0.696, allocations: 4 kB / 0.6993 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.6961, allocations: 79.98 kB / 0.6994 GB, free: 488 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003635/0.6965, allocations: 328.6 kB / 0.6997 GB, free: 156 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01442/0.7109, allocations: 12.91 MB / 0.7123 GB, free: 3.223 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02088/0.7318, allocations: 12.17 MB / 0.7242 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003074/0.7349, allocations: 1.862 MB / 0.726 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001925/0.7368, allocations: 1.214 MB / 0.7272 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2801/1.017, allocations: 6.394 MB / 0.7334 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/1.017, allocations: 44.16 kB / 0.7335 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 3.106e-06/1.017, allocations: 3.156 kB / 0.7335 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95): time 0.02022/1.037, allocations: 8.601 MB / 0.7419 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/1.037, allocations: 62.53 kB / 0.742 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/1.039, allocations: 1.173 MB / 0.7431 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001279/1.039, allocations: 40.45 kB / 0.7431 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006138/1.039, allocations: 1.189 MB / 0.7443 GB, free: 182.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002885/1.04, allocations: 344.7 kB / 0.7446 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006039/1.04, allocations: 372.5 kB / 0.745 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.481e-05/1.04, allocations: 356.5 kB / 0.7453 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001912/1.042, allocations: 1.294 MB / 0.7466 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002129/1.044, allocations: 1.736 MB / 0.7483 GB, free: 180.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004132/1.049, allocations: 3.138 MB / 0.7513 GB, free: 178.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/1.049, allocations: 4.531 kB / 0.7513 GB, free: 178.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.006309/1.055, allocations: 3.499 MB / 0.7548 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/1.055, allocations: 13.86 kB / 0.7548 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.023e-05/1.055, allocations: 14.97 kB / 0.7548 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004777/1.055, allocations: 195.6 kB / 0.755 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007873/1.063, allocations: 0.872 MB / 0.7558 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004138/1.067, allocations: 5.599 MB / 0.7613 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/1.069, allocations: 68.84 kB / 0.7614 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002988/1.069, allocations: 231.4 kB / 0.7616 GB, free: 171.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (150): * Single equations (assignments): 146 * 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.001131/1.07, allocations: 0.6526 MB / 0.7622 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003468/1.071, allocations: 145.9 kB / 0.7624 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005128/1.076, allocations: 2.574 MB / 0.7649 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/1.076, allocations: 7.656 kB / 0.7649 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/1.076, allocations: 2.531 kB / 0.7649 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/1.076, allocations: 3.609 kB / 0.7649 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005479/1.081, allocations: 3.045 MB / 0.7679 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/1.081, allocations: 2.781 kB / 0.7679 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006633/1.088, allocations: 0.5913 MB / 0.7684 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003591/1.088, allocations: 150.5 kB / 0.7686 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.214e-05/1.088, allocations: 28.23 kB / 0.7686 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003783/1.092, allocations: 5.638 MB / 0.7741 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.092, allocations: 10.5 kB / 0.7741 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003552/1.096, allocations: 1.694 MB / 0.7758 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000256/1.096, allocations: 116.7 kB / 0.7759 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002448/1.096, allocations: 20.75 kB / 0.7759 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007505/1.097, allocations: 51.47 kB / 0.776 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/1.097, allocations: 74.66 kB / 0.776 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.048e-05/1.097, allocations: 28.67 kB / 0.7761 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001686/1.099, allocations: 1.842 MB / 0.7779 GB, free: 160 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.099, allocations: 0 / 0.7779 GB, free: 160 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001803/1.101, allocations: 0.5202 MB / 0.7784 GB, free: 159.5 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.0005507/1.101, allocations: 395.3 kB / 0.7787 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005311/1.106, allocations: 2.265 MB / 0.781 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.106, allocations: 0 / 0.781 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00335/1.11, allocations: 0.9445 MB / 0.7819 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/1.111, allocations: 325.8 kB / 0.7822 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005722/1.117, allocations: 3.932 MB / 0.786 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009244/1.118, allocations: 1.09 MB / 0.7871 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001464/1.119, allocations: 497.5 kB / 0.7876 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006135/1.12, allocations: 202 kB / 0.7878 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of SimCode: time 8.21e-07/1.12, allocations: 0 / 0.7878 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.04415/1.164, allocations: 39.75 MB / 0.8266 GB, free: 111.3 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.676135951653123] Failed to read output from testmodel.py, exit status != 0: 1.1731606107205153 1.182668614 0.501161961 Calling exit ...