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.0007355/0.0007355, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008875/0.001623, 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.001029/0.001029, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001233/0.002262, 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 0.9547/0.9547, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09107/1.046, 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.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.09113/0.09113, allocations: 17.44 MB / 261.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01271/0.1038, allocations: 6.959 MB / 268.4 MB, free: 6.398 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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.363e-06/1.363e-06, allocations: 0 / 269.6 MB, free: 5.125 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.187e-06/1.055e-05, allocations: 6.109 kB / 269.7 MB, free: 5.121 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 2.0.1-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 2.0.1-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 2.0.1-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.1548/0.1548, allocations: 9.369 MB / 279 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.16/0.3149, allocations: 144.3 MB / 423.4 MB, free: 8.301 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001894/0.3167, allocations: 55.56 kB / 423.4 MB, free: 8.246 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002961/0.3197, allocations: 1.107 MB / 424.5 MB, free: 7.133 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003137/0.3228, allocations: 1.171 MB / 425.7 MB, free: 5.953 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003603/0.3265, allocations: 1.675 MB / 427.4 MB, free: 4.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003463/0.3299, allocations: 2.559 MB / 429.9 MB, free: 1.703 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005873/0.3305, allocations: 459.5 kB / 430.4 MB, free: 1.195 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1875/0.518, allocations: 1.403 MB / 431.8 MB, free: 4.945 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001649/0.5197, allocations: 0.9093 MB / 432.7 MB, free: 4.945 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005134/0.5202, allocations: 203.2 kB / 432.9 MB, free: 4.945 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003236/0.5234, allocations: 1.398 MB / 434.3 MB, free: 4.945 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000557/0.524, allocations: 0.5905 MB / 434.9 MB, free: 4.945 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001379/0.5254, allocations: 0.6522 MB / 435.5 MB, free: 4.945 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004673/0.53, allocations: 2.993 MB / 438.5 MB, free: 4.703 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-05/0.5301, allocations: 0.7188 kB / 438.5 MB, free: 4.703 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.5301, allocations: 0 / 438.5 MB, free: 4.703 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001131/0.5302, allocations: 1.406 kB / 438.5 MB, free: 4.703 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.0043/0.5345, allocations: 3.176 MB / 441.7 MB, free: 3.449 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.5345, allocations: 10.47 kB / 441.7 MB, free: 3.449 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.5358, allocations: 1.01 MB / 442.7 MB, free: 3.344 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.537, allocations: 0.9393 MB / 443.7 MB, free: 2.926 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.5371, allocations: 271.1 kB / 443.9 MB, free: 2.797 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.5373, allocations: 202.9 kB / 444.1 MB, free: 2.797 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002235/0.5395, allocations: 2.434 MB / 446.6 MB, free: 2.531 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/0.5396, allocations: 1.156 kB / 446.6 MB, free: 2.531 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.211e-05/0.5396, allocations: 83.22 kB / 446.6 MB, free: 2.531 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001963/0.5398, allocations: 331.6 kB / 447 MB, free: 2.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00228/0.5421, allocations: 2.846 MB / 449.8 MB, free: 2.426 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008595/0.5507, allocations: 7.553 MB / 457.4 MB, free: 16.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007433/0.5515, allocations: 437.5 kB / 457.8 MB, free: 16.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003168/0.5518, allocations: 169.5 kB / 458 MB, free: 16.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006897/0.5587, allocations: 3.832 MB / 461.8 MB, free: 16.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.5587, allocations: 39.78 kB / 461.8 MB, free: 16.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=80): time 3.216e-06/0.5587, allocations: 0.625 kB / 461.8 MB, free: 16.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.01195/0.5707, allocations: 2.9 MB / 464.7 MB, free: 15.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.5707, allocations: 61 kB / 464.8 MB, free: 15.72 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.5718, allocations: 0.9236 MB / 465.7 MB, free: 15.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001232/0.5719, allocations: 43.98 kB / 465.8 MB, free: 15.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005321/0.5724, allocations: 1.006 MB / 466.8 MB, free: 14.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003364/0.5728, allocations: 343.6 kB / 467.1 MB, free: 14.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005721/0.5733, allocations: 292 kB / 467.4 MB, free: 14.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.5735, allocations: 357.2 kB / 467.7 MB, free: 14.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006043/0.5741, allocations: 190.6 kB / 467.9 MB, free: 14.35 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008312/0.5749, allocations: 0.6291 MB / 468.6 MB, free: 13.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/0.5765, allocations: 0.9791 MB / 469.5 MB, free: 13.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.5765, allocations: 8 kB / 469.5 MB, free: 13.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002468/0.579, allocations: 1.015 MB / 470.6 MB, free: 13.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.579, allocations: 10.94 kB / 470.6 MB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.5791, allocations: 15.75 kB / 470.6 MB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003076/0.5794, allocations: 143.9 kB / 470.7 MB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003905/0.5833, allocations: 0.9899 MB / 471.7 MB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002808/0.5861, allocations: 4.889 MB / 476.6 MB, free: 8.504 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009794/0.5871, allocations: 56.17 kB / 476.7 MB, free: 8.504 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002169/0.5873, allocations: 192.5 kB / 476.8 MB, free: 8.504 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.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.0009412/0.5882, allocations: 199.5 kB / 477 MB, free: 8.375 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002664/0.5885, allocations: 133.5 kB / 477.2 MB, free: 8.371 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002423/0.5909, allocations: 1.924 MB / 479.1 MB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.5909, allocations: 6 kB / 479.1 MB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.5909, allocations: 3.938 kB / 479.1 MB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.5909, allocations: 3.094 kB / 479.1 MB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002765/0.5937, allocations: 1.861 MB / 481 MB, free: 7.652 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.5937, allocations: 6.25 kB / 481 MB, free: 7.652 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002665/0.5964, allocations: 0.6569 MB / 481.6 MB, free: 7.652 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.5965, allocations: 112.2 kB / 481.7 MB, free: 7.578 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002273/0.5967, allocations: 128 kB / 481.9 MB, free: 7.547 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.211e-05/0.5968, allocations: 21 kB / 481.9 MB, free: 7.547 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002535/0.5993, allocations: 5.135 MB / 487 MB, free: 2.754 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.5993, allocations: 6.5 kB / 487 MB, free: 2.754 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.6005, allocations: 0.8728 MB / 487.9 MB, free: 2.434 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.6007, allocations: 22.8 kB / 487.9 MB, free: 2.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003277/0.601, allocations: 34.52 kB / 488 MB, free: 2.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.6011, allocations: 67.25 kB / 488 MB, free: 2.426 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/0.6011, allocations: 24.66 kB / 488 MB, free: 2.426 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006417/0.6018, allocations: 0.7283 MB / 488.8 MB, free: 2.379 MB / 426.7 MB Notification: Performance of sort global known variables: time 3e-08/0.6018, allocations: 2.078 kB / 488.8 MB, free: 2.379 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001638/0.6034, allocations: 0.5342 MB / 489.3 MB, free: 2.359 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.0006242/0.604, allocations: 399.7 kB / 489.7 MB, free: 2.246 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002044/0.6061, allocations: 1.109 MB / 490.8 MB, free: 1.875 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.511e-05/0.6061, allocations: 21.41 kB / 490.8 MB, free: 1.875 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001238/0.6074, allocations: 0.7329 MB / 491.6 MB, free: 1.516 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009561/0.6083, allocations: 0.5044 MB / 492.1 MB, free: 1.477 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/0.6193, allocations: 3.802 MB / 495.9 MB, free: 15.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.6197, allocations: 483.1 kB / 496.3 MB, free: 15.11 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001252/0.6209, allocations: 431.8 kB / 496.8 MB, free: 14.76 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008565/0.6218, allocations: 395.7 kB / 497.1 MB, free: 14.45 MB / 442.7 MB Notification: Performance of SimCode: time 1.603e-06/0.6218, allocations: 0 / 497.1 MB, free: 14.45 MB / 442.7 MB Notification: Performance of Templates: time 0.0493/0.6711, allocations: 42.22 MB / 0.5267 GB, free: 7.574 MB / 474.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: 3.8222029078751802]