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.001435/0.001435, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001132/0.001132, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.019/1.019, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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.1078/0.1078, allocations: 17.46 MB / 278.5 MB, free: 11.42 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 354.8 MB, free: 9.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.24e-05, allocations: 2.312 kB / 354.8 MB, free: 9.586 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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 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 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 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.02642/0.02644, allocations: 32.9 MB / 387.7 MB, free: 8.809 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2842/0.3106, allocations: 141.5 MB / 0.5168 GB, free: 10.29 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001451/0.3121, allocations: 59.5 kB / 0.5169 GB, free: 10.23 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002429/0.3145, allocations: 1.062 MB / 0.5179 GB, free: 9.184 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00253/0.317, allocations: 1.187 MB / 0.5191 GB, free: 7.988 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002982/0.32, allocations: 1.664 MB / 0.5207 GB, free: 6.316 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002988/0.323, allocations: 2.592 MB / 0.5232 GB, free: 3.719 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00057/0.3236, allocations: 424.7 kB / 0.5236 GB, free: 3.258 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.325, allocations: 1.325 MB / 0.5249 GB, free: 1.93 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/0.3265, allocations: 0.9507 MB / 0.5258 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004123/0.3269, allocations: 204 kB / 0.526 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002788/0.3297, allocations: 1.38 MB / 0.5274 GB, free: 15.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003955/0.3301, allocations: 0.6891 MB / 0.528 GB, free: 14.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007497/0.3308, allocations: 0.7519 MB / 0.5288 GB, free: 13.95 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004186/0.335, allocations: 3.231 MB / 0.5319 GB, free: 10.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.335, allocations: 4 kB / 0.5319 GB, free: 10.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.335, allocations: 0 / 0.5319 GB, free: 10.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.453e-05/0.3351, allocations: 0 / 0.5319 GB, free: 10.7 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.003414/0.3385, allocations: 3.003 MB / 0.5349 GB, free: 7.648 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.3385, allocations: 11.97 kB / 0.5349 GB, free: 7.637 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/0.34, allocations: 1.019 MB / 0.5359 GB, free: 6.617 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/0.3415, allocations: 1.341 MB / 0.5372 GB, free: 5.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002152/0.3417, allocations: 267.3 kB / 0.5374 GB, free: 4.945 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001995/0.3419, allocations: 200.3 kB / 0.5376 GB, free: 4.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002472/0.3444, allocations: 2.427 MB / 0.54 GB, free: 2.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/0.3444, allocations: 192 / 0.54 GB, free: 2.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.3445, allocations: 80.36 kB / 0.5401 GB, free: 2.172 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002505/0.3448, allocations: 332.6 kB / 0.5404 GB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00234/0.3471, allocations: 2.843 MB / 0.5432 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009281/0.3564, allocations: 9.424 MB / 0.5524 GB, free: 5.438 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009055/0.3573, allocations: 483.8 kB / 0.5528 GB, free: 4.953 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003864/0.3577, allocations: 218.6 kB / 0.5531 GB, free: 4.734 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2179/0.5756, allocations: 4.743 MB / 0.5577 GB, free: 32.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.5757, allocations: 42.08 kB / 0.5577 GB, free: 32.47 MB / 426.7 MB Notification: Performance of pre-optimization done (n=80): time 2.976e-06/0.5757, allocations: 0 / 0.5577 GB, free: 32.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.00905/0.5847, allocations: 3.303 MB / 0.561 GB, free: 32.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.5848, allocations: 62.38 kB / 0.561 GB, free: 31.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.586, allocations: 1.23 MB / 0.5622 GB, free: 31.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.391e-05/0.5861, allocations: 41.11 kB / 0.5623 GB, free: 31.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008643/0.587, allocations: 1.328 MB / 0.5635 GB, free: 31.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002934/0.5873, allocations: 348.7 kB / 0.5639 GB, free: 31.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006096/0.5879, allocations: 362.5 kB / 0.5642 GB, free: 31.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.588, allocations: 0.5346 MB / 0.5647 GB, free: 30.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005794/0.5886, allocations: 229.4 kB / 0.565 GB, free: 30.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007819/0.5894, allocations: 0.8792 MB / 0.5658 GB, free: 29.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.5908, allocations: 1.21 MB / 0.567 GB, free: 28.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.809e-06/0.5908, allocations: 6.156 kB / 0.567 GB, free: 28.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002487/0.5933, allocations: 1.407 MB / 0.5684 GB, free: 28.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.5933, allocations: 12.86 kB / 0.5684 GB, free: 28.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.5933, allocations: 15.16 kB / 0.5684 GB, free: 28.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003013/0.5936, allocations: 156 kB / 0.5686 GB, free: 28.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003695/0.5973, allocations: 0.8079 MB / 0.5694 GB, free: 28.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003045/0.6004, allocations: 7.139 MB / 0.5763 GB, free: 21.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009416/0.6013, allocations: 52.36 kB / 0.5764 GB, free: 21.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000225/0.6015, allocations: 207.7 kB / 0.5766 GB, free: 21.8 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.0007335/0.6023, allocations: 246.3 kB / 0.5768 GB, free: 21.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003045/0.6026, allocations: 184.4 kB / 0.577 GB, free: 21.56 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002723/0.6053, allocations: 2.163 MB / 0.5791 GB, free: 21.15 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.6053, allocations: 8.312 kB / 0.5791 GB, free: 21.15 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6053, allocations: 4.266 kB / 0.5791 GB, free: 21.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.6053, allocations: 3.656 kB / 0.5791 GB, free: 21.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003282/0.6086, allocations: 2.519 MB / 0.5816 GB, free: 20.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.6086, allocations: 10.95 kB / 0.5816 GB, free: 20.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00272/0.6113, allocations: 0.5227 MB / 0.5821 GB, free: 20.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000258/0.6116, allocations: 126.2 kB / 0.5822 GB, free: 20.58 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.138e-05/0.6116, allocations: 23.81 kB / 0.5822 GB, free: 20.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002497/0.6141, allocations: 7.335 MB / 0.5894 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.6141, allocations: 12.91 kB / 0.5894 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.6157, allocations: 1.107 MB / 0.5905 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.6158, allocations: 121.8 kB / 0.5906 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.616, allocations: 15.88 kB / 0.5906 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/0.6163, allocations: 30.31 kB / 0.5907 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.6164, allocations: 80.84 kB / 0.5907 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.6165, allocations: 22.67 kB / 0.5907 GB, free: 12.85 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009722/0.6174, allocations: 1.002 MB / 0.5917 GB, free: 12.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6174, allocations: 0.5938 kB / 0.5917 GB, free: 12.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001902/0.6193, allocations: 0.5368 MB / 0.5923 GB, free: 12.7 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.0005922/0.6199, allocations: 402.5 kB / 0.5926 GB, free: 12.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002654/0.6226, allocations: 1.371 MB / 0.594 GB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.6226, allocations: 0.5938 kB / 0.594 GB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001544/0.6241, allocations: 0.9102 MB / 0.5949 GB, free: 11.53 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.6252, allocations: 403.1 kB / 0.5952 GB, free: 11.51 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004851/0.6301, allocations: 3.596 MB / 0.5988 GB, free: 9.789 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.6304, allocations: 482.4 kB / 0.5992 GB, free: 9.688 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00112/0.6316, allocations: 435.5 kB / 0.5996 GB, free: 9.582 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008658/0.6324, allocations: 476.2 kB / 0.6001 GB, free: 9.496 MB / 426.7 MB Notification: Performance of SimCode: time 1.252e-06/0.6324, allocations: 0 / 0.6001 GB, free: 9.496 MB / 426.7 MB Notification: Performance of Templates: time 0.04671/0.6791, allocations: 42.26 MB / 0.6414 GB, free: 15.05 MB / 458.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.526450957171619]