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.001368/0.001368, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001224/0.001224, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.9904/0.9904, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.1024/0.1024, allocations: 17.46 MB / 277.4 MB, free: 11.56 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 2.624e-06/2.624e-06, allocations: 3.938 kB / 353.5 MB, free: 9.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.386e-05/3.649e-05, allocations: 2.312 kB / 353.5 MB, free: 9.863 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.03681/0.03685, allocations: 33.04 MB / 386.6 MB, free: 8.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3047/0.3415, allocations: 144.2 MB / 0.5184 GB, free: 7.922 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002006/0.3436, allocations: 59.5 kB / 0.5184 GB, free: 7.863 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003397/0.3469, allocations: 1.066 MB / 0.5195 GB, free: 6.816 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003492/0.3504, allocations: 1.183 MB / 0.5206 GB, free: 5.625 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003743/0.3542, allocations: 1.674 MB / 0.5223 GB, free: 3.945 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004242/0.3584, allocations: 2.587 MB / 0.5248 GB, free: 1.348 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000657/0.3591, allocations: 428.7 kB / 0.5252 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001738/0.3608, allocations: 1.329 MB / 0.5265 GB, free: 15.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001358/0.3622, allocations: 0.9429 MB / 0.5274 GB, free: 14.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003816/0.3626, allocations: 204 kB / 0.5276 GB, free: 14.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003394/0.366, allocations: 1.38 MB / 0.529 GB, free: 13.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005786/0.3665, allocations: 0.6969 MB / 0.5296 GB, free: 12.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001626/0.3682, allocations: 0.7442 MB / 0.5304 GB, free: 11.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006192/0.3744, allocations: 3.235 MB / 0.5335 GB, free: 8.332 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.637e-06/0.3744, allocations: 0 / 0.5335 GB, free: 8.332 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3744, allocations: 0 / 0.5335 GB, free: 8.332 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001184/0.3745, allocations: 0 / 0.5335 GB, free: 8.332 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.004072/0.3786, allocations: 2.98 MB / 0.5364 GB, free: 5.301 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.608e-05/0.3786, allocations: 11.97 kB / 0.5364 GB, free: 5.289 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.3803, allocations: 1.035 MB / 0.5374 GB, free: 4.258 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.3818, allocations: 1.345 MB / 0.5388 GB, free: 2.867 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002004/0.382, allocations: 271.3 kB / 0.539 GB, free: 2.578 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/0.3822, allocations: 196.3 kB / 0.5392 GB, free: 2.387 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003226/0.3854, allocations: 2.842 MB / 0.542 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.293e-05/0.3854, allocations: 4.188 kB / 0.542 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.3855, allocations: 84.34 kB / 0.5421 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002448/0.3858, allocations: 328.6 kB / 0.5424 GB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004452/0.3902, allocations: 3.592 MB / 0.5459 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/0.4022, allocations: 9.955 MB / 0.5556 GB, free: 1.383 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.4034, allocations: 0.5058 MB / 0.5561 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005559/0.404, allocations: 258.5 kB / 0.5564 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2144/0.6183, allocations: 4.845 MB / 0.5611 GB, free: 30.03 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.6184, allocations: 46.53 kB / 0.5611 GB, free: 29.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=80): time 3.326e-06/0.6184, allocations: 2.172 kB / 0.5611 GB, free: 29.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.01069/0.6291, allocations: 3.794 MB / 0.5648 GB, free: 29.28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.6291, allocations: 61.5 kB / 0.5649 GB, free: 29.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.6304, allocations: 1.244 MB / 0.5661 GB, free: 28.99 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.6305, allocations: 43.11 kB / 0.5661 GB, free: 28.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006565/0.6312, allocations: 1.307 MB / 0.5674 GB, free: 28.47 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002506/0.6314, allocations: 344.6 kB / 0.5678 GB, free: 28.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000464/0.6319, allocations: 357.5 kB / 0.5681 GB, free: 28.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.143e-05/0.632, allocations: 0.5349 MB / 0.5686 GB, free: 27.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006309/0.6326, allocations: 279.9 kB / 0.5689 GB, free: 27.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007989/0.6334, allocations: 0.9158 MB / 0.5698 GB, free: 26.97 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/0.635, allocations: 1.303 MB / 0.5711 GB, free: 26.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/0.635, allocations: 3 kB / 0.5711 GB, free: 26.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002723/0.6377, allocations: 1.512 MB / 0.5725 GB, free: 26 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.6378, allocations: 10.19 kB / 0.5725 GB, free: 26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/0.6378, allocations: 15.06 kB / 0.5726 GB, free: 26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003507/0.6381, allocations: 152.8 kB / 0.5727 GB, free: 25.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00352/0.6417, allocations: 0.8069 MB / 0.5735 GB, free: 25.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002799/0.6445, allocations: 7.255 MB / 0.5806 GB, free: 18.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008634/0.6453, allocations: 56.19 kB / 0.5806 GB, free: 18.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001956/0.6455, allocations: 215.9 kB / 0.5808 GB, free: 18.94 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.SelfClustering,CO2_g_25.substanceDefinitionVar.data.phase) * 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.000736/0.6462, allocations: 245.5 kB / 0.5811 GB, free: 18.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003067/0.6466, allocations: 188.1 kB / 0.5812 GB, free: 18.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/0.6492, allocations: 2.182 MB / 0.5834 GB, free: 18.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.6492, allocations: 11.36 kB / 0.5834 GB, free: 18.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.6492, allocations: 3.188 kB / 0.5834 GB, free: 18.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.6492, allocations: 5.812 kB / 0.5834 GB, free: 18.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003888/0.6531, allocations: 3.049 MB / 0.5864 GB, free: 17.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.6531, allocations: 4.312 kB / 0.5864 GB, free: 17.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003009/0.6562, allocations: 0.5287 MB / 0.5869 GB, free: 17.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00041/0.6566, allocations: 127.7 kB / 0.587 GB, free: 17.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.921e-05/0.6566, allocations: 31.45 kB / 0.587 GB, free: 17.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003671/0.6603, allocations: 7.43 MB / 0.5943 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.942e-06/0.6603, allocations: 6.125 kB / 0.5943 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002658/0.663, allocations: 1.194 MB / 0.5955 GB, free: 9.941 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002982/0.6633, allocations: 127.7 kB / 0.5956 GB, free: 9.855 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002541/0.6635, allocations: 26.36 kB / 0.5956 GB, free: 9.852 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000528/0.6641, allocations: 34.11 kB / 0.5957 GB, free: 9.852 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/0.6643, allocations: 66.84 kB / 0.5957 GB, free: 9.852 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-05/0.6643, allocations: 36.44 kB / 0.5958 GB, free: 9.848 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001722/0.666, allocations: 1.146 MB / 0.5969 GB, free: 9.695 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.666, allocations: 0.7812 kB / 0.5969 GB, free: 9.695 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002606/0.6686, allocations: 0.537 MB / 0.5974 GB, free: 9.695 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.0008118/0.6695, allocations: 385.6 kB / 0.5978 GB, free: 9.598 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003993/0.6735, allocations: 1.446 MB / 0.5992 GB, free: 9.059 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.6735, allocations: 1.203 kB / 0.5992 GB, free: 9.059 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001736/0.6752, allocations: 0.9492 MB / 0.6001 GB, free: 8.527 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.6764, allocations: 406.3 kB / 0.6005 GB, free: 8.508 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004779/0.6811, allocations: 3.624 MB / 0.604 GB, free: 6.773 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.6815, allocations: 480.4 kB / 0.6045 GB, free: 6.676 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001017/0.6825, allocations: 465.5 kB / 0.6049 GB, free: 6.574 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004468/0.6829, allocations: 196.9 kB / 0.6051 GB, free: 6.547 MB / 426.7 MB Notification: Performance of SimCode: time 1.613e-06/0.6829, allocations: 1 kB / 0.6051 GB, free: 6.547 MB / 426.7 MB Notification: Performance of Templates: time 0.04523/0.7281, allocations: 41.27 MB / 0.6454 GB, free: 11.46 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.460557808168232]