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.0009082/0.0009082, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001074/0.001074, allocations: 170 kB / 23.27 MB, free: 1.223 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 0.9902/0.9902, allocations: 177.2 MB / 203.7 MB, free: 5.516 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.08841/0.08841, allocations: 17.39 MB / 277.6 MB, free: 11.5 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 2.023e-06/2.023e-06, allocations: 0 / 353.9 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.685e-05, allocations: 6.312 kB / 353.9 MB, free: 10.77 MB / 330.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.02567/0.02568, allocations: 32.5 MB / 386.4 MB, free: 10.35 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.3008/0.3265, allocations: 139.6 MB / 0.5136 GB, free: 35.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001337/0.3278, allocations: 25.25 kB / 0.5137 GB, free: 35.76 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002149/0.33, allocations: 0.9997 MB / 0.5146 GB, free: 35.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001601/0.3316, allocations: 0.9117 MB / 0.5155 GB, free: 34.76 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002265/0.3338, allocations: 1.388 MB / 0.5169 GB, free: 33.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002147/0.336, allocations: 2.367 MB / 0.5192 GB, free: 32.77 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004713/0.3365, allocations: 435.5 kB / 0.5196 GB, free: 32.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.3375, allocations: 1.2 MB / 0.5208 GB, free: 31.97 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006719/0.3382, allocations: 0.6795 MB / 0.5215 GB, free: 31.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002379/0.3384, allocations: 212.9 kB / 0.5217 GB, free: 31.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001793/0.3402, allocations: 1.149 MB / 0.5228 GB, free: 31.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002777/0.3405, allocations: 0.6646 MB / 0.5234 GB, free: 31.1 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005297/0.341, allocations: 0.7316 MB / 0.5241 GB, free: 30.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002438/0.3435, allocations: 3.146 MB / 0.5272 GB, free: 29.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3435, allocations: 4 kB / 0.5272 GB, free: 29.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3435, allocations: 0 / 0.5272 GB, free: 29.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.114e-05/0.3435, allocations: 0 / 0.5272 GB, free: 29.12 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.002562/0.3461, allocations: 2.939 MB / 0.5301 GB, free: 27.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.3461, allocations: 8.375 kB / 0.5301 GB, free: 27.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.3472, allocations: 1.039 MB / 0.5311 GB, free: 26.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008185/0.3481, allocations: 1.009 MB / 0.5321 GB, free: 26.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001829/0.3482, allocations: 363.5 kB / 0.5324 GB, free: 25.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.3484, allocations: 195.4 kB / 0.5326 GB, free: 25.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/0.3503, allocations: 2.523 MB / 0.5351 GB, free: 25.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.3503, allocations: 3.125 kB / 0.5351 GB, free: 25.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.718e-05/0.3504, allocations: 81.11 kB / 0.5352 GB, free: 25.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001983/0.3506, allocations: 347 kB / 0.5355 GB, free: 25.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/0.3525, allocations: 2.901 MB / 0.5383 GB, free: 23.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008417/0.3609, allocations: 11.03 MB / 0.5491 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009577/0.3618, allocations: 0.5118 MB / 0.5496 GB, free: 11.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004818/0.3623, allocations: 244.6 kB / 0.5498 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006325/0.3629, allocations: 0.5888 MB / 0.5504 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.363, allocations: 42.05 kB / 0.5505 GB, free: 10.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 2.575e-06/0.363, allocations: 0 / 0.5505 GB, free: 10.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=102): time 0.009585/0.3725, allocations: 4.109 MB / 0.5545 GB, free: 6.676 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00163/0.3742, allocations: 2.516 MB / 0.5569 GB, free: 4.012 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000692/0.3749, allocations: 1.125 MB / 0.558 GB, free: 2.871 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.375, allocations: 45.7 kB / 0.5581 GB, free: 2.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004355/0.3754, allocations: 1.222 MB / 0.5593 GB, free: 1.586 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/0.3756, allocations: 364.8 kB / 0.5596 GB, free: 1.227 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004579/0.3761, allocations: 372.3 kB / 0.56 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.587e-05/0.3762, allocations: 0.5237 MB / 0.5605 GB, free: 332 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006311/0.3768, allocations: 297.1 kB / 0.5608 GB, free: 36 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009784/0.3778, allocations: 0.5866 MB / 0.5613 GB, free: 15.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001981/0.3797, allocations: 1.191 MB / 0.5625 GB, free: 14.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3797, allocations: 0 / 0.5625 GB, free: 14.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00275/0.3825, allocations: 1.492 MB / 0.564 GB, free: 12.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3825, allocations: 8 kB / 0.564 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3825, allocations: 7.938 kB / 0.564 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003747/0.3829, allocations: 249.7 kB / 0.5642 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003804/0.3867, allocations: 1.073 MB / 0.5653 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004479/0.3912, allocations: 8.961 MB / 0.574 GB, free: 1.777 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000507/0.3917, allocations: 43.98 kB / 0.574 GB, free: 1.734 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002486/0.3919, allocations: 271.9 kB / 0.5743 GB, free: 1.469 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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005952/0.3925, allocations: 223.1 kB / 0.5745 GB, free: 1.242 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003462/0.3929, allocations: 171.2 kB / 0.5747 GB, free: 1.074 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003445/0.3963, allocations: 2.52 MB / 0.5771 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3963, allocations: 8 kB / 0.5771 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.3963, allocations: 3.938 kB / 0.5772 GB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.3963, allocations: 3.984 kB / 0.5772 GB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004368/0.4007, allocations: 3.982 MB / 0.581 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.4007, allocations: 4 kB / 0.581 GB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002377/0.4031, allocations: 486.6 kB / 0.5815 GB, free: 9.832 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006418/0.4037, allocations: 233.4 kB / 0.5817 GB, free: 9.594 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/0.4038, allocations: 27.98 kB / 0.5818 GB, free: 9.566 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003771/0.4075, allocations: 7.687 MB / 0.5893 GB, free: 1.426 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001609/0.4091, allocations: 2.171 MB / 0.5914 GB, free: 15.13 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.4109, allocations: 1.26 MB / 0.5926 GB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.411, allocations: 137.8 kB / 0.5928 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.4111, allocations: 31.89 kB / 0.5928 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.4115, allocations: 36.02 kB / 0.5928 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.4116, allocations: 92.38 kB / 0.5929 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/0.4116, allocations: 23.98 kB / 0.5929 GB, free: 13.44 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008633/0.4125, allocations: 1.214 MB / 0.5941 GB, free: 12.22 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4125, allocations: 4 kB / 0.5941 GB, free: 12.21 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00132/0.4138, allocations: 0.6208 MB / 0.5947 GB, free: 11.59 MB / 458.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.0005129/0.4143, allocations: 423.1 kB / 0.5951 GB, free: 11.17 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002229/0.4166, allocations: 1.061 MB / 0.5962 GB, free: 10.09 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4166, allocations: 4 kB / 0.5962 GB, free: 10.09 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001868/0.4184, allocations: 0.981 MB / 0.5971 GB, free: 9.055 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.4195, allocations: 428.5 kB / 0.5975 GB, free: 8.68 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004339/0.4238, allocations: 3.789 MB / 0.6012 GB, free: 4.73 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.4242, allocations: 489 kB / 0.6017 GB, free: 4.227 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006718/0.4249, allocations: 347 kB / 0.602 GB, free: 3.891 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009295/0.4258, allocations: 465.9 kB / 0.6025 GB, free: 3.434 MB / 458.7 MB Notification: Performance of SimCode: time 6.91e-07/0.4258, allocations: 0 / 0.6025 GB, free: 3.434 MB / 458.7 MB Notification: Performance of Templates: time 0.2539/0.6797, allocations: 60.51 MB / 0.6616 GB, free: 51.58 MB / 458.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.4072809889912605]