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.0007808/0.0007808, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001273/0.002054, allocations: 440 kB / 10.41 MB, free: 284 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.0008073/0.0008073, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001247/0.002054, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.042/1.042, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09065/1.132, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.09061/0.09061, allocations: 17.37 MB / 261.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0132/0.1038, allocations: 6.932 MB / 268.4 MB, free: 6.41 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.663e-06/1.663e-06, allocations: 0 / 269.7 MB, free: 5.117 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.478e-05, allocations: 6.25 kB / 269.7 MB, free: 5.109 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.1677/0.1677, allocations: 8.956 MB / 278.7 MB, free: 1.035 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1508/0.3186, allocations: 142.4 MB / 421.1 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.3203, allocations: 27.88 kB / 421.1 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002783/0.3231, allocations: 1.041 MB / 422.1 MB, free: 9.637 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002324/0.3254, allocations: 0.8994 MB / 423 MB, free: 8.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003281/0.3287, allocations: 1.396 MB / 424.4 MB, free: 7.328 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002741/0.3315, allocations: 2.346 MB / 426.8 MB, free: 4.977 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000555/0.332, allocations: 448.2 kB / 427.2 MB, free: 4.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001314/0.3333, allocations: 1.342 MB / 428.5 MB, free: 3.125 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007694/0.3341, allocations: 0.6856 MB / 429.2 MB, free: 2.438 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002257/0.3343, allocations: 212 kB / 429.4 MB, free: 2.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002558/0.3369, allocations: 1.186 MB / 430.6 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003997/0.3373, allocations: 0.5685 MB / 431.2 MB, free: 484 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.2449/0.5822, allocations: 0.6101 MB / 431.8 MB, free: 7.152 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006422/0.5886, allocations: 2.886 MB / 434.7 MB, free: 6.988 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.136e-05/0.5886, allocations: 3.75 kB / 434.7 MB, free: 6.988 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5886, allocations: 0 / 434.7 MB, free: 6.988 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.003e-05/0.5887, allocations: 0 / 434.7 MB, free: 6.988 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.005934/0.5946, allocations: 3.079 MB / 437.8 MB, free: 5.777 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.5947, allocations: 10.81 kB / 437.8 MB, free: 5.777 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001868/0.5965, allocations: 1.009 MB / 438.8 MB, free: 5.664 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.598, allocations: 0.8521 MB / 439.6 MB, free: 5.277 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003165/0.5983, allocations: 365.4 kB / 440 MB, free: 5.148 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002226/0.5985, allocations: 198 kB / 440.2 MB, free: 5.145 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002815/0.6013, allocations: 2.535 MB / 442.7 MB, free: 4.895 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.6014, allocations: 192 / 442.7 MB, free: 4.895 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.171e-05/0.6015, allocations: 89.31 kB / 442.8 MB, free: 4.895 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002395/0.6017, allocations: 333.3 kB / 443.1 MB, free: 4.883 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002294/0.604, allocations: 2.901 MB / 446 MB, free: 4.789 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0105/0.6145, allocations: 8.877 MB / 454.9 MB, free: 3.336 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009939/0.6155, allocations: 480.6 kB / 455.4 MB, free: 3.246 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004839/0.616, allocations: 188.8 kB / 455.6 MB, free: 3.238 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007833/0.6168, allocations: 0.5688 MB / 456.1 MB, free: 3.199 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.6168, allocations: 44.66 kB / 456.2 MB, free: 3.156 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 2.956e-06/0.6168, allocations: 0 / 456.2 MB, free: 3.156 MB / 410.7 MB Notification: Performance of matching and sorting (n=102): time 0.01708/0.6339, allocations: 5.331 MB / 461.5 MB, free: 2.531 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00153/0.6354, allocations: 1.853 MB / 463.4 MB, free: 1.098 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009125/0.6363, allocations: 0.9976 MB / 464.4 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002067/0.6365, allocations: 45.31 kB / 464.4 MB, free: 16.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/0.6368, allocations: 0.9188 MB / 465.3 MB, free: 16.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002554/0.6371, allocations: 368.9 kB / 465.7 MB, free: 16.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004499/0.6375, allocations: 277.7 kB / 466 MB, free: 16.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.448e-05/0.6376, allocations: 349.8 kB / 466.3 MB, free: 15.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006698/0.6383, allocations: 253.2 kB / 466.6 MB, free: 15.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007133/0.639, allocations: 476.9 kB / 467 MB, free: 15.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001829/0.6408, allocations: 1.085 MB / 468.1 MB, free: 15.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.6408, allocations: 4.594 kB / 468.1 MB, free: 15.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00248/0.6433, allocations: 1.068 MB / 469.2 MB, free: 15.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.6433, allocations: 8.5 kB / 469.2 MB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.6434, allocations: 7.219 kB / 469.2 MB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004522/0.6438, allocations: 255.1 kB / 469.4 MB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005147/0.649, allocations: 1.187 MB / 470.6 MB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003381/0.6523, allocations: 4.947 MB / 475.6 MB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009647/0.6533, allocations: 49.83 kB / 475.6 MB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000253/0.6536, allocations: 264 kB / 475.9 MB, free: 10.93 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.0009172/0.6545, allocations: 180.7 kB / 476.1 MB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003398/0.6548, allocations: 106.5 kB / 476.2 MB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003199/0.658, allocations: 2.236 MB / 478.4 MB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.658, allocations: 11.41 kB / 478.4 MB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.658, allocations: 0.9062 kB / 478.4 MB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.658, allocations: 3.094 kB / 478.4 MB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004462/0.6625, allocations: 2.961 MB / 481.4 MB, free: 9.828 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.6625, allocations: 7.969 kB / 481.4 MB, free: 9.828 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00266/0.6652, allocations: 0.5964 MB / 482 MB, free: 9.824 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000375/0.6655, allocations: 134 kB / 482.1 MB, free: 9.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008353/0.6664, allocations: 287.7 kB / 482.4 MB, free: 9.711 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.547e-05/0.6664, allocations: 22.95 kB / 482.4 MB, free: 9.711 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003247/0.6697, allocations: 5.395 MB / 487.8 MB, free: 4.848 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001153/0.6708, allocations: 1.574 MB / 489.4 MB, free: 3.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/0.6726, allocations: 1.091 MB / 490.5 MB, free: 3.016 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003076/0.6729, allocations: 28.36 kB / 490.5 MB, free: 3.012 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004148/0.6734, allocations: 33.7 kB / 490.5 MB, free: 3.012 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.6735, allocations: 89.09 kB / 490.6 MB, free: 3.004 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.714e-05/0.6736, allocations: 27.97 kB / 490.6 MB, free: 3.004 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009563/0.6745, allocations: 0.8974 MB / 491.5 MB, free: 2.957 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6745, allocations: 0 / 491.5 MB, free: 2.957 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001938/0.6765, allocations: 0.6546 MB / 492.2 MB, free: 2.934 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.0006751/0.6771, allocations: 406.9 kB / 492.6 MB, free: 2.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002421/0.6796, allocations: 1.152 MB / 493.7 MB, free: 2.441 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.571e-05/0.6796, allocations: 19.09 kB / 493.8 MB, free: 2.441 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00158/0.6812, allocations: 0.8558 MB / 494.6 MB, free: 2.078 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/0.6834, allocations: 2.714 MB / 497.3 MB, free: 15.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/0.6953, allocations: 3.979 MB / 0.4896 GB, free: 12.54 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005967/0.6959, allocations: 490.7 kB / 0.49 GB, free: 12.25 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001367/0.6972, allocations: 347.3 kB / 0.4904 GB, free: 11.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/0.6983, allocations: 378.2 kB / 0.4907 GB, free: 11.68 MB / 442.7 MB Notification: Performance of SimCode: time 2.044e-06/0.6983, allocations: 0.8438 kB / 0.4907 GB, free: 11.68 MB / 442.7 MB Notification: Performance of Templates: time 0.07028/0.7686, allocations: 63.97 MB / 0.5532 GB, free: 15.81 MB / 0.4948 GB " [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.2698445385321975]