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.001406/0.001406, allocations: 88.72 kB / 19.44 MB, free: 356 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.001569/0.001569, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.494/1.494, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.1396/0.1396, allocations: 17.45 MB / 277 MB, free: 11.58 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.372e-06/1.372e-06, allocations: 0 / 352.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.619e-05, allocations: 2.312 kB / 352.8 MB, free: 10.21 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.04584/0.04587, allocations: 29.59 MB / 382.4 MB, free: 12.75 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3508/0.3967, allocations: 130.8 MB / 0.5012 GB, free: 6.789 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001929/0.3986, allocations: 55.56 kB / 0.5012 GB, free: 6.734 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003941/0.4026, allocations: 1.065 MB / 0.5022 GB, free: 5.691 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003989/0.4066, allocations: 1.175 MB / 0.5034 GB, free: 4.508 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004503/0.4111, allocations: 1.625 MB / 0.505 GB, free: 2.875 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004846/0.4159, allocations: 2.582 MB / 0.5075 GB, free: 296 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008252/0.4167, allocations: 427.5 kB / 0.5079 GB, free: 15.83 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00207/0.4188, allocations: 1.325 MB / 0.5092 GB, free: 14.5 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001595/0.4204, allocations: 0.9429 MB / 0.5101 GB, free: 13.55 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002966/0.4207, allocations: 204 kB / 0.5103 GB, free: 13.36 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00394/0.4246, allocations: 1.384 MB / 0.5117 GB, free: 11.97 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001027/0.4257, allocations: 0.6891 MB / 0.5123 GB, free: 11.28 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001161/0.4268, allocations: 0.7558 MB / 0.5131 GB, free: 10.52 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006972/0.4338, allocations: 4.186 MB / 0.5172 GB, free: 6.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4338, allocations: 0 / 0.5172 GB, free: 6.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.604e-06/0.4338, allocations: 0 / 0.5172 GB, free: 6.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.306e-05/0.4339, allocations: 0 / 0.5172 GB, free: 6.32 MB / 394.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.00535/0.4392, allocations: 2.71 MB / 0.5198 GB, free: 3.566 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.4393, allocations: 12.03 kB / 0.5198 GB, free: 3.555 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002564/0.4418, allocations: 1.081 MB / 0.5209 GB, free: 2.477 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002422/0.4442, allocations: 1.347 MB / 0.5222 GB, free: 1.086 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003226/0.4446, allocations: 279.3 kB / 0.5225 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003184/0.4449, allocations: 200.3 kB / 0.5227 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01095/0.4558, allocations: 7.218 MB / 0.5297 GB, free: 9.316 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.415e-05/0.4559, allocations: 4.188 kB / 0.5297 GB, free: 9.312 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001971/0.4561, allocations: 80.36 kB / 0.5298 GB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004379/0.4565, allocations: 332.6 kB / 0.5301 GB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01784/0.4744, allocations: 12.91 MB / 0.5427 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0245/0.4989, allocations: 12.26 MB / 0.5547 GB, free: 15.62 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003594/0.5024, allocations: 1.852 MB / 0.5565 GB, free: 13.76 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002334/0.5048, allocations: 1.214 MB / 0.5577 GB, free: 12.54 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01516/0.5199, allocations: 6.447 MB / 0.564 GB, free: 6.059 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.238e-05/0.52, allocations: 39.22 kB / 0.564 GB, free: 6.012 MB / 442.7 MB Notification: Performance of pre-optimization done (n=80): time 3.897e-06/0.52, allocations: 0 / 0.564 GB, free: 6.012 MB / 442.7 MB Notification: Performance of matching and sorting (n=95): time 0.1921/0.7121, allocations: 8.592 MB / 0.5724 GB, free: 170.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.7121, allocations: 61.03 kB / 0.5725 GB, free: 170.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/0.7139, allocations: 1.174 MB / 0.5736 GB, free: 169.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002141/0.7141, allocations: 41.33 kB / 0.5736 GB, free: 169.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008035/0.7149, allocations: 1.189 MB / 0.5748 GB, free: 169.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003407/0.7153, allocations: 334.1 kB / 0.5751 GB, free: 168.9 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007651/0.716, allocations: 363.3 kB / 0.5755 GB, free: 168.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.7161, allocations: 355.6 kB / 0.5758 GB, free: 168.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002103/0.7182, allocations: 1.286 MB / 0.5771 GB, free: 167.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00231/0.7205, allocations: 1.738 MB / 0.5788 GB, free: 166.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004182/0.7247, allocations: 3.123 MB / 0.5818 GB, free: 165.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/0.7247, allocations: 4.438 kB / 0.5818 GB, free: 165.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.006047/0.7308, allocations: 3.55 MB / 0.5853 GB, free: 163.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.7308, allocations: 16.94 kB / 0.5853 GB, free: 163.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/0.7308, allocations: 13.81 kB / 0.5853 GB, free: 163.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005604/0.7314, allocations: 200.9 kB / 0.5855 GB, free: 163.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008479/0.7399, allocations: 0.8574 MB / 0.5863 GB, free: 163.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004491/0.7444, allocations: 5.615 MB / 0.5918 GB, free: 158.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.7461, allocations: 69.02 kB / 0.5919 GB, free: 158.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002799/0.7464, allocations: 213.7 kB / 0.5921 GB, free: 158.1 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.00127/0.7476, allocations: 0.651 MB / 0.5927 GB, free: 157.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005161/0.7481, allocations: 195 kB / 0.5929 GB, free: 157.6 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004991/0.7531, allocations: 2.495 MB / 0.5954 GB, free: 155.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.7531, allocations: 8 kB / 0.5954 GB, free: 155.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.7532, allocations: 0 / 0.5954 GB, free: 155.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.7532, allocations: 11.75 kB / 0.5954 GB, free: 155.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00576/0.7589, allocations: 3.01 MB / 0.5983 GB, free: 152.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.7589, allocations: 4 kB / 0.5983 GB, free: 152.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006451/0.7654, allocations: 0.5801 MB / 0.5989 GB, free: 152.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004458/0.7658, allocations: 161.2 kB / 0.599 GB, free: 152 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-05/0.7659, allocations: 27.98 kB / 0.5991 GB, free: 152 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00399/0.7699, allocations: 5.639 MB / 0.6046 GB, free: 146 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.7699, allocations: 6.656 kB / 0.6046 GB, free: 145.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003753/0.7736, allocations: 1.641 MB / 0.6062 GB, free: 144.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003185/0.774, allocations: 109.6 kB / 0.6063 GB, free: 144.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002609/0.7742, allocations: 34.47 kB / 0.6063 GB, free: 144.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007489/0.775, allocations: 46.62 kB / 0.6064 GB, free: 144.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.7751, allocations: 68.42 kB / 0.6064 GB, free: 144 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.923e-05/0.7752, allocations: 27.98 kB / 0.6065 GB, free: 144 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001728/0.7769, allocations: 1.831 MB / 0.6082 GB, free: 142.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.7769, allocations: 0 / 0.6082 GB, free: 142.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001955/0.7789, allocations: 0.5335 MB / 0.6088 GB, free: 141.6 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.0006913/0.7796, allocations: 390.5 kB / 0.6091 GB, free: 141.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005806/0.7854, allocations: 2.218 MB / 0.6113 GB, free: 139.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.7854, allocations: 0 / 0.6113 GB, free: 139.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003723/0.7891, allocations: 0.9196 MB / 0.6122 GB, free: 138.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/0.7909, allocations: 414.8 kB / 0.6126 GB, free: 137.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005939/0.7969, allocations: 3.892 MB / 0.6164 GB, free: 133.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009406/0.7978, allocations: 1.088 MB / 0.6175 GB, free: 132.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001491/0.7993, allocations: 497.7 kB / 0.6179 GB, free: 132.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006217/0.7999, allocations: 199 kB / 0.6181 GB, free: 132.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.794e-06/0.7999, allocations: 0 / 0.6181 GB, free: 132.2 MB / 442.7 MB Notification: Performance of Templates: time 0.05565/0.8556, allocations: 36.39 MB / 0.6537 GB, free: 96.96 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=480 -lv LOG_STATS > Chemical_master_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.6111023490084335]