Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001204/0.001204, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00196/0.003164, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001319/0.001319, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001758/0.003077, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.059/1.059, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09748/1.156, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.08816/0.08816, allocations: 17.36 MB / 261.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0129/0.1011, allocations: 6.925 MB / 268.3 MB, free: 6.516 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Examples.GasSolubility_NIST_2") translateModel(Chemical.Examples.GasSolubility_NIST_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 269.5 MB, free: 5.254 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767e-05/1.918e-05, allocations: 2.312 kB / 269.5 MB, free: 5.25 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1819:5-1819: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 2.0.0/Interfaces.mo:1819:5-1819: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 2.0.0/Boundaries.mo:1328:7-1328: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 2.0.0/Boundaries.mo:1328:7-1328: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.1578/0.1578, allocations: 8.956 MB / 278.5 MB, free: 1.133 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1481/0.306, allocations: 142.4 MB / 420.8 MB, free: 10.9 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001383/0.3074, allocations: 23.88 kB / 420.9 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002353/0.3097, allocations: 1.048 MB / 421.9 MB, free: 9.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002148/0.3119, allocations: 0.8994 MB / 422.8 MB, free: 8.914 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002791/0.3147, allocations: 1.396 MB / 424.2 MB, free: 7.512 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00223/0.3169, allocations: 2.339 MB / 426.5 MB, free: 5.168 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004907/0.3174, allocations: 460.2 kB / 427 MB, free: 4.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.3186, allocations: 1.334 MB / 428.3 MB, free: 3.312 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006807/0.3192, allocations: 0.6817 MB / 429 MB, free: 2.629 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001884/0.3194, allocations: 215.9 kB / 429.2 MB, free: 2.418 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/0.3218, allocations: 1.193 MB / 430.4 MB, free: 1.223 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003208/0.3221, allocations: 0.5646 MB / 431 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005112/0.3226, allocations: 0.6117 MB / 431.6 MB, free: 44 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1872/0.5097, allocations: 2.895 MB / 434.5 MB, free: 7.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.215e-05/0.5098, allocations: 0.875 kB / 434.5 MB, free: 7.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.5098, allocations: 0 / 434.5 MB, free: 7.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001221/0.5099, allocations: 0.7031 kB / 434.5 MB, free: 7.07 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: 615 * Number of variables: 615 Notification: Performance of Generate backend data structure: time 0.005153/0.515, allocations: 3.08 MB / 437.6 MB, free: 5.859 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.5151, allocations: 8.5 kB / 437.6 MB, free: 5.859 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001578/0.5167, allocations: 1.014 MB / 438.6 MB, free: 5.746 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.5178, allocations: 0.8508 MB / 439.4 MB, free: 5.359 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002602/0.5181, allocations: 363.1 kB / 439.8 MB, free: 5.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/0.5183, allocations: 195.2 kB / 440 MB, free: 5.227 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002532/0.5208, allocations: 2.54 MB / 442.5 MB, free: 4.977 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.14e-05/0.5208, allocations: 5 kB / 442.5 MB, free: 4.977 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.48e-05/0.5209, allocations: 82.81 kB / 442.6 MB, free: 4.977 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002145/0.5211, allocations: 347.2 kB / 443 MB, free: 4.965 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002219/0.5233, allocations: 2.908 MB / 445.9 MB, free: 4.871 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008712/0.5321, allocations: 8.884 MB / 454.7 MB, free: 3.418 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000951/0.533, allocations: 471 kB / 455.2 MB, free: 3.332 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004787/0.5335, allocations: 192.7 kB / 455.4 MB, free: 3.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007334/0.5342, allocations: 0.5709 MB / 456 MB, free: 3.281 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.5342, allocations: 42.09 kB / 456 MB, free: 3.242 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 2.414e-06/0.5342, allocations: 0 / 456 MB, free: 3.242 MB / 410.7 MB Notification: Performance of matching and sorting (n=102): time 0.01122/0.5455, allocations: 3.871 MB / 459.9 MB, free: 2.672 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001442/0.5469, allocations: 1.854 MB / 461.7 MB, free: 1.238 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007288/0.5476, allocations: 0.9908 MB / 462.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001758/0.5478, allocations: 45.11 kB / 462.8 MB, free: 17.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/0.5481, allocations: 0.9198 MB / 463.7 MB, free: 16.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002202/0.5484, allocations: 367.2 kB / 464 MB, free: 16.26 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004564/0.5488, allocations: 284.4 kB / 464.3 MB, free: 16.24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.751e-05/0.5489, allocations: 344.9 kB / 464.7 MB, free: 15.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006806/0.5496, allocations: 259.4 kB / 464.9 MB, free: 15.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007172/0.5503, allocations: 467.8 kB / 465.4 MB, free: 15.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001803/0.5521, allocations: 1.073 MB / 466.4 MB, free: 15.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.5521, allocations: 0 / 466.4 MB, free: 15.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002257/0.5544, allocations: 1.075 MB / 467.5 MB, free: 15.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.5544, allocations: 9.609 kB / 467.5 MB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.5544, allocations: 9.156 kB / 467.5 MB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000392/0.5548, allocations: 245 kB / 467.8 MB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004852/0.5596, allocations: 1.189 MB / 469 MB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002946/0.5626, allocations: 4.943 MB / 473.9 MB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005471/0.5631, allocations: 43 kB / 473.9 MB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002244/0.5634, allocations: 266.2 kB / 474.2 MB, free: 11.07 MB / 426.7 MB Warning: Assuming fixed start value for the following 1 variables: CO2_dissolutionP.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 120 * 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,1,100.0%), (1,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007456/0.5641, allocations: 186.1 kB / 474.4 MB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002851/0.5644, allocations: 103.8 kB / 474.5 MB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002843/0.5672, allocations: 2.236 MB / 476.7 MB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.5672, allocations: 9.906 kB / 476.7 MB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5672, allocations: 3.984 kB / 476.7 MB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.5673, allocations: 5.859 kB / 476.7 MB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003506/0.5708, allocations: 2.964 MB / 479.7 MB, free: 9.969 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.5708, allocations: 6.156 kB / 479.7 MB, free: 9.969 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002437/0.5732, allocations: 0.5949 MB / 480.3 MB, free: 9.969 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005141/0.5737, allocations: 136.9 kB / 480.4 MB, free: 9.895 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006604/0.5744, allocations: 274.1 kB / 480.7 MB, free: 9.859 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.364e-05/0.5744, allocations: 24.73 kB / 480.7 MB, free: 9.859 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002886/0.5773, allocations: 5.39 MB / 486.1 MB, free: 5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001058/0.5784, allocations: 1.578 MB / 487.7 MB, free: 3.668 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.5798, allocations: 1.088 MB / 488.8 MB, free: 3.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.5799, allocations: 27.88 kB / 488.8 MB, free: 3.156 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003244/0.5802, allocations: 35.23 kB / 488.9 MB, free: 3.156 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.5804, allocations: 90.73 kB / 488.9 MB, free: 3.148 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.414e-05/0.5804, allocations: 30.86 kB / 489 MB, free: 3.148 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007172/0.5811, allocations: 0.8834 MB / 489.9 MB, free: 3.105 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5811, allocations: 0.6875 kB / 489.9 MB, free: 3.105 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001597/0.5827, allocations: 0.6569 MB / 490.5 MB, free: 3.082 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 2 ($STATESET1.x,CO2_dissolutionP.rear.n_flow) * Number of discrete variables: 2 ($cse18,$cse11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * 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): 2 systems {(1,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000589/0.5833, allocations: 407.9 kB / 490.9 MB, free: 2.969 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002109/0.5854, allocations: 1.135 MB / 492 MB, free: 2.594 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.211e-05/0.5854, allocations: 16.06 kB / 492.1 MB, free: 2.594 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001506/0.5869, allocations: 0.8096 MB / 492.9 MB, free: 2.234 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009768/0.5879, allocations: 0.5264 MB / 493.4 MB, free: 2.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.5984, allocations: 3.981 MB / 497.4 MB, free: 244 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005738/0.599, allocations: 0.4939 MB / 497.9 MB, free: 15.96 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008436/0.5998, allocations: 343.2 kB / 498.2 MB, free: 15.68 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009366/0.6007, allocations: 367.7 kB / 498.6 MB, free: 15.41 MB / 442.7 MB Notification: Performance of SimCode: time 8.01e-07/0.6007, allocations: 0 / 498.6 MB, free: 15.41 MB / 442.7 MB Notification: Performance of Templates: time 0.07565/0.6764, allocations: 63.33 MB / 0.5487 GB, free: 4.594 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.GasSolubility_NIST_2.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility_NIST_2.sim & ./Chemical_Chemical.Examples.GasSolubility_NIST_2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.189653526060283]