Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.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.001413/0.001413, allocations: 92.7 kB / 19.44 MB, free: 328 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.00251/0.00251, allocations: 161.3 kB / 22.76 MB, free: 1.656 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.521/1.521, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.1449/0.1449, allocations: 17.45 MB / 277 MB, free: 11.59 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.Obsolete.Examples.AcidBase.CarbonDioxideInWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater") translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 352.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.221e-05/3.491e-05, allocations: 4.984 kB / 352.8 MB, free: 10.19 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.0105/0.01053, allocations: 6.736 MB / 359.6 MB, free: 3.422 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03155/0.04208, allocations: 20.57 MB / 380.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.04325, allocations: 27.75 kB / 380.2 MB, free: 14.74 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.04486, allocations: 436.5 kB / 380.6 MB, free: 14.31 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006348/0.05121, allocations: 1.986 MB / 382.6 MB, free: 12.31 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009114/0.06032, allocations: 3.067 MB / 385.6 MB, free: 9.227 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003489/0.06381, allocations: 2.191 MB / 387.8 MB, free: 7.027 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001947/0.06576, allocations: 1.08 MB / 388.9 MB, free: 5.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002867/0.06863, allocations: 1.486 MB / 390.4 MB, free: 4.422 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002098/0.07072, allocations: 1.006 MB / 391.4 MB, free: 3.414 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003855/0.07111, allocations: 192 kB / 391.6 MB, free: 3.227 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008159/0.07927, allocations: 2.413 MB / 394 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005825/0.07985, allocations: 486.5 kB / 394.5 MB, free: 340 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.08105, allocations: 0.6978 MB / 395.2 MB, free: 15.63 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01255/0.0936, allocations: 5.153 MB / 400.3 MB, free: 10.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.0936, allocations: 3.984 kB / 400.3 MB, free: 10.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.09361, allocations: 0 / 400.3 MB, free: 10.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.876e-05/0.09363, allocations: 0 / 400.3 MB, free: 10.46 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 368 * Number of variables: 368 Notification: Performance of Generate backend data structure: time 0.005633/0.09927, allocations: 2.349 MB / 402.7 MB, free: 8.062 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.09931, allocations: 12.03 kB / 402.7 MB, free: 8.051 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002256/0.1016, allocations: 0.6498 MB / 403.3 MB, free: 7.398 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/0.1033, allocations: 0.8627 MB / 404.2 MB, free: 6.512 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002303/0.1035, allocations: 214.3 kB / 404.4 MB, free: 6.277 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003041/0.1038, allocations: 148.3 kB / 404.6 MB, free: 6.133 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003843/0.1076, allocations: 2.061 MB / 406.6 MB, free: 4.035 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.14e-05/0.1077, allocations: 4.125 kB / 406.6 MB, free: 4.031 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001932/0.1079, allocations: 64.12 kB / 406.7 MB, free: 3.969 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.454e-05/0.1079, allocations: 36 kB / 406.7 MB, free: 3.934 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00513/0.113, allocations: 2.709 MB / 409.4 MB, free: 1.219 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1702/0.2832, allocations: 5.444 MB / 414.9 MB, free: 62.49 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007463/0.2907, allocations: 2.792 MB / 417.7 MB, free: 61.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/0.2923, allocations: 0.8029 MB / 418.5 MB, free: 61.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0086/0.3009, allocations: 4.101 MB / 422.6 MB, free: 59.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.3009, allocations: 45.62 kB / 422.6 MB, free: 59.68 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009172/0.3018, allocations: 197 kB / 422.8 MB, free: 59.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=117): time 2.945e-06/0.3018, allocations: 0 / 422.8 MB, free: 59.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=140): time 0.01904/0.3209, allocations: 5.217 MB / 428 MB, free: 56.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.3209, allocations: 75.22 kB / 428.1 MB, free: 56.64 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009455/0.3219, allocations: 1.006 MB / 429.1 MB, free: 55.65 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.358e-05/0.322, allocations: 45.7 kB / 429.2 MB, free: 55.6 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003501/0.3223, allocations: 0.6974 MB / 429.8 MB, free: 54.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003419/0.3227, allocations: 0.4972 MB / 430.3 MB, free: 54.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004153/0.3231, allocations: 331.4 kB / 430.7 MB, free: 54.22 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.052e-05/0.3232, allocations: 360.5 kB / 431 MB, free: 53.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008667/0.324, allocations: 0.6598 MB / 431.7 MB, free: 53.2 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.3251, allocations: 1.111 MB / 432.8 MB, free: 51.9 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001945/0.327, allocations: 1.811 MB / 434.6 MB, free: 49.92 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.327, allocations: 4 kB / 434.6 MB, free: 49.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005941/0.333, allocations: 2.491 MB / 437.1 MB, free: 47.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.333, allocations: 12 kB / 437.1 MB, free: 47.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.333, allocations: 16 kB / 437.1 MB, free: 47.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003934/0.3369, allocations: 0.6112 MB / 437.7 MB, free: 46.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.3383, allocations: 415.4 kB / 438.1 MB, free: 46.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004435/0.3427, allocations: 3.609 MB / 441.8 MB, free: 42.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.3439, allocations: 58.48 kB / 441.8 MB, free: 42.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.3441, allocations: 95.95 kB / 441.9 MB, free: 42.43 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (212): * Single equations (assignments): 209 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005133/0.3446, allocations: 330 kB / 442.2 MB, free: 42.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003097/0.3449, allocations: 167.2 kB / 442.4 MB, free: 41.95 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00587/0.3508, allocations: 2.131 MB / 444.5 MB, free: 39.81 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.3508, allocations: 12 kB / 444.5 MB, free: 39.8 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3508, allocations: 4 kB / 444.5 MB, free: 39.8 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.3508, allocations: 7.969 kB / 444.5 MB, free: 39.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006977/0.3578, allocations: 3.168 MB / 447.7 MB, free: 36.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.3578, allocations: 0 / 447.7 MB, free: 36.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.3588, allocations: 271.7 kB / 448 MB, free: 36.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003888/0.3627, allocations: 0.5884 MB / 448.6 MB, free: 35.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/0.3628, allocations: 51.95 kB / 448.6 MB, free: 35.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004053/0.3669, allocations: 3.504 MB / 452.1 MB, free: 32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3669, allocations: 0 / 452.1 MB, free: 32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006397/0.3733, allocations: 2.781 MB / 454.9 MB, free: 29.2 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/0.3735, allocations: 109.5 kB / 455 MB, free: 29.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/0.3737, allocations: 27.94 kB / 455 MB, free: 29.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007523/0.3744, allocations: 35.98 kB / 455.1 MB, free: 29.03 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002745/0.3747, allocations: 121.1 kB / 455.2 MB, free: 28.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.3748, allocations: 63.95 kB / 455.3 MB, free: 28.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005929/0.3754, allocations: 0.6747 MB / 455.9 MB, free: 28.17 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3754, allocations: 0 / 455.9 MB, free: 28.17 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002241/0.3777, allocations: 0.9528 MB / 456.9 MB, free: 27.34 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (solution.temperature,HCO3.logn,H.logn,CO2_liquid.logn,liquidWater.logn,OH.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 (144): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001733/0.3794, allocations: 1.157 MB / 458 MB, free: 26.31 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003111/0.3825, allocations: 1.835 MB / 459.9 MB, free: 24.45 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3825, allocations: 0 / 459.9 MB, free: 24.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001566/0.3841, allocations: 0.9816 MB / 460.9 MB, free: 23.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.3853, allocations: 293.6 kB / 461.1 MB, free: 23.17 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003894/0.3892, allocations: 2.636 MB / 463.8 MB, free: 20.49 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.3896, allocations: 0.5981 MB / 464.4 MB, free: 19.86 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001058/0.3907, allocations: 323.1 kB / 464.7 MB, free: 19.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004335/0.3911, allocations: 209.4 kB / 464.9 MB, free: 19.35 MB / 330.7 MB Notification: Performance of SimCode: time 1.212e-06/0.3911, allocations: 0 / 464.9 MB, free: 19.35 MB / 330.7 MB Notification: Performance of Templates: time 0.0488/0.4399, allocations: 34.48 MB / 499.4 MB, free: 1.145 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.sim & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.1809502160176635]