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.0006821/0.0006821, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009157/0.001598, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007119/0.0007119, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009758/0.001688, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.985/0.985, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.108/1.093, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.09001/0.09001, allocations: 17.44 MB / 261.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008776/0.09878, allocations: 6.977 MB / 268.6 MB, free: 6.301 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 269.8 MB, free: 5.012 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.355e-05/1.481e-05, allocations: 2.312 kB / 269.9 MB, free: 5.008 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/Interfaces.mo:1842:5-1842: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.1-master/Interfaces.mo:1842:5-1842: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 2.0.1-master/Interfaces.mo:1731:7-1731: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 2.0.1-master/Interfaces.mo:1731:7-1731: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.1402/0.1403, allocations: 9.374 MB / 279.2 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1341/0.2743, allocations: 144.3 MB / 423.6 MB, free: 8.164 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001554/0.2759, allocations: 63.5 kB / 423.6 MB, free: 8.102 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0024/0.2783, allocations: 1.114 MB / 424.7 MB, free: 6.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002246/0.2805, allocations: 1.156 MB / 425.9 MB, free: 5.816 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003155/0.2837, allocations: 1.683 MB / 427.6 MB, free: 4.125 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002114/0.2858, allocations: 2.564 MB / 430.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004117/0.2862, allocations: 451.5 kB / 430.6 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1711/0.4573, allocations: 1.408 MB / 432 MB, free: 4.945 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001901/0.4592, allocations: 0.9112 MB / 432.9 MB, free: 4.945 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004079/0.4596, allocations: 203.6 kB / 433.1 MB, free: 4.945 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003706/0.4633, allocations: 1.397 MB / 434.5 MB, free: 4.945 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005416/0.4639, allocations: 0.5926 MB / 435.1 MB, free: 4.945 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.465, allocations: 0.649 MB / 435.7 MB, free: 4.945 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004161/0.4692, allocations: 2.987 MB / 438.7 MB, free: 4.703 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.352e-05/0.4692, allocations: 0 / 438.7 MB, free: 4.703 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4692, allocations: 2.031 kB / 438.7 MB, free: 4.703 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.91e-05/0.4692, allocations: 0 / 438.7 MB, free: 4.703 MB / 410.7 MB 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.003399/0.4726, allocations: 3.169 MB / 441.9 MB, free: 3.449 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.4727, allocations: 10.2 kB / 441.9 MB, free: 3.449 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.4738, allocations: 1.018 MB / 442.9 MB, free: 3.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.4749, allocations: 0.9335 MB / 443.9 MB, free: 2.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.475, allocations: 278.9 kB / 444.1 MB, free: 2.801 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.4751, allocations: 192.4 kB / 444.3 MB, free: 2.801 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.4771, allocations: 2.435 MB / 446.8 MB, free: 2.535 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/0.4771, allocations: 2.5 kB / 446.8 MB, free: 2.535 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.372e-05/0.4772, allocations: 86.84 kB / 446.9 MB, free: 2.535 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001879/0.4774, allocations: 318.4 kB / 447.2 MB, free: 2.523 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002057/0.4794, allocations: 2.844 MB / 450 MB, free: 2.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007391/0.4868, allocations: 7.557 MB / 457.6 MB, free: 16.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007129/0.4875, allocations: 432.1 kB / 458 MB, free: 16.78 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000315/0.4879, allocations: 172.6 kB / 458.2 MB, free: 16.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004777/0.4926, allocations: 3.825 MB / 462 MB, free: 16.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.4927, allocations: 42.47 kB / 462 MB, free: 16.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=80): time 1.894e-06/0.4927, allocations: 0 / 462 MB, free: 16.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.01003/0.5027, allocations: 4.232 MB / 466.3 MB, free: 15.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.5027, allocations: 65.59 kB / 466.3 MB, free: 15.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005703/0.5033, allocations: 0.9238 MB / 467.2 MB, free: 15.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.744e-05/0.5034, allocations: 42.67 kB / 467.3 MB, free: 15.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003384/0.5037, allocations: 1.005 MB / 468.3 MB, free: 14.85 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/0.5039, allocations: 340 kB / 468.6 MB, free: 14.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003619/0.5043, allocations: 294.9 kB / 468.9 MB, free: 14.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.5044, allocations: 356.8 kB / 469.3 MB, free: 14.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/0.5048, allocations: 188.3 kB / 469.4 MB, free: 14.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006354/0.5054, allocations: 0.6323 MB / 470.1 MB, free: 13.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.5065, allocations: 1.021 MB / 471.1 MB, free: 13.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.5065, allocations: 7.641 kB / 471.1 MB, free: 13.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001646/0.5081, allocations: 1.01 MB / 472.1 MB, free: 13.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.5081, allocations: 15.25 kB / 472.1 MB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.5081, allocations: 17.59 kB / 472.1 MB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002633/0.5084, allocations: 147.4 kB / 472.3 MB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003813/0.5122, allocations: 0.9882 MB / 473.3 MB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002627/0.5149, allocations: 4.886 MB / 478.2 MB, free: 8.449 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000538/0.5154, allocations: 56.7 kB / 478.2 MB, free: 8.449 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/0.5156, allocations: 186.9 kB / 478.4 MB, free: 8.449 MB / 426.7 MB 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.data.phase,CO2_g_25.substanceDefinitionVar.SelfClustering) * 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.0004926/0.5161, allocations: 206.8 kB / 478.6 MB, free: 8.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/0.5163, allocations: 134.1 kB / 478.7 MB, free: 8.316 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/0.5186, allocations: 1.919 MB / 480.6 MB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.309e-06/0.5186, allocations: 8.438 kB / 480.7 MB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.5186, allocations: 4.531 kB / 480.7 MB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.5186, allocations: 2.953 kB / 480.7 MB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/0.5209, allocations: 1.866 MB / 482.5 MB, free: 7.598 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.5209, allocations: 3.469 kB / 482.5 MB, free: 7.598 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002703/0.5236, allocations: 0.6551 MB / 483.2 MB, free: 7.598 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.5238, allocations: 116.1 kB / 483.3 MB, free: 7.523 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002392/0.524, allocations: 121.2 kB / 483.4 MB, free: 7.488 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.927e-05/0.524, allocations: 27.5 kB / 483.4 MB, free: 7.488 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002753/0.5268, allocations: 5.136 MB / 488.6 MB, free: 2.691 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/0.5268, allocations: 10.83 kB / 488.6 MB, free: 2.688 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.528, allocations: 0.8689 MB / 489.5 MB, free: 2.371 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.5281, allocations: 24.83 kB / 489.5 MB, free: 2.367 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000302/0.5284, allocations: 32.23 kB / 489.5 MB, free: 2.367 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.5285, allocations: 70.17 kB / 489.6 MB, free: 2.363 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.5285, allocations: 20.97 kB / 489.6 MB, free: 2.363 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006238/0.5291, allocations: 0.7364 MB / 490.3 MB, free: 2.316 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5291, allocations: 0 / 490.3 MB, free: 2.316 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001331/0.5305, allocations: 0.534 MB / 490.9 MB, free: 2.297 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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.0005707/0.531, allocations: 387.9 kB / 491.3 MB, free: 2.191 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002062/0.5331, allocations: 1.129 MB / 492.4 MB, free: 1.816 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.93e-05/0.5331, allocations: 20.34 kB / 492.4 MB, free: 1.816 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001379/0.5345, allocations: 0.7828 MB / 493.2 MB, free: 1.457 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.5361, allocations: 2.716 MB / 495.9 MB, free: 14.92 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.5468, allocations: 3.787 MB / 499.7 MB, free: 11.93 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.5472, allocations: 487.7 kB / 0.4884 GB, free: 11.63 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009805/0.5482, allocations: 430.5 kB / 0.4889 GB, free: 11.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000806/0.549, allocations: 395.5 kB / 0.4892 GB, free: 10.98 MB / 442.7 MB Notification: Performance of SimCode: time 1.423e-06/0.549, allocations: 1.062 kB / 0.4892 GB, free: 10.98 MB / 442.7 MB Notification: Performance of Templates: time 0.04441/0.5934, allocations: 42.41 MB / 0.5307 GB, free: 3.48 MB / 474.7 MB " [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=240 -lv LOG_STATS > Chemical_master_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.018797972239554]