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.0006685/0.0006685, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009308/0.001599, 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.0006999/0.0006999, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009282/0.001628, 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.9142/0.9142, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07301/0.9872, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.09454/0.09454, allocations: 17.45 MB / 261.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008703/0.1032, allocations: 6.956 MB / 268.4 MB, free: 6.406 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.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 1.473e-06/1.473e-06, allocations: 0 / 269.7 MB, free: 5.129 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.131e-05/1.279e-05, allocations: 6.25 kB / 269.7 MB, free: 5.121 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.11/0.11, allocations: 7.537 MB / 277.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01818/0.1282, allocations: 23.35 MB / 300.6 MB, free: 2.699 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009189/0.1291, allocations: 23.81 kB / 300.6 MB, free: 2.688 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009254/0.13, allocations: 461.5 kB / 301 MB, free: 2.336 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004061/0.1341, allocations: 1.966 MB / 303 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006156/0.1402, allocations: 3.033 MB / 306 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001969/0.1422, allocations: 2.185 MB / 308.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000982/0.1432, allocations: 1.089 MB / 309.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001346/0.1445, allocations: 1.584 MB / 310.9 MB, free: 9.219 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.1456, allocations: 1.013 MB / 311.9 MB, free: 8.203 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000259/0.1459, allocations: 196 kB / 312.1 MB, free: 8.012 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00498/0.1508, allocations: 2.511 MB / 314.6 MB, free: 5.496 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002652/0.1511, allocations: 331 kB / 314.9 MB, free: 5.172 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005471/0.1516, allocations: 0.5381 MB / 315.5 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006097/0.1577, allocations: 4.047 MB / 319.5 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.798e-05/0.1578, allocations: 3.938 kB / 319.5 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1578, allocations: 0 / 319.5 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.408e-05/0.1578, allocations: 4 kB / 319.5 MB, free: 0.5586 MB / 298.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.003041/0.1608, allocations: 2.954 MB / 322.5 MB, free: 13.56 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.1609, allocations: 12.03 kB / 322.5 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.162, allocations: 0.6998 MB / 323.2 MB, free: 12.83 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008521/0.1629, allocations: 0.661 MB / 323.8 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.163, allocations: 222.2 kB / 324.1 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.1632, allocations: 148.3 kB / 324.2 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.1645, allocations: 1.378 MB / 325.6 MB, free: 10.33 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.1645, allocations: 4.125 kB / 325.6 MB, free: 10.33 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.205e-05/0.1646, allocations: 60.12 kB / 325.6 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.1646, allocations: 36 kB / 325.7 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.1658, allocations: 1.198 MB / 326.9 MB, free: 9.023 MB / 314.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.004887/0.1707, allocations: 3.747 MB / 330.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002845/0.1736, allocations: 2.892 MB / 333.5 MB, free: 2.312 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003709/0.1739, allocations: 392.5 kB / 333.9 MB, free: 1.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004287/0.1782, allocations: 3.158 MB / 337.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.1783, allocations: 43.56 kB / 337.1 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004276/0.1787, allocations: 188.3 kB / 337.3 MB, free: 14.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=117): time 2.785e-06/0.1787, allocations: 0 / 337.3 MB, free: 14.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=140): time 0.008072/0.1868, allocations: 3.658 MB / 340.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.1868, allocations: 68.72 kB / 341 MB, free: 10.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005376/0.1873, allocations: 0.7859 MB / 341.8 MB, free: 9.938 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.1874, allocations: 49.7 kB / 341.8 MB, free: 9.883 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.1876, allocations: 0.6152 MB / 342.5 MB, free: 9.254 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004947/0.1881, allocations: 0.4996 MB / 343 MB, free: 8.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000283/0.1884, allocations: 323.3 kB / 343.3 MB, free: 8.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.509e-05/0.1885, allocations: 365.8 kB / 343.6 MB, free: 8.066 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.1888, allocations: 234.7 kB / 343.9 MB, free: 7.836 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004611/0.1892, allocations: 0.689 MB / 344.5 MB, free: 6.957 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008693/0.1901, allocations: 1.105 MB / 345.7 MB, free: 5.656 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.1901, allocations: 4 kB / 345.7 MB, free: 5.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.002176/0.1923, allocations: 1.284 MB / 346.9 MB, free: 4.348 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.1923, allocations: 12 kB / 347 MB, free: 4.336 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.1923, allocations: 12 kB / 347 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001481/0.1938, allocations: 469.5 kB / 347.4 MB, free: 3.859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008842/0.1947, allocations: 0.5032 MB / 347.9 MB, free: 3.355 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002732/0.1974, allocations: 3.005 MB / 350.9 MB, free: 192 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005372/0.198, allocations: 60.02 kB / 351 MB, free: 132 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.1981, allocations: 71.97 kB / 351.1 MB, free: 60 kB / 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.0002973/0.1984, allocations: 224.1 kB / 351.3 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.1985, allocations: 112 kB / 351.4 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00231/0.2008, allocations: 1.271 MB / 352.7 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.2008, allocations: 19.94 kB / 352.7 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2008, allocations: 4 kB / 352.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.2009, allocations: 7.969 kB / 352.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002962/0.2038, allocations: 1.809 MB / 354.5 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.2038, allocations: 0 / 354.5 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006528/0.2045, allocations: 343.5 kB / 354.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.883e-05/0.2046, allocations: 99.2 kB / 354.9 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001406/0.206, allocations: 454 kB / 355.4 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.408e-05/0.206, allocations: 43.97 kB / 355.4 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002241/0.2083, allocations: 2.913 MB / 358.3 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2083, allocations: 4 kB / 358.3 MB, free: 8.543 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/0.2105, allocations: 1.468 MB / 359.8 MB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.2106, allocations: 24 kB / 359.8 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003059/0.2109, allocations: 31.98 kB / 359.9 MB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.211, allocations: 125.1 kB / 360 MB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.208e-05/0.2111, allocations: 43.97 kB / 360 MB, free: 6.824 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002542/0.2114, allocations: 371.3 kB / 360.4 MB, free: 6.461 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.2114, allocations: 0 / 360.4 MB, free: 6.461 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00179/0.2131, allocations: 0.9545 MB / 361.3 MB, free: 5.504 MB / 346.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.001572/0.2147, allocations: 1.21 MB / 362.5 MB, free: 4.289 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.2162, allocations: 1.153 MB / 363.7 MB, free: 3.113 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.876e-05/0.2162, allocations: 21.81 kB / 363.7 MB, free: 3.086 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.2172, allocations: 0.7155 MB / 364.4 MB, free: 2.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007673/0.218, allocations: 423.5 kB / 364.9 MB, free: 1.953 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.2285, allocations: 2.475 MB / 367.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.2287, allocations: 265.9 kB / 367.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009229/0.2297, allocations: 290.6 kB / 367.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006752/0.2303, allocations: 413 kB / 368.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of SimCode: time 1.824e-06/0.2303, allocations: 0 / 368.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of Templates: time 0.0409/0.2712, allocations: 40.06 MB / 408.3 MB, free: 6.738 MB / 394.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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.605971571058035]