Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001124/0.001124, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.0012/0.0012, allocations: 173 kB / 23.49 MB, free: 1.062 MB / 18.57 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.081/1.081, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1068/0.1068, allocations: 17.37 MB / 277.7 MB, free: 11.72 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Examples.GasSolubility_NIST_2") translateModel(Chemical.Examples.GasSolubility_NIST_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 353.4 MB, free: 10.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/2.716e-05, allocations: 6.25 kB / 353.4 MB, free: 10.32 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1819:5-1819: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.0/Interfaces.mo:1819:5-1819: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.0/Boundaries.mo:1328:7-1328: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.0/Boundaries.mo:1328:7-1328: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.03316/0.03319, allocations: 32.51 MB / 385.9 MB, free: 9.934 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3415/0.3747, allocations: 141.9 MB / 0.5155 GB, free: 10.87 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001743/0.3765, allocations: 27.88 kB / 0.5155 GB, free: 10.84 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002778/0.3792, allocations: 1.003 MB / 0.5165 GB, free: 9.855 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002531/0.3818, allocations: 0.8995 MB / 0.5174 GB, free: 8.949 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003314/0.3851, allocations: 1.396 MB / 0.5187 GB, free: 7.547 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003712/0.3888, allocations: 2.356 MB / 0.521 GB, free: 5.188 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007097/0.3895, allocations: 431.8 kB / 0.5215 GB, free: 4.719 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001944/0.3915, allocations: 1.193 MB / 0.5226 GB, free: 3.523 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.3926, allocations: 0.6895 MB / 0.5233 GB, free: 2.832 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004502/0.393, allocations: 212 kB / 0.5235 GB, free: 2.625 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002986/0.396, allocations: 1.158 MB / 0.5246 GB, free: 1.465 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000592/0.3966, allocations: 0.6658 MB / 0.5253 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001151/0.3978, allocations: 0.7246 MB / 0.526 GB, free: 72 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005431/0.4032, allocations: 3.15 MB / 0.5291 GB, free: 12.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.4032, allocations: 0 / 0.5291 GB, free: 12.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.4032, allocations: 4 kB / 0.5291 GB, free: 12.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001007/0.4033, allocations: 0 / 0.5291 GB, free: 12.9 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: 615 * Number of variables: 615 Notification: Performance of Generate backend data structure: time 0.004165/0.4075, allocations: 2.926 MB / 0.5319 GB, free: 9.926 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.4075, allocations: 8.031 kB / 0.5319 GB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001581/0.4091, allocations: 1.047 MB / 0.533 GB, free: 8.871 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.4104, allocations: 1.037 MB / 0.534 GB, free: 7.793 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003236/0.4107, allocations: 359.3 kB / 0.5343 GB, free: 7.418 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002198/0.4109, allocations: 196.3 kB / 0.5345 GB, free: 7.227 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003689/0.4146, allocations: 2.987 MB / 0.5374 GB, free: 4.176 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.501e-05/0.4147, allocations: 192 / 0.5374 GB, free: 4.176 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.4148, allocations: 80.34 kB / 0.5375 GB, free: 4.098 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000383/0.4152, allocations: 344.5 kB / 0.5378 GB, free: 3.758 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004218/0.4194, allocations: 3.667 MB / 0.5414 GB, free: 72 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01389/0.4333, allocations: 11.68 MB / 0.5528 GB, free: 4.281 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.4349, allocations: 0.5354 MB / 0.5533 GB, free: 3.746 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008416/0.4358, allocations: 281.5 kB / 0.5536 GB, free: 3.465 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009217/0.4367, allocations: 0.571 MB / 0.5542 GB, free: 2.891 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.4367, allocations: 42.05 kB / 0.5542 GB, free: 2.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=82): time 5.931e-06/0.4367, allocations: 0 / 0.5542 GB, free: 2.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=102): time 0.1809/0.6177, allocations: 4.624 MB / 0.5587 GB, free: 154.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00234/0.62, allocations: 2.601 MB / 0.5613 GB, free: 152.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.6214, allocations: 1.151 MB / 0.5624 GB, free: 152.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001768/0.6216, allocations: 41.33 kB / 0.5624 GB, free: 152.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006659/0.6223, allocations: 1.223 MB / 0.5636 GB, free: 151.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003425/0.6226, allocations: 361.6 kB / 0.564 GB, free: 151.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008376/0.6235, allocations: 369.9 kB / 0.5643 GB, free: 151.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.6236, allocations: 0.5109 MB / 0.5648 GB, free: 150.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.6248, allocations: 326.6 kB / 0.5651 GB, free: 150.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.626, allocations: 0.609 MB / 0.5657 GB, free: 150.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002893/0.6289, allocations: 1.253 MB / 0.5669 GB, free: 149.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.6289, allocations: 1.312 kB / 0.5669 GB, free: 149.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.004127/0.633, allocations: 1.544 MB / 0.5685 GB, free: 149.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.6331, allocations: 7.156 kB / 0.5685 GB, free: 149.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.6331, allocations: 7.688 kB / 0.5685 GB, free: 149.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006014/0.6337, allocations: 265.4 kB / 0.5687 GB, free: 149.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004499/0.6382, allocations: 1.07 MB / 0.5698 GB, free: 149.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003601/0.6418, allocations: 7.306 MB / 0.5769 GB, free: 142.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008183/0.6426, allocations: 51.28 kB / 0.5769 GB, free: 142.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002802/0.6429, allocations: 285.8 kB / 0.5772 GB, free: 142.6 MB / 426.7 MB Warning: Assuming fixed start value for the following 1 variables: CO2_dissolutionP.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (124): * Single equations (assignments): 120 * 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,1,100.0%), (1,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000896/0.6438, allocations: 223 kB / 0.5774 GB, free: 142.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004215/0.6442, allocations: 164.9 kB / 0.5776 GB, free: 142.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003628/0.6478, allocations: 2.544 MB / 0.5801 GB, free: 141.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.6478, allocations: 10.62 kB / 0.5801 GB, free: 141.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.6478, allocations: 3.938 kB / 0.5801 GB, free: 141.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.6478, allocations: 3.703 kB / 0.5801 GB, free: 141.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005389/0.6532, allocations: 4.565 MB / 0.5846 GB, free: 137.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.6532, allocations: 4 kB / 0.5846 GB, free: 137.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002578/0.6558, allocations: 494.1 kB / 0.585 GB, free: 137.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000764/0.6566, allocations: 221.5 kB / 0.5852 GB, free: 137.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-05/0.6566, allocations: 27.98 kB / 0.5853 GB, free: 137.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003404/0.6601, allocations: 7.835 MB / 0.5929 GB, free: 128.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001227/0.6613, allocations: 2.197 MB / 0.5951 GB, free: 126.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002367/0.6636, allocations: 1.362 MB / 0.5964 GB, free: 125.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002804/0.6639, allocations: 147.1 kB / 0.5965 GB, free: 124.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/0.6641, allocations: 22.53 kB / 0.5966 GB, free: 124.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004269/0.6646, allocations: 39.97 kB / 0.5966 GB, free: 124.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/0.6648, allocations: 92.38 kB / 0.5967 GB, free: 124.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.704e-05/0.6648, allocations: 34.64 kB / 0.5967 GB, free: 124.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001312/0.6661, allocations: 1.445 MB / 0.5981 GB, free: 123.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.6661, allocations: 0 / 0.5981 GB, free: 123.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002008/0.6681, allocations: 0.6542 MB / 0.5988 GB, free: 122.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 2 ($STATESET1.x,CO2_dissolutionP.rear.n_flow) * Number of discrete variables: 2 ($cse18,$cse11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * 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): 2 systems {(1,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006288/0.6688, allocations: 403.4 kB / 0.5991 GB, free: 122.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003035/0.6718, allocations: 1.443 MB / 0.6006 GB, free: 120.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.6718, allocations: 4 kB / 0.6006 GB, free: 120.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001709/0.6735, allocations: 1.041 MB / 0.6016 GB, free: 119.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.6747, allocations: 428 kB / 0.602 GB, free: 119.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006006/0.6807, allocations: 3.818 MB / 0.6057 GB, free: 115.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/0.6812, allocations: 491.8 kB / 0.6062 GB, free: 115 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001113/0.6823, allocations: 353.1 kB / 0.6065 GB, free: 114.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005619/0.6828, allocations: 199 kB / 0.6067 GB, free: 114.5 MB / 426.7 MB Notification: Performance of SimCode: time 2.514e-06/0.6828, allocations: 0 / 0.6067 GB, free: 114.5 MB / 426.7 MB Notification: Performance of Templates: time 0.05268/0.7355, allocations: 55.39 MB / 0.6608 GB, free: 60.48 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.GasSolubility_NIST_2.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility_NIST_2.sim & ./Chemical_Chemical.Examples.GasSolubility_NIST_2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.807034139055759]