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.002455/0.002455, allocations: 89.48 kB / 19.44 MB, free: 336 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.003147/0.003147, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.63/1.63, allocations: 177.1 MB / 203.1 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.1436/0.1436, allocations: 17.45 MB / 277 MB, free: 11.62 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 7.263e-06/7.263e-06, allocations: 3.984 kB / 352.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.088e-05/3.814e-05, allocations: 6.25 kB / 352.8 MB, free: 10.22 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.05112/0.05116, allocations: 30.69 MB / 383.5 MB, free: 11.65 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3504/0.4016, allocations: 143.8 MB / 0.515 GB, free: 10.15 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.4031, allocations: 59.5 kB / 0.515 GB, free: 10.09 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003327/0.4065, allocations: 1.07 MB / 0.5161 GB, free: 9.047 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003273/0.4097, allocations: 1.175 MB / 0.5172 GB, free: 7.863 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004212/0.414, allocations: 1.668 MB / 0.5189 GB, free: 6.188 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004489/0.4184, allocations: 2.581 MB / 0.5214 GB, free: 3.598 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007442/0.4192, allocations: 411.5 kB / 0.5218 GB, free: 3.152 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001848/0.421, allocations: 1.337 MB / 0.5231 GB, free: 1.812 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001545/0.4226, allocations: 0.939 MB / 0.524 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003193/0.4229, allocations: 208 kB / 0.5242 GB, free: 0.668 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003454/0.4264, allocations: 1.38 MB / 0.5255 GB, free: 15.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007085/0.4271, allocations: 0.6931 MB / 0.5262 GB, free: 14.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001309/0.4284, allocations: 0.7558 MB / 0.527 GB, free: 13.83 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006013/0.4344, allocations: 4.198 MB / 0.5311 GB, free: 9.621 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4344, allocations: 0 / 0.5311 GB, free: 9.621 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4344, allocations: 4 kB / 0.5311 GB, free: 9.617 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.546e-05/0.4344, allocations: 0 / 0.5311 GB, free: 9.617 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.005796/0.4402, allocations: 3.134 MB / 0.5341 GB, free: 6.434 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.4403, allocations: 12.03 kB / 0.5341 GB, free: 6.422 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002219/0.4425, allocations: 1.034 MB / 0.5351 GB, free: 5.391 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002325/0.4448, allocations: 1.349 MB / 0.5365 GB, free: 3.996 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002995/0.4451, allocations: 267.3 kB / 0.5367 GB, free: 3.711 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003087/0.4454, allocations: 212.2 kB / 0.5369 GB, free: 3.504 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005543/0.451, allocations: 3.173 MB / 0.54 GB, free: 268 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.322e-05/0.451, allocations: 192 / 0.54 GB, free: 268 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001779/0.4512, allocations: 80.36 kB / 0.5401 GB, free: 188 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004598/0.4517, allocations: 332.7 kB / 0.5404 GB, free: 15.85 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008607/0.4603, allocations: 5.728 MB / 0.546 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02263/0.4829, allocations: 12.71 MB / 0.5584 GB, free: 13.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002301/0.4852, allocations: 0.931 MB / 0.5593 GB, free: 12.15 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001348/0.4865, allocations: 0.5376 MB / 0.5598 GB, free: 11.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01307/0.4996, allocations: 5.414 MB / 0.5651 GB, free: 6.168 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/0.4997, allocations: 42.05 kB / 0.5652 GB, free: 6.117 MB / 442.7 MB Notification: Performance of pre-optimization done (n=80): time 2.805e-06/0.4997, allocations: 0 / 0.5652 GB, free: 6.117 MB / 442.7 MB Notification: Performance of matching and sorting (n=95): time 0.02011/0.5198, allocations: 5.429 MB / 0.5705 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/0.5198, allocations: 64.41 kB / 0.5705 GB, free: 0.5273 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1638/0.6836, allocations: 1.474 MB / 0.572 GB, free: 168.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003244/0.6839, allocations: 41.33 kB / 0.572 GB, free: 168.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009378/0.6849, allocations: 1.36 MB / 0.5733 GB, free: 168.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003943/0.6853, allocations: 365.8 kB / 0.5737 GB, free: 168 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00075/0.686, allocations: 402.6 kB / 0.5741 GB, free: 167.9 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.6862, allocations: 0.561 MB / 0.5746 GB, free: 167.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.6876, allocations: 0.6158 MB / 0.5752 GB, free: 167.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001732/0.6893, allocations: 1.287 MB / 0.5765 GB, free: 166.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003217/0.6925, allocations: 2.006 MB / 0.5784 GB, free: 165.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/0.6925, allocations: 6.875 kB / 0.5785 GB, free: 165.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.005569/0.6981, allocations: 2.216 MB / 0.5806 GB, free: 164.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.6981, allocations: 14.34 kB / 0.5806 GB, free: 164.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-05/0.6982, allocations: 17.59 kB / 0.5806 GB, free: 164.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006092/0.6988, allocations: 201.6 kB / 0.5808 GB, free: 164.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008631/0.7074, allocations: 0.8073 MB / 0.5816 GB, free: 164.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005012/0.7124, allocations: 7.691 MB / 0.5891 GB, free: 156.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.7139, allocations: 55.95 kB / 0.5892 GB, free: 156.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003458/0.7142, allocations: 222.5 kB / 0.5894 GB, free: 156.8 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.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.001055/0.7153, allocations: 387.7 kB / 0.5898 GB, free: 156.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005238/0.7158, allocations: 188.6 kB / 0.59 GB, free: 156.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005502/0.7213, allocations: 2.837 MB / 0.5927 GB, free: 155.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.7213, allocations: 10.25 kB / 0.5927 GB, free: 155.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.7213, allocations: 1.406 kB / 0.5927 GB, free: 155.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.7213, allocations: 3.234 kB / 0.5927 GB, free: 155.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006262/0.7276, allocations: 3.748 MB / 0.5964 GB, free: 153.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.7276, allocations: 3.969 kB / 0.5964 GB, free: 153.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005998/0.7336, allocations: 0.5265 MB / 0.5969 GB, free: 153.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004164/0.734, allocations: 169.9 kB / 0.5971 GB, free: 153.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.04e-05/0.7341, allocations: 21.75 kB / 0.5971 GB, free: 153.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004458/0.7385, allocations: 7.823 MB / 0.6047 GB, free: 145.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.7385, allocations: 4 kB / 0.6047 GB, free: 145.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003888/0.7424, allocations: 1.647 MB / 0.6063 GB, free: 143.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003488/0.7428, allocations: 115.1 kB / 0.6065 GB, free: 143.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002649/0.743, allocations: 25.88 kB / 0.6065 GB, free: 143.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000634/0.7437, allocations: 38.64 kB / 0.6065 GB, free: 143.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.7438, allocations: 72.03 kB / 0.6066 GB, free: 143.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.117e-05/0.7439, allocations: 27.84 kB / 0.6066 GB, free: 143.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001555/0.7454, allocations: 1.387 MB / 0.608 GB, free: 142.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.7454, allocations: 0 / 0.608 GB, free: 142.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00227/0.7477, allocations: 0.5351 MB / 0.6085 GB, free: 141.8 MB / 442.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.0007248/0.7484, allocations: 386.1 kB / 0.6089 GB, free: 141.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005488/0.7539, allocations: 1.95 MB / 0.6108 GB, free: 139.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.7539, allocations: 3.719 kB / 0.6108 GB, free: 139.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003507/0.7574, allocations: 1.086 MB / 0.6118 GB, free: 138.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/0.7593, allocations: 414.1 kB / 0.6122 GB, free: 138.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005539/0.7648, allocations: 3.729 MB / 0.6159 GB, free: 134.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009182/0.7657, allocations: 1.059 MB / 0.6169 GB, free: 133.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001539/0.7673, allocations: 462.2 kB / 0.6173 GB, free: 132.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006135/0.7679, allocations: 192.4 kB / 0.6175 GB, free: 132.7 MB / 442.7 MB Notification: Performance of SimCode: time 2.314e-06/0.7679, allocations: 2.656 kB / 0.6175 GB, free: 132.7 MB / 442.7 MB Notification: Performance of Templates: time 0.04461/0.8125, allocations: 36.37 MB / 0.653 GB, free: 97.5 MB / 442.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: 6.686531614977866]