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.004135/0.004135, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001335/0.001335, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.061/1.061, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.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.1208/0.1208, allocations: 17.37 MB / 278.4 MB, free: 11.48 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.283e-06/1.283e-06, allocations: 0 / 354.7 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.566e-05/1.694e-05, allocations: 6.312 kB / 354.7 MB, free: 10.74 MB / 330.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.03312/0.03314, allocations: 32.49 MB / 387.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.3225/0.3556, allocations: 139.6 MB / 0.5144 GB, free: 35.74 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/0.3571, allocations: 26.44 kB / 0.5144 GB, free: 35.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002391/0.3595, allocations: 1.004 MB / 0.5154 GB, free: 35.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002128/0.3616, allocations: 0.9099 MB / 0.5163 GB, free: 34.72 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002757/0.3644, allocations: 1.386 MB / 0.5176 GB, free: 33.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002941/0.3673, allocations: 2.367 MB / 0.52 GB, free: 32.74 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006024/0.3679, allocations: 430.5 kB / 0.5204 GB, free: 32.51 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/0.3694, allocations: 1.205 MB / 0.5215 GB, free: 31.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.3704, allocations: 0.688 MB / 0.5222 GB, free: 31.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004132/0.3708, allocations: 212.5 kB / 0.5224 GB, free: 31.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/0.3733, allocations: 1.147 MB / 0.5235 GB, free: 31.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003724/0.3737, allocations: 0.6651 MB / 0.5242 GB, free: 31.06 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008145/0.3745, allocations: 0.7264 MB / 0.5249 GB, free: 30.69 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004014/0.3785, allocations: 3.146 MB / 0.528 GB, free: 29.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3785, allocations: 4 kB / 0.528 GB, free: 29.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.3785, allocations: 2.531 kB / 0.528 GB, free: 29.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000144/0.3787, allocations: 0 / 0.528 GB, free: 29.09 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.004092/0.3828, allocations: 2.936 MB / 0.5308 GB, free: 27.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3828, allocations: 14.66 kB / 0.5309 GB, free: 27.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.3842, allocations: 1.04 MB / 0.5319 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.3854, allocations: 1.006 MB / 0.5328 GB, free: 26.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002453/0.3856, allocations: 366.1 kB / 0.5332 GB, free: 25.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/0.3858, allocations: 195.1 kB / 0.5334 GB, free: 25.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002566/0.3884, allocations: 2.516 MB / 0.5358 GB, free: 25.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.365e-05/0.3884, allocations: 4.125 kB / 0.5358 GB, free: 25.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.667e-05/0.3885, allocations: 80.73 kB / 0.5359 GB, free: 25.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002335/0.3887, allocations: 349.2 kB / 0.5363 GB, free: 24.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002371/0.3911, allocations: 2.904 MB / 0.5391 GB, free: 23.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01055/0.4017, allocations: 11.03 MB / 0.5499 GB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.4028, allocations: 0.4985 MB / 0.5504 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005436/0.4033, allocations: 244.2 kB / 0.5506 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007497/0.4041, allocations: 0.5637 MB / 0.5511 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.4041, allocations: 53.98 kB / 0.5512 GB, free: 10.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 5.571e-06/0.4041, allocations: 2.766 kB / 0.5512 GB, free: 10.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=102): time 0.01176/0.4159, allocations: 4.095 MB / 0.5552 GB, free: 6.688 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001924/0.4178, allocations: 2.531 MB / 0.5577 GB, free: 4.008 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008592/0.4187, allocations: 1.117 MB / 0.5588 GB, free: 2.875 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001337/0.4188, allocations: 45.7 kB / 0.5588 GB, free: 2.824 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004507/0.4192, allocations: 1.218 MB / 0.56 GB, free: 1.594 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002655/0.4195, allocations: 368.8 kB / 0.5603 GB, free: 1.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005368/0.42, allocations: 372.3 kB / 0.5607 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.477e-05/0.4201, allocations: 0.512 MB / 0.5612 GB, free: 348 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007264/0.4208, allocations: 309.3 kB / 0.5615 GB, free: 40 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009552/0.4218, allocations: 0.5944 MB / 0.5621 GB, free: 15.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002203/0.424, allocations: 1.187 MB / 0.5632 GB, free: 14.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.424, allocations: 0 / 0.5632 GB, free: 14.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003421/0.4274, allocations: 1.489 MB / 0.5647 GB, free: 12.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.4274, allocations: 8 kB / 0.5647 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.4275, allocations: 8 kB / 0.5647 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005295/0.428, allocations: 257.7 kB / 0.5649 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004592/0.4326, allocations: 1.073 MB / 0.566 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005139/0.4377, allocations: 7.129 MB / 0.573 GB, free: 3.676 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.4389, allocations: 39.98 kB / 0.573 GB, free: 3.637 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000323/0.4392, allocations: 284.1 kB / 0.5733 GB, free: 3.355 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.001147/0.4404, allocations: 218.8 kB / 0.5735 GB, free: 3.133 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004777/0.4408, allocations: 171.1 kB / 0.5736 GB, free: 2.965 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003705/0.4445, allocations: 2.514 MB / 0.5761 GB, free: 392 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.4446, allocations: 12 kB / 0.5761 GB, free: 380 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4446, allocations: 2.688 kB / 0.5761 GB, free: 380 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.507e-06/0.4446, allocations: 3.984 kB / 0.5761 GB, free: 376 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005585/0.4502, allocations: 3.982 MB / 0.58 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.4502, allocations: 4.656 kB / 0.58 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002705/0.4529, allocations: 499.3 kB / 0.5805 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007871/0.4537, allocations: 221.4 kB / 0.5807 GB, free: 11.49 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.484e-05/0.4537, allocations: 23.98 kB / 0.5807 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004596/0.4583, allocations: 7.701 MB / 0.5882 GB, free: 3.312 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001554/0.4599, allocations: 2.164 MB / 0.5903 GB, free: 1.02 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002477/0.4623, allocations: 1.261 MB / 0.5916 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002589/0.4626, allocations: 131.2 kB / 0.5917 GB, free: 15.51 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/0.4628, allocations: 27.95 kB / 0.5917 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003809/0.4632, allocations: 31.98 kB / 0.5918 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/0.4634, allocations: 92.38 kB / 0.5918 GB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.915e-05/0.4634, allocations: 23.98 kB / 0.5919 GB, free: 15.34 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001118/0.4645, allocations: 1.214 MB / 0.5931 GB, free: 14.12 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4645, allocations: 0 / 0.5931 GB, free: 14.12 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002112/0.4666, allocations: 0.6559 MB / 0.5937 GB, free: 13.46 MB / 458.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.0007694/0.4674, allocations: 421.8 kB / 0.5941 GB, free: 13.05 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003052/0.4705, allocations: 1.383 MB / 0.5954 GB, free: 11.61 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.4705, allocations: 1.062 kB / 0.5954 GB, free: 11.61 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001759/0.4722, allocations: 0.9915 MB / 0.5964 GB, free: 10.56 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.4735, allocations: 425.7 kB / 0.5968 GB, free: 10.19 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00588/0.4794, allocations: 3.795 MB / 0.6005 GB, free: 6.242 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.4798, allocations: 489 kB / 0.601 GB, free: 5.738 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001133/0.481, allocations: 349.9 kB / 0.6013 GB, free: 5.402 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/0.482, allocations: 465.9 kB / 0.6018 GB, free: 4.945 MB / 458.7 MB Notification: Performance of SimCode: time 2.484e-06/0.482, allocations: 0 / 0.6018 GB, free: 4.945 MB / 458.7 MB Notification: Performance of Templates: time 0.3116/0.7936, allocations: 63.63 MB / 0.6639 GB, free: 49.12 MB / 458.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.943160080816597]