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.001031/0.001031, allocations: 82.02 kB / 19.87 MB, free: 4.621 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.001503/0.001503, allocations: 173.7 kB / 23.28 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.9751/0.9751, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.09301/0.09301, allocations: 17.47 MB / 277.7 MB, free: 11.41 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.954e-06/1.954e-06, allocations: 3.938 kB / 354 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.376e-05/1.571e-05, allocations: 2.312 kB / 354 MB, free: 10.64 MB / 330.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.02842/0.02843, allocations: 32.94 MB / 386.9 MB, free: 9.789 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.2656/0.294, allocations: 141.5 MB / 0.5161 GB, free: 34.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/0.2956, allocations: 58.12 kB / 0.5161 GB, free: 34.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002346/0.2979, allocations: 1.069 MB / 0.5172 GB, free: 33.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001784/0.2997, allocations: 1.176 MB / 0.5183 GB, free: 33.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002492/0.3022, allocations: 1.673 MB / 0.5199 GB, free: 32.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002014/0.3042, allocations: 2.582 MB / 0.5225 GB, free: 30.78 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004462/0.3047, allocations: 423.6 kB / 0.5229 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.3057, allocations: 1.325 MB / 0.5242 GB, free: 29.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008505/0.3066, allocations: 0.9484 MB / 0.5251 GB, free: 29.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002049/0.3068, allocations: 202.4 kB / 0.5253 GB, free: 29.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001729/0.3085, allocations: 1.383 MB / 0.5266 GB, free: 29.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003176/0.3088, allocations: 0.6947 MB / 0.5273 GB, free: 28.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004936/0.3093, allocations: 0.7498 MB / 0.528 GB, free: 28.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002285/0.3116, allocations: 3.231 MB / 0.5312 GB, free: 26.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3116, allocations: 0 / 0.5312 GB, free: 26.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3116, allocations: 0 / 0.5312 GB, free: 26.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.644e-05/0.3117, allocations: 3.156 kB / 0.5312 GB, free: 26.99 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.002328/0.314, allocations: 2.996 MB / 0.5341 GB, free: 25.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.314, allocations: 12.44 kB / 0.5341 GB, free: 25.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.315, allocations: 1.034 MB / 0.5351 GB, free: 24.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009951/0.316, allocations: 1.332 MB / 0.5364 GB, free: 23.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.3161, allocations: 271 kB / 0.5367 GB, free: 23.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.3163, allocations: 201.7 kB / 0.5369 GB, free: 23.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/0.3182, allocations: 2.425 MB / 0.5393 GB, free: 22.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.3183, allocations: 4.125 kB / 0.5393 GB, free: 22.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-05/0.3183, allocations: 80.36 kB / 0.5393 GB, free: 22.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001721/0.3185, allocations: 328.6 kB / 0.5397 GB, free: 22.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/0.3203, allocations: 2.847 MB / 0.5424 GB, free: 19.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007085/0.3274, allocations: 9.424 MB / 0.5516 GB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007467/0.3282, allocations: 475.8 kB / 0.5521 GB, free: 9.238 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000351/0.3285, allocations: 222.5 kB / 0.5523 GB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004726/0.3332, allocations: 4.763 MB / 0.557 GB, free: 4.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.3333, allocations: 42.05 kB / 0.557 GB, free: 4.199 MB / 410.7 MB Notification: Performance of pre-optimization done (n=80): time 1.944e-06/0.3333, allocations: 4 kB / 0.557 GB, free: 4.195 MB / 410.7 MB Notification: Performance of matching and sorting (n=95): time 0.00672/0.34, allocations: 3.301 MB / 0.5602 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.173e-05/0.34, allocations: 72.34 kB / 0.5603 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008308/0.3408, allocations: 1.223 MB / 0.5615 GB, free: 15.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.3409, allocations: 41.7 kB / 0.5615 GB, free: 15.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008614/0.3418, allocations: 1.334 MB / 0.5628 GB, free: 14.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/0.3421, allocations: 345.1 kB / 0.5632 GB, free: 13.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005591/0.3426, allocations: 368.3 kB / 0.5635 GB, free: 13.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.3428, allocations: 0.5315 MB / 0.564 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005446/0.3434, allocations: 230.4 kB / 0.5643 GB, free: 12.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009092/0.3443, allocations: 0.8704 MB / 0.5651 GB, free: 11.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/0.3459, allocations: 1.215 MB / 0.5663 GB, free: 9.988 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.3459, allocations: 4 kB / 0.5663 GB, free: 9.984 MB / 426.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003136/0.3491, allocations: 1.401 MB / 0.5677 GB, free: 8.562 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.3491, allocations: 15.94 kB / 0.5677 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/0.3491, allocations: 20.83 kB / 0.5677 GB, free: 8.527 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003313/0.3495, allocations: 153.6 kB / 0.5678 GB, free: 8.367 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004547/0.354, allocations: 0.8064 MB / 0.5686 GB, free: 7.562 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004332/0.3583, allocations: 7.143 MB / 0.5756 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00069/0.359, allocations: 55.98 kB / 0.5757 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002588/0.3593, allocations: 203.9 kB / 0.5759 GB, free: 15.71 MB / 442.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.0005772/0.3599, allocations: 244.2 kB / 0.5761 GB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003803/0.3602, allocations: 199 kB / 0.5763 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003617/0.3639, allocations: 2.16 MB / 0.5784 GB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.3639, allocations: 8 kB / 0.5784 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.3639, allocations: 0 / 0.5784 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.3639, allocations: 3.984 kB / 0.5784 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003814/0.3677, allocations: 2.512 MB / 0.5808 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.3677, allocations: 6.688 kB / 0.5809 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003568/0.3713, allocations: 0.5311 MB / 0.5814 GB, free: 9.855 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002906/0.3716, allocations: 126.9 kB / 0.5815 GB, free: 9.719 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.364e-05/0.3716, allocations: 22.67 kB / 0.5815 GB, free: 9.699 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003876/0.3755, allocations: 7.339 MB / 0.5887 GB, free: 1.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.3755, allocations: 4 kB / 0.5887 GB, free: 1.906 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.3772, allocations: 1.111 MB / 0.5898 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.3773, allocations: 123.1 kB / 0.5899 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/0.3774, allocations: 23.89 kB / 0.5899 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004222/0.3779, allocations: 31.98 kB / 0.5899 GB, free: 0.5234 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.378, allocations: 72.42 kB / 0.59 GB, free: 464 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.236e-05/0.378, allocations: 23.98 kB / 0.59 GB, free: 440 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001013/0.379, allocations: 1.003 MB / 0.591 GB, free: 15.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.379, allocations: 0 / 0.591 GB, free: 15.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001574/0.3806, allocations: 0.5348 MB / 0.5915 GB, free: 14.89 MB / 458.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.0005888/0.3812, allocations: 403.2 kB / 0.5919 GB, free: 14.49 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002757/0.384, allocations: 1.365 MB / 0.5933 GB, free: 13.07 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.384, allocations: 0 / 0.5933 GB, free: 13.07 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001889/0.3859, allocations: 0.914 MB / 0.5941 GB, free: 12.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.3871, allocations: 411 kB / 0.5945 GB, free: 11.73 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004533/0.3916, allocations: 3.594 MB / 0.598 GB, free: 8.023 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.392, allocations: 481.5 kB / 0.5985 GB, free: 7.527 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000857/0.3928, allocations: 444.4 kB / 0.5989 GB, free: 7.109 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008435/0.3937, allocations: 465.9 kB / 0.5994 GB, free: 6.652 MB / 458.7 MB Notification: Performance of SimCode: time 7.12e-07/0.3937, allocations: 0 / 0.5994 GB, free: 6.652 MB / 458.7 MB Notification: Performance of Templates: time 0.2086/0.6022, allocations: 41.55 MB / 0.64 GB, free: 60.66 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 os._exit(0), Time elapsed: 4.046172375790775]